Lines Matching refs:skreq
186 SKCIPHER_REQUEST_ON_STACK(skreq, ctx->null); in crypto_authenc_esn_copy()
188 skcipher_request_set_tfm(skreq, ctx->null); in crypto_authenc_esn_copy()
189 skcipher_request_set_callback(skreq, aead_request_flags(req), in crypto_authenc_esn_copy()
191 skcipher_request_set_crypt(skreq, req->src, req->dst, len, NULL); in crypto_authenc_esn_copy()
193 return crypto_skcipher_encrypt(skreq); in crypto_authenc_esn_copy()
201 struct skcipher_request *skreq = (void *)(areq_ctx->tail + in crypto_authenc_esn_encrypt() local
222 skcipher_request_set_tfm(skreq, enc); in crypto_authenc_esn_encrypt()
223 skcipher_request_set_callback(skreq, aead_request_flags(req), in crypto_authenc_esn_encrypt()
225 skcipher_request_set_crypt(skreq, src, dst, cryptlen, req->iv); in crypto_authenc_esn_encrypt()
227 err = crypto_skcipher_encrypt(skreq); in crypto_authenc_esn_encrypt()
241 struct skcipher_request *skreq = (void *)(areq_ctx->tail + in crypto_authenc_esn_decrypt_tail() local
268 skcipher_request_set_tfm(skreq, ctx->enc); in crypto_authenc_esn_decrypt_tail()
269 skcipher_request_set_callback(skreq, flags, in crypto_authenc_esn_decrypt_tail()
271 skcipher_request_set_crypt(skreq, dst, dst, cryptlen, req->iv); in crypto_authenc_esn_decrypt_tail()
273 return crypto_skcipher_decrypt(skreq); in crypto_authenc_esn_decrypt_tail()