Lines Matching refs:crt_prikey
75 char *crt_prikey; member
991 ctx->rsa.crt_prikey = dma_alloc_coherent(dev, hlf_ksz * HPRE_CRT_PRMS, in hpre_rsa_setkey_crt()
994 if (!ctx->rsa.crt_prikey) in hpre_rsa_setkey_crt()
997 ret = hpre_crt_para_get(ctx->rsa.crt_prikey, hlf_ksz, in hpre_rsa_setkey_crt()
1003 ret = hpre_crt_para_get(ctx->rsa.crt_prikey + offset, hlf_ksz, in hpre_rsa_setkey_crt()
1009 ret = hpre_crt_para_get(ctx->rsa.crt_prikey + offset, hlf_ksz, in hpre_rsa_setkey_crt()
1015 ret = hpre_crt_para_get(ctx->rsa.crt_prikey + offset, hlf_ksz, in hpre_rsa_setkey_crt()
1021 ret = hpre_crt_para_get(ctx->rsa.crt_prikey + offset, hlf_ksz, in hpre_rsa_setkey_crt()
1032 memzero_explicit(ctx->rsa.crt_prikey, offset); in hpre_rsa_setkey_crt()
1033 dma_free_coherent(dev, hlf_ksz * HPRE_CRT_PRMS, ctx->rsa.crt_prikey, in hpre_rsa_setkey_crt()
1035 ctx->rsa.crt_prikey = NULL; in hpre_rsa_setkey_crt()
1056 if (ctx->rsa.crt_prikey) { in hpre_rsa_clear_ctx()
1057 memzero_explicit(ctx->rsa.crt_prikey, in hpre_rsa_clear_ctx()
1060 ctx->rsa.crt_prikey, ctx->rsa.dma_crt_prikey); in hpre_rsa_clear_ctx()
1061 ctx->rsa.crt_prikey = NULL; in hpre_rsa_clear_ctx()