Home
last modified time | relevance | path

Searched refs:crt_g2_mode (Results 1 - 2 of 2) sorted by relevance

/kernel/linux/linux-5.10/drivers/crypto/hisilicon/hpre/
H A Dhpre_crypto.c78 bool crt_g2_mode; member
331 ctx->crt_g2_mode = false; in hpre_ctx_set()
345 ctx->crt_g2_mode = false; in hpre_ctx_clear()
539 if (ctx->crt_g2_mode && !req->src) in hpre_dh_compute_value()
599 ctx->crt_g2_mode = true; in hpre_dh_set_params()
789 if (ctx->crt_g2_mode) { in hpre_rsa_dec()
944 ctx->crt_g2_mode = true; in hpre_rsa_setkey_crt()
954 ctx->crt_g2_mode = false; in hpre_rsa_setkey_crt()
/kernel/linux/linux-6.6/drivers/crypto/hisilicon/hpre/
H A Dhpre_crypto.c121 bool crt_g2_mode; member
396 ctx->crt_g2_mode = false; in hpre_ctx_set()
410 ctx->crt_g2_mode = false; in hpre_ctx_clear()
615 if (ctx->crt_g2_mode && !req->src) in hpre_dh_compute_value()
675 ctx->crt_g2_mode = true; in hpre_dh_set_params()
866 if (ctx->crt_g2_mode) { in hpre_rsa_dec()
1021 ctx->crt_g2_mode = true; in hpre_rsa_setkey_crt()
1031 ctx->crt_g2_mode = false; in hpre_rsa_setkey_crt()

Completed in 5 milliseconds