opensc/src
Doug Engert 285db1ef29 ECDSA Signatures with hashes
This PR is based on discussion with @popovec in
https://github.com/OpenSC/OpenSC/issues/2181
and https://github.com/OpenSC/OpenSC/pull/2187
which was cherry-picked as 5e5300816c8

This has been tested with PIV, MyEID and Smartcard-HSM.
with ECDSA keys.

The main fixes include :
 - Setting "flags" in card drivers
 - added code to sc_pkcs15-compute-signature for handle ECDSA with hashes
 - code in framework-pkcs15.c

Signatures made by pkcs11-tool -sigm verify with openssl
but pkcs11-tool --verify  does not work with ECDSA but does with RSA
I suspect it has to do with:
and some  then creating the wrong PKCS11 mechanisms

It should work with the epass2003 which does hashes in the driver.
2021-01-24 23:48:00 +01:00
..
common common, pkcs11-tool: Use new PKCS #11 API with fallback to old one 2021-01-11 14:49:22 +01:00
libopensc ECDSA Signatures with hashes 2021-01-24 23:48:00 +01:00
minidriver Update upper length for ATR and the comments. 2020-11-04 11:02:56 +01:00
pkcs11 ECDSA Signatures with hashes 2021-01-24 23:48:00 +01:00
pkcs15init Use fresh data from FCI instead of FCP for sc_pkcs15init_authenticate() 2021-01-22 18:59:22 +01:00
scconf fixed missing includes 2020-05-11 18:58:12 +02:00
sm Initial support for Polish eID card (e-dowód, eDO) (#2023) 2020-05-19 14:05:13 +02:00
smm fixed 127766 Out-of-bounds read 2019-11-05 21:49:30 +01:00
tests p11test: Explicitly return in case of SKIP macro is used 2021-01-22 19:07:05 +01:00
tools opensc-explorer, command "info" - added information about LCS 2021-01-22 19:04:22 +01:00
ui pcsc: immediately exit on hotplug events 2020-06-09 12:07:04 +02:00
Makefile.am added fuzzing with libFuzzer and OSS-Fuzz 2019-07-26 15:23:02 +02:00
Makefile.mak use compat_getopt_long if getopt_long is not available 2019-03-25 14:30:09 +01:00