diff options
author | Jack He <siyuanh@google.com> | 2020-05-05 00:32:14 +0000 |
---|---|---|
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | 2020-05-05 00:32:14 +0000 |
commit | 3fc418dda8d2065ce06ffb02b380595bb76af255 (patch) | |
tree | c11bd2eaef548732be4c7b00794d8b9561bc3f7b /java/com/google/security/wycheproof/testcases/EcdhTest.java | |
parent | 6da408c3517e10dec279a70ee91263bb8ca68c44 (diff) | |
parent | 4e6be05f469051f2f828fcfb2125b6e53702d010 (diff) | |
download | wycheproof-3fc418dda8d2065ce06ffb02b380595bb76af255.tar.gz |
Merge "Revert "Remove deprecated BouncyCastle algorithms"" am: 4e6be05f46
Change-Id: I243202e63487adc23c57bb4f7e5cd690f28adb16
Diffstat (limited to 'java/com/google/security/wycheproof/testcases/EcdhTest.java')
-rw-r--r-- | java/com/google/security/wycheproof/testcases/EcdhTest.java | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/java/com/google/security/wycheproof/testcases/EcdhTest.java b/java/com/google/security/wycheproof/testcases/EcdhTest.java index c1a8b82..00be916 100644 --- a/java/com/google/security/wycheproof/testcases/EcdhTest.java +++ b/java/com/google/security/wycheproof/testcases/EcdhTest.java @@ -16,8 +16,6 @@ package com.google.security.wycheproof; -import com.google.security.wycheproof.WycheproofRunner.ExcludedTest; -import com.google.security.wycheproof.WycheproofRunner.ProviderType; import java.math.BigInteger; import java.security.GeneralSecurityException; import java.security.InvalidKeyException; @@ -829,9 +827,6 @@ public class EcdhTest extends TestCase { }; /** Checks that key agreement using ECDH works. */ - @ExcludedTest( - providers = {ProviderType.BOUNCY_CASTLE}, - comment = "KeyPairGenerator.EC is removed") public void testBasic() throws Exception { KeyPairGenerator keyGen = KeyPairGenerator.getInstance("EC"); ECGenParameterSpec ecSpec = new ECGenParameterSpec("secp256r1"); @@ -850,9 +845,6 @@ public class EcdhTest extends TestCase { assertEquals(TestUtil.bytesToHex(kAB), TestUtil.bytesToHex(kBA)); } - @ExcludedTest( - providers = {ProviderType.BOUNCY_CASTLE}, - comment = "KeyAgreement.ECDH is removed") public void testVectors() throws Exception { KeyAgreement ka = KeyAgreement.getInstance("ECDH"); for (EcdhTestVector t : ECDH_TEST_VECTORS) { @@ -867,9 +859,6 @@ public class EcdhTest extends TestCase { } } - @ExcludedTest( - providers = {ProviderType.BOUNCY_CASTLE}, - comment = "KeyFactory.EC is removed") public void testDecode() throws Exception { KeyFactory kf = KeyFactory.getInstance("EC"); ECPublicKey key1 = (ECPublicKey) kf.generatePublic(EC_VALID_PUBLIC_KEY.getSpec()); |