[EXT] [PATCH] crypto/qat: add sm2 ecdsa
Akhil Goyal
gakhil at marvell.com
Fri Oct 27 21:24:43 CEST 2023
> Added SM2 ECDSA feature to the Intel QuickAssist Technology
> symmetric crypto PMD.
>
> Signed-off-by: Arkadiusz Kusztal <arkadiuszx.kusztal at intel.com>
> ---
The patch is not getting compiled on latest TOT. Please fix.
../drivers/crypto/qat/qat_asym.c: In function 'sm2_ecdsa_sign_set_input':
../drivers/crypto/qat/qat_asym.c:920:25: error: 'const struct rte_crypto_sm2_op_param' has no member named 'pkey'
920 | SET_PKE_LN(asym_op->sm2.pkey, qat_func_alignsize, 2);
| ^
../drivers/crypto/qat/qat_asym.c:76:3: note: in definition of macro 'SET_PKE_LN'
76 | what.length, \
| ^~~~
../drivers/crypto/qat/qat_asym.c:920:25: error: 'const struct rte_crypto_sm2_op_param' has no member named 'pkey'
920 | SET_PKE_LN(asym_op->sm2.pkey, qat_func_alignsize, 2);
| ^
../drivers/crypto/qat/qat_asym.c:77:3: note: in definition of macro 'SET_PKE_LN'
77 | what.data, \
| ^~~~
More information about the dev
mailing list