hg: jdk-updates/jdk11u-dev: 8147502: Digest is incorrectly truncated for ECDSA signatures when the bit length of n is less than the field size
christoph.langer at sap.com
christoph.langer at sap.com
Tue Jun 4 13:42:34 UTC 2019
Changeset: c02113ad7e65
Author: apetcher
Date: 2019-03-19 15:18 -0400
URL: http://hg.openjdk.java.net/jdk-updates/jdk11u-dev/rev/c02113ad7e65
8147502: Digest is incorrectly truncated for ECDSA signatures when the bit length of n is less than the field size
Summary: Truncate the digest according to the group order, not the field size
Reviewed-by: jnimeh
! src/jdk.crypto.ec/share/classes/sun/security/ec/ECDSASignature.java
! src/jdk.crypto.ec/share/native/libsunec/impl/ec.c
+ test/jdk/sun/security/ec/SignatureDigestTruncate.java
More information about the jdk-updates-changes
mailing list