Lines Matching refs:skreq
188 SKCIPHER_REQUEST_ON_STACK(skreq, ctx->null); in crypto_authenc_copy_assoc()
190 skcipher_request_set_tfm(skreq, ctx->null); in crypto_authenc_copy_assoc()
191 skcipher_request_set_callback(skreq, aead_request_flags(req), in crypto_authenc_copy_assoc()
193 skcipher_request_set_crypt(skreq, req->src, req->dst, req->assoclen, in crypto_authenc_copy_assoc()
196 return crypto_skcipher_encrypt(skreq); in crypto_authenc_copy_assoc()
208 struct skcipher_request *skreq = (void *)(areq_ctx->tail + in crypto_authenc_encrypt() local
224 skcipher_request_set_tfm(skreq, enc); in crypto_authenc_encrypt()
225 skcipher_request_set_callback(skreq, aead_request_flags(req), in crypto_authenc_encrypt()
227 skcipher_request_set_crypt(skreq, src, dst, cryptlen, req->iv); in crypto_authenc_encrypt()
229 err = crypto_skcipher_encrypt(skreq); in crypto_authenc_encrypt()
245 struct skcipher_request *skreq = (void *)(areq_ctx->tail + in crypto_authenc_decrypt_tail() local
262 skcipher_request_set_tfm(skreq, ctx->enc); in crypto_authenc_decrypt_tail()
263 skcipher_request_set_callback(skreq, aead_request_flags(req), in crypto_authenc_decrypt_tail()
265 skcipher_request_set_crypt(skreq, src, dst, in crypto_authenc_decrypt_tail()
268 return crypto_skcipher_decrypt(skreq); in crypto_authenc_decrypt_tail()