Home
last modified time | relevance | path

Searched refs:hlf_ksz (Results 1 – 1 of 1) sorted by relevance

/linux-6.12.1/drivers/crypto/hisilicon/hpre/
Dhpre_crypto.c986 unsigned int hlf_ksz = ctx->key_sz >> 1; in hpre_rsa_setkey_crt() local
991 ctx->rsa.crt_prikey = dma_alloc_coherent(dev, hlf_ksz * HPRE_CRT_PRMS, in hpre_rsa_setkey_crt()
997 ret = hpre_crt_para_get(ctx->rsa.crt_prikey, hlf_ksz, in hpre_rsa_setkey_crt()
1002 offset = 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()
1008 offset = hlf_ksz * HPRE_CRT_Q; in hpre_rsa_setkey_crt()
1009 ret = hpre_crt_para_get(ctx->rsa.crt_prikey + offset, hlf_ksz, in hpre_rsa_setkey_crt()
1014 offset = hlf_ksz * HPRE_CRT_P; in hpre_rsa_setkey_crt()
1015 ret = hpre_crt_para_get(ctx->rsa.crt_prikey + offset, hlf_ksz, in hpre_rsa_setkey_crt()
1020 offset = hlf_ksz * HPRE_CRT_INV; in hpre_rsa_setkey_crt()
[all …]