Lines Matching refs:abreq
193 struct ablkcipher_request *abreq; in authenc_esn_verify_ahash_update_done() local
236 abreq = aead_request_ctx(req); in authenc_esn_verify_ahash_update_done()
237 ablkcipher_request_set_tfm(abreq, ctx->enc); in authenc_esn_verify_ahash_update_done()
238 ablkcipher_request_set_callback(abreq, aead_request_flags(req), in authenc_esn_verify_ahash_update_done()
240 ablkcipher_request_set_crypt(abreq, req->src, req->dst, in authenc_esn_verify_ahash_update_done()
243 err = crypto_ablkcipher_decrypt(abreq); in authenc_esn_verify_ahash_update_done()
254 struct ablkcipher_request *abreq; in authenc_esn_verify_ahash_update_done2() local
285 abreq = aead_request_ctx(req); in authenc_esn_verify_ahash_update_done2()
286 ablkcipher_request_set_tfm(abreq, ctx->enc); in authenc_esn_verify_ahash_update_done2()
287 ablkcipher_request_set_callback(abreq, aead_request_flags(req), in authenc_esn_verify_ahash_update_done2()
289 ablkcipher_request_set_crypt(abreq, req->src, req->dst, in authenc_esn_verify_ahash_update_done2()
292 err = crypto_ablkcipher_decrypt(abreq); in authenc_esn_verify_ahash_update_done2()
304 struct ablkcipher_request *abreq; in authenc_esn_verify_ahash_done() local
325 abreq = aead_request_ctx(req); in authenc_esn_verify_ahash_done()
326 ablkcipher_request_set_tfm(abreq, ctx->enc); in authenc_esn_verify_ahash_done()
327 ablkcipher_request_set_callback(abreq, aead_request_flags(req), in authenc_esn_verify_ahash_done()
329 ablkcipher_request_set_crypt(abreq, req->src, req->dst, in authenc_esn_verify_ahash_done()
332 err = crypto_ablkcipher_decrypt(abreq); in authenc_esn_verify_ahash_done()
460 struct ablkcipher_request *abreq = aead_request_ctx(areq); in crypto_authenc_esn_encrypt_done() local
461 u8 *iv = (u8 *)(abreq + 1) + in crypto_authenc_esn_encrypt_done()
478 struct ablkcipher_request *abreq = (void *)(areq_ctx->tail in crypto_authenc_esn_encrypt() local
480 u8 *iv = (u8 *)abreq - crypto_ablkcipher_ivsize(enc); in crypto_authenc_esn_encrypt()
483 ablkcipher_request_set_tfm(abreq, enc); in crypto_authenc_esn_encrypt()
484 ablkcipher_request_set_callback(abreq, aead_request_flags(req), in crypto_authenc_esn_encrypt()
486 ablkcipher_request_set_crypt(abreq, req->src, dst, cryptlen, req->iv); in crypto_authenc_esn_encrypt()
490 err = crypto_ablkcipher_encrypt(abreq); in crypto_authenc_esn_encrypt()
617 struct ablkcipher_request *abreq = aead_request_ctx(req); in crypto_authenc_esn_decrypt() local
631 ablkcipher_request_set_tfm(abreq, ctx->enc); in crypto_authenc_esn_decrypt()
632 ablkcipher_request_set_callback(abreq, aead_request_flags(req), in crypto_authenc_esn_decrypt()
634 ablkcipher_request_set_crypt(abreq, req->src, req->dst, cryptlen, iv); in crypto_authenc_esn_decrypt()
636 return crypto_ablkcipher_decrypt(abreq); in crypto_authenc_esn_decrypt()