aboutsummaryrefslogtreecommitdiff
path: root/java/com/google/security/wycheproof/testcases/DsaTest.java
diff options
context:
space:
mode:
authorDaulet Zhanguzin <dauletz@google.com>2020-05-13 18:19:23 +0000
committerAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>2020-05-13 18:19:23 +0000
commit858d8e28ae1adb954899c44645344a1b06a9a5ab (patch)
treec57297b903987e510265cdb231e2c78e61d359a2 /java/com/google/security/wycheproof/testcases/DsaTest.java
parentd0087c5dab04aab8a9d84ad3d60ea74ff7b825c4 (diff)
parent2c75c3e2c10481d78633389b8d3d095cf0b37edb (diff)
downloadwycheproof-858d8e28ae1adb954899c44645344a1b06a9a5ab.tar.gz
Remove deprecated BouncyCastle algorithms am: 013daa2841 am: 2c75c3e2c1
Change-Id: I2b8ba8b033415da763570851b5925d630f2312ae
Diffstat (limited to 'java/com/google/security/wycheproof/testcases/DsaTest.java')
-rw-r--r--java/com/google/security/wycheproof/testcases/DsaTest.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/java/com/google/security/wycheproof/testcases/DsaTest.java b/java/com/google/security/wycheproof/testcases/DsaTest.java
index bf7761e..62ddb01 100644
--- a/java/com/google/security/wycheproof/testcases/DsaTest.java
+++ b/java/com/google/security/wycheproof/testcases/DsaTest.java
@@ -26,6 +26,7 @@
// signature multiple times, since this allows to get more accurate timings.
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
@@ -891,6 +892,9 @@ public class DsaTest extends TestCase {
* test until April 2016.
*/
@SuppressWarnings("InsecureCryptoUsage")
+ @ExcludedTest(
+ providers = {ProviderType.BOUNCY_CASTLE},
+ comment = "Signature.SHA1WithDSA is removed")
public void testDsaBias() throws Exception {
// q is close to 2/3 * 2^160.
BigInteger q = new BigInteger("974317976835659416858874959372334979171063697271");