sc-hsm-embedded icon indicating copy to clipboard operation
sc-hsm-embedded copied to clipboard

mechanism CKM_RSA_PKCS_OAEP_SHA1

Open Schuemi opened this issue 6 years ago • 1 comments
trafficstars

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?

Schuemi avatar Jun 12 '19 07:06 Schuemi

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 ?

CardContact avatar Jun 08 '22 11:06 CardContact