RFR: 8044659: Java SecureRandom on SPARC T4 much slower than on x86/Linux
Rob McKenna
rob.mckenna at oracle.com
Tue Jul 22 17:44:47 UTC 2014
Hi folks,
When repeatedly gathering small amounts of random data the SUN provider
is quicker ucrypto / pkcs11. This proposed fix from Brad allows ucrypto
/ pkcs11 leverage the SUN SHA1 provider for SHA1PRNG. This allows us to
avoid the overhead of calling into the native level repeatedly for small
amounts of random data and allows ucrypto / pkcs11 to perform as well as
SUN for this particular corner case.
Testcase attached to the bug.
http://cr.openjdk.java.net/~robm/8044659/webrev.01/
https://bugs.openjdk.java.net/browse/JDK-8044659
-Rob
More information about the security-dev
mailing list