Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/crypto/hisilicon/hpre/
H A Dhpre_crypto.c904 unsigned int hlf_ksz = ctx->key_sz >> 1; in hpre_rsa_setkey_crt() local
909 ctx->rsa.crt_prikey = dma_alloc_coherent(dev, hlf_ksz * HPRE_CRT_PRMS, in hpre_rsa_setkey_crt()
915 ret = hpre_crt_para_get(ctx->rsa.crt_prikey, hlf_ksz, in hpre_rsa_setkey_crt()
920 offset = hlf_ksz; in hpre_rsa_setkey_crt()
921 ret = hpre_crt_para_get(ctx->rsa.crt_prikey + offset, hlf_ksz, in hpre_rsa_setkey_crt()
926 offset = hlf_ksz * HPRE_CRT_Q; in hpre_rsa_setkey_crt()
927 ret = hpre_crt_para_get(ctx->rsa.crt_prikey + offset, hlf_ksz, in hpre_rsa_setkey_crt()
932 offset = hlf_ksz * HPRE_CRT_P; in hpre_rsa_setkey_crt()
933 ret = hpre_crt_para_get(ctx->rsa.crt_prikey + offset, hlf_ksz, in hpre_rsa_setkey_crt()
938 offset = hlf_ksz * HPRE_CRT_IN in hpre_rsa_setkey_crt()
[all...]
/kernel/linux/linux-6.6/drivers/crypto/hisilicon/hpre/
H A Dhpre_crypto.c981 unsigned int hlf_ksz = ctx->key_sz >> 1; in hpre_rsa_setkey_crt() local
986 ctx->rsa.crt_prikey = dma_alloc_coherent(dev, hlf_ksz * HPRE_CRT_PRMS, in hpre_rsa_setkey_crt()
992 ret = hpre_crt_para_get(ctx->rsa.crt_prikey, hlf_ksz, in hpre_rsa_setkey_crt()
997 offset = hlf_ksz; in hpre_rsa_setkey_crt()
998 ret = hpre_crt_para_get(ctx->rsa.crt_prikey + offset, hlf_ksz, in hpre_rsa_setkey_crt()
1003 offset = hlf_ksz * HPRE_CRT_Q; in hpre_rsa_setkey_crt()
1004 ret = hpre_crt_para_get(ctx->rsa.crt_prikey + offset, hlf_ksz, in hpre_rsa_setkey_crt()
1009 offset = hlf_ksz * HPRE_CRT_P; in hpre_rsa_setkey_crt()
1010 ret = hpre_crt_para_get(ctx->rsa.crt_prikey + offset, hlf_ksz, in hpre_rsa_setkey_crt()
1015 offset = hlf_ksz * HPRE_CRT_IN in hpre_rsa_setkey_crt()
[all...]

Completed in 4 milliseconds