diff options
author | Jack He <siyuanh@google.com> | 2020-05-05 00:57:55 +0000 |
---|---|---|
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | 2020-05-05 00:57:55 +0000 |
commit | 4f802d80c825390dfb30e2ee3e700b331adedbf4 (patch) | |
tree | c11bd2eaef548732be4c7b00794d8b9561bc3f7b /java/com/google/security/wycheproof/testcases/EcdsaTest.java | |
parent | ad1c077d2f9a4d049aa5b90cac76d189649ab5b3 (diff) | |
parent | d0087c5dab04aab8a9d84ad3d60ea74ff7b825c4 (diff) | |
download | wycheproof-4f802d80c825390dfb30e2ee3e700b331adedbf4.tar.gz |
Merge "Revert "Remove deprecated BouncyCastle algorithms"" am: 4e6be05f46 am: 3fc418dda8 am: d0087c5dab
Change-Id: Ic98e4e695afe361fb1b57e380dc97f9780e41274
Diffstat (limited to 'java/com/google/security/wycheproof/testcases/EcdsaTest.java')
-rw-r--r-- | java/com/google/security/wycheproof/testcases/EcdsaTest.java | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/java/com/google/security/wycheproof/testcases/EcdsaTest.java b/java/com/google/security/wycheproof/testcases/EcdsaTest.java index 0d65286..c279aaf 100644 --- a/java/com/google/security/wycheproof/testcases/EcdsaTest.java +++ b/java/com/google/security/wycheproof/testcases/EcdsaTest.java @@ -16,7 +16,6 @@ package com.google.security.wycheproof; -import com.google.security.wycheproof.WycheproofRunner.ExcludedTest; import com.google.security.wycheproof.WycheproofRunner.ProviderType; import com.google.security.wycheproof.WycheproofRunner.SlowTest; // Android-removed: Android doesn't support JMX @@ -641,18 +640,12 @@ public class EcdsaTest extends TestCase { assertEquals(0, errors); } - @ExcludedTest( - providers = {ProviderType.BOUNCY_CASTLE}, - comment = "Signature.SHA256WithECDSA is removed") public void testValidSignatures() throws Exception { testVectors( VALID_SIGNATURES, publicKey1(), "Hello", "SHA256WithECDSA", "Valid ECDSA signature", true, true); } - @ExcludedTest( - providers = {ProviderType.BOUNCY_CASTLE}, - comment = "Signature.SHA256WithECDSA is removed") public void testModifiedSignatures() throws Exception { testVectors( MODIFIED_SIGNATURES, @@ -664,9 +657,6 @@ public class EcdsaTest extends TestCase { true); } - @ExcludedTest( - providers = {ProviderType.BOUNCY_CASTLE}, - comment = "Signature.SHA256WithECDSA is removed") public void testInvalidSignatures() throws Exception { testVectors( INVALID_SIGNATURES, @@ -682,9 +672,6 @@ public class EcdsaTest extends TestCase { * This test checks the basic functionality of ECDSA. It can also be used to generate simple test * vectors. */ - @ExcludedTest( - providers = {ProviderType.BOUNCY_CASTLE}, - comment = "KeyPairGenerator.EC is removed") public void testBasic() throws Exception { String algorithm = "SHA256WithECDSA"; String hashAlgorithm = "SHA-256"; |