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()
372 if (ctx->drv_ctx[DECRYPT]) { in gcm_setkey()
373 ret = caam_drv_ctx_update(ctx->drv_ctx[DECRYPT], in gcm_setkey()
476 if (ctx->drv_ctx[DECRYPT]) { in rfc4106_setkey()
477 ret = caam_drv_ctx_update(ctx->drv_ctx[DECRYPT], in rfc4106_setkey()
580 if (ctx->drv_ctx[DECRYPT]) { in rfc4543_setkey()
581 ret = caam_drv_ctx_update(ctx->drv_ctx[DECRYPT], in rfc4543_setkey()
650 if (ctx->drv_ctx[DECRYPT]) { in ablkcipher_setkey()
651 ret = caam_drv_ctx_update(ctx->drv_ctx[DECRYPT], in ablkcipher_setkey()
704 if (ctx->drv_ctx[DECRYPT]) { in xts_ablkcipher_setkey()
705 ret = caam_drv_ctx_update(ctx->drv_ctx[DECRYPT], in xts_ablkcipher_setkey()
784 else if (type == DECRYPT) in get_drv_ctx()
905 enum optype op_type = encrypt ? ENCRYPT : DECRYPT; in aead_edesc_alloc()
1185 if (edesc->drv_req.drv_ctx->op_type != DECRYPT) in ablkcipher_done()
1209 enum optype op_type = encrypt ? ENCRYPT : DECRYPT; in ablkcipher_edesc_alloc()
2574 ctx->drv_ctx[DECRYPT] = NULL; in caam_init_common()
2604 caam_drv_ctx_rel(ctx->drv_ctx[DECRYPT]); in caam_exit_common()