Lines Matching refs:DECRYPT
272 if (ctx->drv_ctx[DECRYPT]) { in aead_setkey()
273 ret = caam_drv_ctx_update(ctx->drv_ctx[DECRYPT], in aead_setkey()
396 if (ctx->drv_ctx[DECRYPT]) { in gcm_setkey()
397 ret = caam_drv_ctx_update(ctx->drv_ctx[DECRYPT], in gcm_setkey()
504 if (ctx->drv_ctx[DECRYPT]) { in rfc4106_setkey()
505 ret = caam_drv_ctx_update(ctx->drv_ctx[DECRYPT], in rfc4106_setkey()
610 if (ctx->drv_ctx[DECRYPT]) { in rfc4543_setkey()
611 ret = caam_drv_ctx_update(ctx->drv_ctx[DECRYPT], in rfc4543_setkey()
657 if (ctx->drv_ctx[DECRYPT]) { in skcipher_setkey()
658 ret = caam_drv_ctx_update(ctx->drv_ctx[DECRYPT], in skcipher_setkey()
778 if (ctx->drv_ctx[DECRYPT]) { in xts_skcipher_setkey()
779 ret = caam_drv_ctx_update(ctx->drv_ctx[DECRYPT], in xts_skcipher_setkey()
962 drv_ctx = get_drv_ctx(ctx, encrypt ? ENCRYPT : DECRYPT); in aead_edesc_alloc()
1272 drv_ctx = get_drv_ctx(ctx, encrypt ? ENCRYPT : DECRYPT); in skcipher_edesc_alloc()
2500 ctx->drv_ctx[DECRYPT] = NULL; in caam_init_common()
2551 caam_drv_ctx_rel(ctx->drv_ctx[DECRYPT]); in caam_exit_common()