hg: jdk/submit: 8147502: Digest is incorrectly truncated for ECDSA signatures when the bit length of n is less than the field size
adam.petcher at oracle.com
adam.petcher at oracle.com
Tue Mar 19 19:19:16 UTC 2019
Changeset: ddfb658c8ce3
Author: apetcher
Date: 2019-03-19 15:18 -0400
URL: http://hg.openjdk.java.net/jdk/submit/rev/ddfb658c8ce3
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-submit-changes
mailing list