Lines Matching refs:abreq
47 struct ablkcipher_request abreq; member
308 struct ablkcipher_request *abreq = &pctx->abreq; in crypto_ccm_encrypt() local
342 ablkcipher_request_set_tfm(abreq, ctx->ctr); in crypto_ccm_encrypt()
343 ablkcipher_request_set_callback(abreq, pctx->flags, in crypto_ccm_encrypt()
345 ablkcipher_request_set_crypt(abreq, pctx->src, dst, cryptlen + 16, iv); in crypto_ccm_encrypt()
346 err = crypto_ablkcipher_encrypt(abreq); in crypto_ccm_encrypt()
378 struct ablkcipher_request *abreq = &pctx->abreq; in crypto_ccm_decrypt() local
413 ablkcipher_request_set_tfm(abreq, ctx->ctr); in crypto_ccm_decrypt()
414 ablkcipher_request_set_callback(abreq, pctx->flags, in crypto_ccm_decrypt()
416 ablkcipher_request_set_crypt(abreq, pctx->src, dst, cryptlen + 16, iv); in crypto_ccm_decrypt()
417 err = crypto_ablkcipher_decrypt(abreq); in crypto_ccm_decrypt()