Lines Matching refs:ENCRYPT
263 if (ctx->drv_ctx[ENCRYPT]) { in aead_setkey()
264 ret = caam_drv_ctx_update(ctx->drv_ctx[ENCRYPT], in aead_setkey()
363 if (ctx->drv_ctx[ENCRYPT]) { in gcm_setkey()
364 ret = caam_drv_ctx_update(ctx->drv_ctx[ENCRYPT], in gcm_setkey()
467 if (ctx->drv_ctx[ENCRYPT]) { in rfc4106_setkey()
468 ret = caam_drv_ctx_update(ctx->drv_ctx[ENCRYPT], in rfc4106_setkey()
571 if (ctx->drv_ctx[ENCRYPT]) { in rfc4543_setkey()
572 ret = caam_drv_ctx_update(ctx->drv_ctx[ENCRYPT], in rfc4543_setkey()
641 if (ctx->drv_ctx[ENCRYPT]) { in ablkcipher_setkey()
642 ret = caam_drv_ctx_update(ctx->drv_ctx[ENCRYPT], in ablkcipher_setkey()
695 if (ctx->drv_ctx[ENCRYPT]) { in xts_ablkcipher_setkey()
696 ret = caam_drv_ctx_update(ctx->drv_ctx[ENCRYPT], in xts_ablkcipher_setkey()
782 if (type == ENCRYPT) in get_drv_ctx()
905 enum optype op_type = encrypt ? ENCRYPT : DECRYPT; in aead_edesc_alloc()
1209 enum optype op_type = encrypt ? ENCRYPT : DECRYPT; in ablkcipher_edesc_alloc()
2573 ctx->drv_ctx[ENCRYPT] = NULL; in caam_init_common()
2603 caam_drv_ctx_rel(ctx->drv_ctx[ENCRYPT]); in caam_exit_common()