Lines Matching refs:abreq
176 struct ablkcipher_request *abreq; in authenc_verify_ahash_update_done() local
207 abreq = aead_request_ctx(req); in authenc_verify_ahash_update_done()
208 ablkcipher_request_set_tfm(abreq, ctx->enc); in authenc_verify_ahash_update_done()
209 ablkcipher_request_set_callback(abreq, aead_request_flags(req), in authenc_verify_ahash_update_done()
211 ablkcipher_request_set_crypt(abreq, req->src, req->dst, in authenc_verify_ahash_update_done()
214 err = crypto_ablkcipher_decrypt(abreq); in authenc_verify_ahash_update_done()
225 struct ablkcipher_request *abreq; in authenc_verify_ahash_done() local
246 abreq = aead_request_ctx(req); in authenc_verify_ahash_done()
247 ablkcipher_request_set_tfm(abreq, ctx->enc); in authenc_verify_ahash_done()
248 ablkcipher_request_set_callback(abreq, aead_request_flags(req), in authenc_verify_ahash_done()
250 ablkcipher_request_set_crypt(abreq, req->src, req->dst, in authenc_verify_ahash_done()
253 err = crypto_ablkcipher_decrypt(abreq); in authenc_verify_ahash_done()
384 struct ablkcipher_request *abreq = (void *)(areq_ctx->tail in crypto_authenc_encrypt_done() local
386 u8 *iv = (u8 *)abreq - crypto_ablkcipher_ivsize(ctx->enc); in crypto_authenc_encrypt_done()
402 struct ablkcipher_request *abreq = (void *)(areq_ctx->tail in crypto_authenc_encrypt() local
404 u8 *iv = (u8 *)abreq - crypto_ablkcipher_ivsize(enc); in crypto_authenc_encrypt()
407 ablkcipher_request_set_tfm(abreq, enc); in crypto_authenc_encrypt()
408 ablkcipher_request_set_callback(abreq, aead_request_flags(req), in crypto_authenc_encrypt()
410 ablkcipher_request_set_crypt(abreq, req->src, dst, cryptlen, req->iv); in crypto_authenc_encrypt()
414 err = crypto_ablkcipher_encrypt(abreq); in crypto_authenc_encrypt()
525 struct ablkcipher_request *abreq = aead_request_ctx(req); in crypto_authenc_decrypt() local
539 ablkcipher_request_set_tfm(abreq, ctx->enc); in crypto_authenc_decrypt()
540 ablkcipher_request_set_callback(abreq, aead_request_flags(req), in crypto_authenc_decrypt()
542 ablkcipher_request_set_crypt(abreq, req->src, req->dst, cryptlen, iv); in crypto_authenc_decrypt()
544 return crypto_ablkcipher_decrypt(abreq); in crypto_authenc_decrypt()