Lines Matching refs:skreq
191 SYNC_SKCIPHER_REQUEST_ON_STACK(skreq, ctx->null); in crypto_authenc_copy_assoc()
193 skcipher_request_set_sync_tfm(skreq, ctx->null); in crypto_authenc_copy_assoc()
194 skcipher_request_set_callback(skreq, aead_request_flags(req), in crypto_authenc_copy_assoc()
196 skcipher_request_set_crypt(skreq, req->src, req->dst, req->assoclen, in crypto_authenc_copy_assoc()
199 return crypto_skcipher_encrypt(skreq); in crypto_authenc_copy_assoc()
211 struct skcipher_request *skreq = (void *)(areq_ctx->tail + in crypto_authenc_encrypt() local
227 skcipher_request_set_tfm(skreq, enc); in crypto_authenc_encrypt()
228 skcipher_request_set_callback(skreq, aead_request_flags(req), in crypto_authenc_encrypt()
230 skcipher_request_set_crypt(skreq, src, dst, cryptlen, req->iv); in crypto_authenc_encrypt()
232 err = crypto_skcipher_encrypt(skreq); in crypto_authenc_encrypt()
248 struct skcipher_request *skreq = (void *)(areq_ctx->tail + in crypto_authenc_decrypt_tail() local
265 skcipher_request_set_tfm(skreq, ctx->enc); in crypto_authenc_decrypt_tail()
266 skcipher_request_set_callback(skreq, aead_request_flags(req), in crypto_authenc_decrypt_tail()
268 skcipher_request_set_crypt(skreq, src, dst, in crypto_authenc_decrypt_tail()
271 return crypto_skcipher_decrypt(skreq); in crypto_authenc_decrypt_tail()