hg: jdk8u/jdk8u/jdk: 8181594: Efficient and constant-time modular arithmetic

gnu.andrew at redhat.com gnu.andrew at redhat.com
Sat Jun 22 17:32:33 UTC 2019


Changeset: 8f8015daf928
Author:    andrew
Date:      2019-06-22 18:31 +0100
URL:       http://hg.openjdk.java.net/jdk8u/jdk8u/jdk/rev/8f8015daf928

8181594: Efficient and constant-time modular arithmetic
Summary: Field arithmetic library for crypto algorithms like Poly1305 and X25519
Reviewed-by: xuelei, andrew
Contributed-by: David Alvarez <alvdavi at amazon.com>

+ src/share/classes/sun/security/util/math/ImmutableIntegerModuloP.java
+ src/share/classes/sun/security/util/math/IntegerFieldModuloP.java
+ src/share/classes/sun/security/util/math/IntegerModuloP.java
+ src/share/classes/sun/security/util/math/MutableIntegerModuloP.java
+ src/share/classes/sun/security/util/math/SmallValue.java
+ src/share/classes/sun/security/util/math/intpoly/IntegerPolynomial.java
+ src/share/classes/sun/security/util/math/intpoly/IntegerPolynomial1305.java
+ src/share/classes/sun/security/util/math/intpoly/IntegerPolynomial25519.java
+ src/share/classes/sun/security/util/math/intpoly/IntegerPolynomial448.java
+ test/sun/security/util/math/BigIntegerModuloP.java
+ test/sun/security/util/math/TestIntegerModuloP.java



More information about the jdk8u-changes mailing list