Lines Matching refs:abreq
53 struct ablkcipher_request abreq; member
350 struct ablkcipher_request *abreq = &pctx->abreq; in crypto_ccm_encrypt() local
369 ablkcipher_request_set_tfm(abreq, ctx->ctr); in crypto_ccm_encrypt()
370 ablkcipher_request_set_callback(abreq, pctx->flags, in crypto_ccm_encrypt()
372 ablkcipher_request_set_crypt(abreq, pctx->src, dst, cryptlen + 16, iv); in crypto_ccm_encrypt()
373 err = crypto_ablkcipher_encrypt(abreq); in crypto_ccm_encrypt()
410 struct ablkcipher_request *abreq = &pctx->abreq; in crypto_ccm_decrypt() local
432 ablkcipher_request_set_tfm(abreq, ctx->ctr); in crypto_ccm_decrypt()
433 ablkcipher_request_set_callback(abreq, pctx->flags, in crypto_ccm_decrypt()
435 ablkcipher_request_set_crypt(abreq, pctx->src, dst, cryptlen + 16, iv); in crypto_ccm_decrypt()
436 err = crypto_ablkcipher_decrypt(abreq); in crypto_ccm_decrypt()