Lines Matching refs:skreq
180 SYNC_SKCIPHER_REQUEST_ON_STACK(skreq, ctx->null); in crypto_authenc_copy_assoc()
182 skcipher_request_set_sync_tfm(skreq, ctx->null); in crypto_authenc_copy_assoc()
183 skcipher_request_set_callback(skreq, aead_request_flags(req), in crypto_authenc_copy_assoc()
185 skcipher_request_set_crypt(skreq, req->src, req->dst, req->assoclen, in crypto_authenc_copy_assoc()
188 return crypto_skcipher_encrypt(skreq); in crypto_authenc_copy_assoc()
200 struct skcipher_request *skreq = (void *)(areq_ctx->tail + in crypto_authenc_encrypt() local
216 skcipher_request_set_tfm(skreq, enc); in crypto_authenc_encrypt()
217 skcipher_request_set_callback(skreq, aead_request_flags(req), in crypto_authenc_encrypt()
219 skcipher_request_set_crypt(skreq, src, dst, cryptlen, req->iv); in crypto_authenc_encrypt()
221 err = crypto_skcipher_encrypt(skreq); in crypto_authenc_encrypt()
237 struct skcipher_request *skreq = (void *)(areq_ctx->tail + in crypto_authenc_decrypt_tail() local
254 skcipher_request_set_tfm(skreq, ctx->enc); in crypto_authenc_decrypt_tail()
255 skcipher_request_set_callback(skreq, flags, in crypto_authenc_decrypt_tail()
257 skcipher_request_set_crypt(skreq, src, dst, in crypto_authenc_decrypt_tail()
260 return crypto_skcipher_decrypt(skreq); in crypto_authenc_decrypt_tail()