Searched refs:crt_prikey (Results 1 – 1 of 1) sorted by relevance
| /linux/drivers/crypto/hisilicon/hpre/ |
| H A D | hpre_crypto.c | 76 char *crt_prikey; member 940 ctx->rsa.crt_prikey = dma_alloc_coherent(dev, hlf_ksz * HPRE_CRT_PRMS, in hpre_rsa_setkey_crt() 943 if (!ctx->rsa.crt_prikey) in hpre_rsa_setkey_crt() 946 ret = hpre_crt_para_get(ctx->rsa.crt_prikey, hlf_ksz, in hpre_rsa_setkey_crt() 952 ret = hpre_crt_para_get(ctx->rsa.crt_prikey + offset, hlf_ksz, in hpre_rsa_setkey_crt() 958 ret = hpre_crt_para_get(ctx->rsa.crt_prikey + offset, hlf_ksz, in hpre_rsa_setkey_crt() 964 ret = hpre_crt_para_get(ctx->rsa.crt_prikey + offset, hlf_ksz, in hpre_rsa_setkey_crt() 970 ret = hpre_crt_para_get(ctx->rsa.crt_prikey + offset, hlf_ksz, in hpre_rsa_setkey_crt() 981 memzero_explicit(ctx->rsa.crt_prikey, offset); in hpre_rsa_setkey_crt() 982 dma_free_coherent(dev, hlf_ksz * HPRE_CRT_PRMS, ctx->rsa.crt_prikey, in hpre_rsa_setkey_crt() [all …]
|