Code Review for jdk

Prepared by:mbalao mbalao on Thu Aug 8 16:12:22 UYT 2019
Workspace:/home/martin/redhat/java/openjdk/repositories/public/jdk8u/jdk
Compare against: https://hg.openjdk.java.net/jdk8u/jdk8u/jdk
Compare against version:13648
Summary of changes: 223 lines changed: 213 ins; 0 del; 10 mod; 1597 unchg
Changeset: jdk.changeset
Legend: Modified file
Deleted file
New file

Cdiffs Udiffs Sdiffs Frames Old New ----- Raw src/share/classes/sun/security/ec/ECDSASignature.java

rev 13649 : 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
3 lines changed: 0 ins; 0 del; 3 mod; 518 unchg

Cdiffs Udiffs Sdiffs Frames Old New ----- Raw src/share/native/sun/security/ec/impl/ec.c

rev 13649 : 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
11 lines changed: 4 ins; 0 del; 7 mod; 1079 unchg

------ ------ ------ ------ --- New ----- Raw test/lib/testlibrary/jdk/testlibrary/Convert.java

rev 13649 : 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
84 lines changed: 84 ins; 0 del; 0 mod; 0 unchg

------ ------ ------ ------ --- New ----- Raw test/sun/security/ec/SignatureDigestTruncate.java

rev 13649 : 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
125 lines changed: 125 ins; 0 del; 0 mod; 0 unchg

This code review page was prepared using /home/martin/redhat/java/openjdk/scripts/webrev.ksh (vers 25.16-hg+openjdk.java.net).