CardContact / sc-hsm-embedded

PKCS#11 and CSP-Minidriver library for the SmartCard-HSM and STARCOS based signature cards
BSD 3-Clause "New" or "Revised" License
95 stars 31 forks source link

mechanism CKM_RSA_PKCS_OAEP_SHA1 #23

Open Schuemi opened 5 years ago

Schuemi commented 5 years ago

I added the mechanism CKM_RSA_PKCS_OAEP_SHA1 to be compatible with OpenSSL and BearSSL. They are using SHA1 as MGF.

is that acceptable, or would I have had to implement it differently?

CardContact commented 2 years ago

Not sure if this is a good idea, as OAEP parameter are usually defined by CK_RSA_PKCS_OAEP_PARAMS.

How was 0x13 assigned to CKM_RSA_PKCS_OAEP_SHA1 ?