Lines Matching refs:DECRYPT
259 if (ctx->drv_ctx[DECRYPT]) { in aead_setkey()
260 ret = caam_drv_ctx_update(ctx->drv_ctx[DECRYPT], in aead_setkey()
386 if (ctx->drv_ctx[DECRYPT]) { in gcm_setkey()
387 ret = caam_drv_ctx_update(ctx->drv_ctx[DECRYPT], in gcm_setkey()
496 if (ctx->drv_ctx[DECRYPT]) { in rfc4106_setkey()
497 ret = caam_drv_ctx_update(ctx->drv_ctx[DECRYPT], in rfc4106_setkey()
604 if (ctx->drv_ctx[DECRYPT]) { in rfc4543_setkey()
605 ret = caam_drv_ctx_update(ctx->drv_ctx[DECRYPT], in rfc4543_setkey()
651 if (ctx->drv_ctx[DECRYPT]) { in skcipher_setkey()
652 ret = caam_drv_ctx_update(ctx->drv_ctx[DECRYPT], in skcipher_setkey()
772 if (ctx->drv_ctx[DECRYPT]) { in xts_skcipher_setkey()
773 ret = caam_drv_ctx_update(ctx->drv_ctx[DECRYPT], in xts_skcipher_setkey()
959 drv_ctx = get_drv_ctx(ctx, encrypt ? ENCRYPT : DECRYPT); in aead_edesc_alloc()
1263 drv_ctx = get_drv_ctx(ctx, encrypt ? ENCRYPT : DECRYPT); in skcipher_edesc_alloc()
2455 ctx->drv_ctx[DECRYPT] = NULL; in caam_init_common()
2483 caam_drv_ctx_rel(ctx->drv_ctx[DECRYPT]); in caam_exit_common()