[13] RFR JDK-8226651: Setting the mgfHash in CK_RSA_PKCS_PSS_PARAMS has no effect

Valerie Peng valerie.peng at oracle.com
Thu Jun 27 22:24:56 UTC 2019


Hi,

Anyone has time to review this? Trivial and straightforward and would be 
nice to fix this in the same release which the bug is introduced in. 
Existing PKCS11 PSS impl assumes that the MGF1 uses the same digest 
algorithm as the message digest. Fixed to get the digest algorithm for 
MGF1 from the specified PSS parameter object and enhanced existing PSS 
regression tests to cover additional scenarios.

Bug: https://bugs.openjdk.java.net/browse/JDK-8226651

Webrev: http://cr.openjdk.java.net/~valeriep/8226651/webrev.00/

Mach5 run is clean.

Thanks,
Valerie



More information about the security-dev mailing list