Lines Matching refs:skreq
169 SYNC_SKCIPHER_REQUEST_ON_STACK(skreq, ctx->null); in crypto_authenc_esn_copy()
171 skcipher_request_set_sync_tfm(skreq, ctx->null); in crypto_authenc_esn_copy()
172 skcipher_request_set_callback(skreq, aead_request_flags(req), in crypto_authenc_esn_copy()
174 skcipher_request_set_crypt(skreq, req->src, req->dst, len, NULL); in crypto_authenc_esn_copy()
176 return crypto_skcipher_encrypt(skreq); in crypto_authenc_esn_copy()
184 struct skcipher_request *skreq = (void *)(areq_ctx->tail + in crypto_authenc_esn_encrypt() local
205 skcipher_request_set_tfm(skreq, enc); in crypto_authenc_esn_encrypt()
206 skcipher_request_set_callback(skreq, aead_request_flags(req), in crypto_authenc_esn_encrypt()
208 skcipher_request_set_crypt(skreq, src, dst, cryptlen, req->iv); in crypto_authenc_esn_encrypt()
210 err = crypto_skcipher_encrypt(skreq); in crypto_authenc_esn_encrypt()
224 struct skcipher_request *skreq = (void *)(areq_ctx->tail + in crypto_authenc_esn_decrypt_tail() local
251 skcipher_request_set_tfm(skreq, ctx->enc); in crypto_authenc_esn_decrypt_tail()
252 skcipher_request_set_callback(skreq, flags, in crypto_authenc_esn_decrypt_tail()
254 skcipher_request_set_crypt(skreq, dst, dst, cryptlen, req->iv); in crypto_authenc_esn_decrypt_tail()
256 return crypto_skcipher_decrypt(skreq); in crypto_authenc_esn_decrypt_tail()