Lines Matching refs:DECRYPT
267 if (ctx->drv_ctx[DECRYPT]) { in aead_setkey()
268 ret = caam_drv_ctx_update(ctx->drv_ctx[DECRYPT], in aead_setkey()
391 if (ctx->drv_ctx[DECRYPT]) { in gcm_setkey()
392 ret = caam_drv_ctx_update(ctx->drv_ctx[DECRYPT], in gcm_setkey()
499 if (ctx->drv_ctx[DECRYPT]) { in rfc4106_setkey()
500 ret = caam_drv_ctx_update(ctx->drv_ctx[DECRYPT], in rfc4106_setkey()
605 if (ctx->drv_ctx[DECRYPT]) { in rfc4543_setkey()
606 ret = caam_drv_ctx_update(ctx->drv_ctx[DECRYPT], in rfc4543_setkey()
652 if (ctx->drv_ctx[DECRYPT]) { in skcipher_setkey()
653 ret = caam_drv_ctx_update(ctx->drv_ctx[DECRYPT], in skcipher_setkey()
773 if (ctx->drv_ctx[DECRYPT]) { in xts_skcipher_setkey()
774 ret = caam_drv_ctx_update(ctx->drv_ctx[DECRYPT], in xts_skcipher_setkey()
957 drv_ctx = get_drv_ctx(ctx, encrypt ? ENCRYPT : DECRYPT); in aead_edesc_alloc()
1261 drv_ctx = get_drv_ctx(ctx, encrypt ? ENCRYPT : DECRYPT); in skcipher_edesc_alloc()
2484 ctx->drv_ctx[DECRYPT] = NULL; in caam_init_common()
2535 caam_drv_ctx_rel(ctx->drv_ctx[DECRYPT]); in caam_exit_common()