From e8b438bbf51c12882e55e0de2c289181b1cd8c15 Mon Sep 17 00:00:00 2001 From: Lingyun Zhao Date: Thu, 23 Mar 2023 13:07:42 -0700 Subject: Wycheproof: Correct a typo in bias ECDSA P256 StrongBox test. Test: atest CtsKeystoreWycheproofTestCases:com.google.security.wycheproof.EcdsaTest Change-Id: I76087d50300b5f108201df0234f8aa47cb05d104 --- .../com/google/security/wycheproof/testcases/EcdsaTest.java | 10 +++++----- 1 file 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 @@ -357,6 +357,11 @@ public class EcdsaTest { testBias("SHA256WithECDSA", "secp256r1"); } + @Test + public void testBiasSecp256r1_StrongBox() throws Exception { + testBias("SHA256WithECDSA", "secp256r1", true); + } + @Test public void testBiasSecp384r1() throws Exception { testBias("SHA384WithECDSA", "secp384r1"); @@ -367,11 +372,6 @@ public class EcdsaTest { testBias("SHA512WithECDSA", "secp521r1"); } - @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 { -- cgit v1.2.3