aboutsummaryrefslogtreecommitdiff
path: root/java/com/google/security/wycheproof/OpenJDKAllTests.java
diff options
context:
space:
mode:
authorbleichen <bleichen@google.com>2019-11-12 04:02:58 -0800
committerTink Team <noreply@google.com>2019-11-25 17:44:59 -0800
commit20ff4847aea64331de6df83b5266b594e5228211 (patch)
tree914d6140188aeb60be267aabb458da40bedef932 /java/com/google/security/wycheproof/OpenJDKAllTests.java
parentee5a73dbffd5c8233f6322bf0f9f1fcfeaae3a65 (diff)
downloadwycheproof-20ff4847aea64331de6df83b5266b594e5228211.zip
wycheproof-20ff4847aea64331de6df83b5266b594e5228211.tar.gz
wycheproof-20ff4847aea64331de6df83b5266b594e5228211.tar.bz2
Adding a test for the API of SecureRandom.
This test does not check if SecureRandom is weak or predictable. It simply checks whether the seeding follows the claims in the API. The test attempts to ensure that the rules used in error prone (see b/26583170) hold for all instances of SecureRandom. An old version of this test is here: depot/google3/experimental/users/bleichen/javatests/com/google/security/keymaster/JceTest.java NOKEYCHECK=True PiperOrigin-RevId: 279931348 GitOrigin-RevId: f9931f9a5fe122a59e7b4ec35d3db888e969eb81
Diffstat (limited to 'java/com/google/security/wycheproof/OpenJDKAllTests.java')
-rw-r--r--java/com/google/security/wycheproof/OpenJDKAllTests.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/java/com/google/security/wycheproof/OpenJDKAllTests.java b/java/com/google/security/wycheproof/OpenJDKAllTests.java
index 8e95a3f..5be6e96 100644
--- a/java/com/google/security/wycheproof/OpenJDKAllTests.java
+++ b/java/com/google/security/wycheproof/OpenJDKAllTests.java
@@ -46,6 +46,7 @@ import org.junit.runners.Suite.SuiteClasses;
RsaPssTest.class,
RsaOaepTest.class,
RsaSignatureTest.class,
+ SecureRandomTest.class,
})
@Provider(ProviderType.OPENJDK)
public final class OpenJDKAllTests {