aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLingyun Zhao <lingyunzhao@google.com>2023-03-23 13:07:42 -0700
committerLingyun Zhao <lingyunzhao@google.com>2023-03-23 13:10:40 -0700
commite8b438bbf51c12882e55e0de2c289181b1cd8c15 (patch)
treec7cb708f56dfed837514c7df36076dc2e009e078
parenta24305c53ea214bf58cf1efff5eaab2f131855a5 (diff)
downloadwycheproof-e8b438bbf51c12882e55e0de2c289181b1cd8c15.tar.gz
Wycheproof: Correct a typo in bias ECDSA P256 StrongBox test.
Test: atest CtsKeystoreWycheproofTestCases:com.google.security.wycheproof.EcdsaTest Change-Id: I76087d50300b5f108201df0234f8aa47cb05d104
-rw-r--r--keystore-cts/java/com/google/security/wycheproof/testcases/EcdsaTest.java10
1 files changed, 5 insertions, 5 deletions
diff --git a/keystore-cts/java/com/google/security/wycheproof/testcases/EcdsaTest.java b/keystore-cts/java/com/google/security/wycheproof/testcases/EcdsaTest.java
index 3a758f3..2e7108f 100644
--- a/keystore-cts/java/com/google/security/wycheproof/testcases/EcdsaTest.java
+++ b/keystore-cts/java/com/google/security/wycheproof/testcases/EcdsaTest.java
@@ -358,6 +358,11 @@ public class EcdsaTest {
}
@Test
+ public void testBiasSecp256r1_StrongBox() throws Exception {
+ testBias("SHA256WithECDSA", "secp256r1", true);
+ }
+
+ @Test
public void testBiasSecp384r1() throws Exception {
testBias("SHA384WithECDSA", "secp384r1");
}
@@ -368,11 +373,6 @@ public class EcdsaTest {
}
@Test
- public void testBiasSecp521r1_StrongBox() throws Exception {
- testBias("SHA256WithECDSA", "secp256r1", true);
- }
-
- @Test
@Ignore // Brainpool curve are not supported in AndroidKeyStore
public void testBiasBrainpoolP256r1() throws Exception {
testBias("SHA512WithECDSA", "brainpoolP256r1");