Adding RSA2 PKCS15 CAVP tests.
Change-Id: I7ee611484b576a2195405ee47c29af7168b9556e
Reviewed-on: https://boringssl-review.googlesource.com/15804
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 6ef4dab..cb322a0 100644
--- a/fipsoracle/run_cavp.go
+++ b/fipsoracle/run_cavp.go
@@ -126,6 +126,24 @@
[]test{{"SigVer", nil, false}},
}
+var rsa2SigGenTests = testSuite{
+ "RSA2",
+ "cavp_rsa2_siggen_test",
+ []test{
+ {"SigGen15_186-3", []string{"pkcs15"}, true},
+ // {"SigGenPSS_186-3", []string{"pss"}, true},
+ },
+}
+
+var rsa2SigVerTests = testSuite{
+ "RSA2",
+ "cavp_rsa2_sigver_test",
+ []test{
+ {"SigVer15_186-3", []string{"pkcs15"}, true},
+ // {"SigVerPSS_186-3", []string{"pss"}, true},
+ },
+}
+
var hmacTests = testSuite{
"HMAC",
"cavp_hmac_test",
@@ -200,6 +218,8 @@
&ecdsa2PKVTests,
&ecdsa2SigGenTests,
&ecdsa2SigVerTests,
+ &rsa2SigGenTests,
+ &rsa2SigVerTests,
&hmacTests,
&shaTests,
&shaMonteTests,