Lines Matching full:encrypt
232 flc = &ctx->flc[ENCRYPT]; in aead_set_sh_desc()
246 dma_sync_single_for_device(dev, ctx->flc_dma[ENCRYPT], in aead_set_sh_desc()
347 bool encrypt) in aead_edesc_alloc() argument
378 dst_len = src_len + (encrypt ? authsize : (-authsize)); in aead_edesc_alloc()
423 (encrypt ? authsize : 0); in aead_edesc_alloc()
442 if ((alg->caam.rfc3686 && encrypt) || !alg->caam.geniv) in aead_edesc_alloc()
503 * to skip it when we authenticate or encrypt... in aead_edesc_alloc()
544 (encrypt ? ctx->authsize : (-ctx->authsize)); in aead_edesc_alloc()
596 flc = &ctx->flc[ENCRYPT]; in chachapoly_set_sh_desc()
601 dma_sync_single_for_device(dev, ctx->flc_dma[ENCRYPT], in chachapoly_set_sh_desc()
659 * AES GCM encrypt shared descriptor in gcm_set_sh_desc()
671 flc = &ctx->flc[ENCRYPT]; in gcm_set_sh_desc()
675 dma_sync_single_for_device(dev, ctx->flc_dma[ENCRYPT], in gcm_set_sh_desc()
753 * RFC4106 encrypt shared descriptor in rfc4106_set_sh_desc()
764 flc = &ctx->flc[ENCRYPT]; in rfc4106_set_sh_desc()
769 dma_sync_single_for_device(dev, ctx->flc_dma[ENCRYPT], in rfc4106_set_sh_desc()
854 * RFC4543 encrypt shared descriptor in rfc4543_set_sh_desc()
865 flc = &ctx->flc[ENCRYPT]; in rfc4543_set_sh_desc()
870 dma_sync_single_for_device(dev, ctx->flc_dma[ENCRYPT], in rfc4543_set_sh_desc()
958 flc = &ctx->flc[ENCRYPT]; in skcipher_setkey()
963 dma_sync_single_for_device(dev, ctx->flc_dma[ENCRYPT], in skcipher_setkey()
1086 flc = &ctx->flc[ENCRYPT]; in xts_skcipher_setkey()
1090 dma_sync_single_for_device(dev, ctx->flc_dma[ENCRYPT], in xts_skcipher_setkey()
1333 caam_req->flc = &ctx->flc[ENCRYPT]; in aead_encrypt()
1334 caam_req->flc_dma = ctx->flc_dma[ENCRYPT]; in aead_encrypt()
1505 caam_req->flc = &ctx->flc[ENCRYPT]; in skcipher_encrypt()
1506 caam_req->flc_dma = ctx->flc_dma[ENCRYPT]; in skcipher_encrypt()
1674 .encrypt = skcipher_encrypt,
1690 .encrypt = skcipher_encrypt,
1706 .encrypt = skcipher_encrypt,
1722 .encrypt = skcipher_encrypt,
1740 .encrypt = skcipher_encrypt,
1764 .encrypt = skcipher_encrypt,
1780 .encrypt = skcipher_encrypt,
1800 .encrypt = ipsec_gcm_encrypt,
1819 .encrypt = ipsec_gcm_encrypt,
1839 .encrypt = aead_encrypt,
1860 .encrypt = aead_encrypt,
1882 .encrypt = aead_encrypt,
1904 .encrypt = aead_encrypt,
1926 .encrypt = aead_encrypt,
1948 .encrypt = aead_encrypt,
1970 .encrypt = aead_encrypt,
1992 .encrypt = aead_encrypt,
2015 .encrypt = aead_encrypt,
2037 .encrypt = aead_encrypt,
2060 .encrypt = aead_encrypt,
2082 .encrypt = aead_encrypt,
2105 .encrypt = aead_encrypt,
2127 .encrypt = aead_encrypt,
2149 .encrypt = aead_encrypt,
2172 .encrypt = aead_encrypt,
2195 .encrypt = aead_encrypt,
2218 .encrypt = aead_encrypt,
2241 .encrypt = aead_encrypt,
2264 .encrypt = aead_encrypt,
2287 .encrypt = aead_encrypt,
2310 .encrypt = aead_encrypt,
2333 .encrypt = aead_encrypt,
2356 .encrypt = aead_encrypt,
2379 .encrypt = aead_encrypt,
2401 .encrypt = aead_encrypt,
2423 .encrypt = aead_encrypt,
2445 .encrypt = aead_encrypt,
2467 .encrypt = aead_encrypt,
2489 .encrypt = aead_encrypt,
2512 .encrypt = aead_encrypt,
2534 .encrypt = aead_encrypt,
2557 .encrypt = aead_encrypt,
2579 .encrypt = aead_encrypt,
2602 .encrypt = aead_encrypt,
2624 .encrypt = aead_encrypt,
2647 .encrypt = aead_encrypt,
2670 .encrypt = aead_encrypt,
2694 .encrypt = aead_encrypt,
2719 .encrypt = aead_encrypt,
2743 .encrypt = aead_encrypt,
2768 .encrypt = aead_encrypt,
2792 .encrypt = aead_encrypt,
2817 .encrypt = aead_encrypt,
2841 .encrypt = aead_encrypt,
2866 .encrypt = aead_encrypt,
2890 .encrypt = aead_encrypt,
2914 .encrypt = aead_encrypt,
2937 .encrypt = aead_encrypt,
2961 .encrypt = aead_encrypt,
2985 .encrypt = aead_encrypt,