Lines Matching refs:skreq
171 SYNC_SKCIPHER_REQUEST_ON_STACK(skreq, ctx->null); in crypto_authenc_esn_copy()
173 skcipher_request_set_sync_tfm(skreq, ctx->null); in crypto_authenc_esn_copy()
174 skcipher_request_set_callback(skreq, aead_request_flags(req), in crypto_authenc_esn_copy()
176 skcipher_request_set_crypt(skreq, req->src, req->dst, len, NULL); in crypto_authenc_esn_copy()
178 return crypto_skcipher_encrypt(skreq); in crypto_authenc_esn_copy()
186 struct skcipher_request *skreq = (void *)(areq_ctx->tail + in crypto_authenc_esn_encrypt() local
207 skcipher_request_set_tfm(skreq, enc); in crypto_authenc_esn_encrypt()
208 skcipher_request_set_callback(skreq, aead_request_flags(req), in crypto_authenc_esn_encrypt()
210 skcipher_request_set_crypt(skreq, src, dst, cryptlen, req->iv); in crypto_authenc_esn_encrypt()
212 err = crypto_skcipher_encrypt(skreq); in crypto_authenc_esn_encrypt()
226 struct skcipher_request *skreq = (void *)(areq_ctx->tail + in crypto_authenc_esn_decrypt_tail() local
253 skcipher_request_set_tfm(skreq, ctx->enc); in crypto_authenc_esn_decrypt_tail()
254 skcipher_request_set_callback(skreq, flags, in crypto_authenc_esn_decrypt_tail()
256 skcipher_request_set_crypt(skreq, dst, dst, cryptlen, req->iv); in crypto_authenc_esn_decrypt_tail()
258 return crypto_skcipher_decrypt(skreq); in crypto_authenc_esn_decrypt_tail()