Adding RSA2 KeyGen CAVP tests.
Change-Id: I11eecf6dc50b95477fc1e909d9ed97987899abcb
Reviewed-on: https://boringssl-review.googlesource.com/15833
Reviewed-by: Adam Langley <agl@google.com>
Commit-Queue: Adam Langley <agl@google.com>
CQ-Verified: CQ bot account: commit-bot@chromium.org <commit-bot@chromium.org>
diff --git a/fipsoracle/run_cavp.go b/fipsoracle/run_cavp.go
index 051bfcf..99d11b4 100644
--- a/fipsoracle/run_cavp.go
+++ b/fipsoracle/run_cavp.go
@@ -135,6 +135,15 @@
[]test{{"SigVer", nil, false}},
}
+var rsa2KeyGenTests = testSuite{
+ "RSA2",
+ "cavp_rsa2_keygen_test",
+ nil,
+ []test{
+ {"KeyGen_RandomProbablyPrime3_3", nil, true},
+ },
+}
+
var rsa2SigGenTests = testSuite{
"RSA2",
"cavp_rsa2_siggen_test",
@@ -256,6 +265,7 @@
&ecdsa2PKVTests,
&ecdsa2SigGenTests,
&ecdsa2SigVerTests,
+ &rsa2KeyGenTests,
&rsa2SigGenTests,
&rsa2SigVerTests,
&hmacTests,