CKM_ECDSA and CKM_ECDSA_SHA1 cannot be registered in the same way. We need to use sc_pkcs11_register_sign_and_hash_mechanism () for CKM_ECDSA_SHA1. This fix also enables more ECDSA-SHAxxx mechanisms in framework-pkcs15.c Tested: MyEID 4.0.1 (secp256r1 with SHA1, SHA224, SHA256, SHA384, SHA512) CI tests (Travis + OsEID) for ECDSA-SHAxxx mechanisms are also enabled. |
||
---|---|---|
.. | ||
common | ||
libopensc | ||
minidriver | ||
pkcs11 | ||
pkcs15init | ||
scconf | ||
sm | ||
smm | ||
tests | ||
tools | ||
ui | ||
Makefile.am | ||
Makefile.mak |