diff options
author | Jack He <siyuanh@google.com> | 2020-05-05 01:26:25 +0000 |
---|---|---|
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | 2020-05-05 01:26:25 +0000 |
commit | 162cb8c22fb87ab3b532e0265208d59fdb6cf27b (patch) | |
tree | c11bd2eaef548732be4c7b00794d8b9561bc3f7b /java/com/google/security/wycheproof/testcases/EcdhTest.java | |
parent | bfd49785889f3208765a3577a7d4bf28b72576ed (diff) | |
parent | 364cf5b6836c585634805f955c99791215739d87 (diff) | |
download | wycheproof-162cb8c22fb87ab3b532e0265208d59fdb6cf27b.tar.gz |
Merge "Revert "Remove deprecated BouncyCastle algorithms"" am: 4e6be05f46 am: 3fc418dda8 am: d0087c5dab am: 4f802d80c8 am: 364cf5b683
Change-Id: Ib6cbf3cf93019b89ef4828b18587e7fe6a55c55d
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()); |