aboutsummaryrefslogtreecommitdiff
path: root/keystore-cts/java/com/google/security/wycheproof/testcases/MacTest.java
diff options
context:
space:
mode:
authorAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2023-08-14 15:06:48 +0000
committerAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2023-08-14 15:06:48 +0000
commit92fd85b40a30e0d8f369075fbafc28b4db07c255 (patch)
tree78003dfb9f5c17f1cb766b9e8e0c61d52b52fd92 /keystore-cts/java/com/google/security/wycheproof/testcases/MacTest.java
parentf8b93059a35863c64c520647df332a9361cada06 (diff)
parent308b9463446080acb9c9ae27363d0c0f5fa8ce24 (diff)
downloadwycheproof-92fd85b40a30e0d8f369075fbafc28b4db07c255.tar.gz
Snap for 10654358 from 308b9463446080acb9c9ae27363d0c0f5fa8ce24 to mainline-conscrypt-release
Change-Id: I7ac032208e3bb8fe9dde2fca57f81d4215885b6a
Diffstat (limited to 'keystore-cts/java/com/google/security/wycheproof/testcases/MacTest.java')
-rw-r--r--keystore-cts/java/com/google/security/wycheproof/testcases/MacTest.java23
1 files changed, 23 insertions, 0 deletions
diff --git a/keystore-cts/java/com/google/security/wycheproof/testcases/MacTest.java b/keystore-cts/java/com/google/security/wycheproof/testcases/MacTest.java
index 3a42761..7e84a4f 100644
--- a/keystore-cts/java/com/google/security/wycheproof/testcases/MacTest.java
+++ b/keystore-cts/java/com/google/security/wycheproof/testcases/MacTest.java
@@ -331,7 +331,13 @@ public class MacTest {
}
@Test
+ // Long-running MAC tests expose inefficiencies on some devices. Ignore the test until
+ // performance requirements can be defined. See http://b/288588810#comment27
+ @Ignore
public void testLongMacSha1() throws Exception {
+ // b/244609904#comment64
+ KeyStoreUtil.assumeKeyMintV1OrNewer(false);
+
testLongMac(
"HMACSHA1",
"000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f",
@@ -347,7 +353,12 @@ public class MacTest {
}
@Test
+ // Long-running MAC tests expose inefficiencies on some devices. Ignore the test until
+ // performance requirements can be defined. See http://b/288588810#comment27
+ @Ignore
public void testLongMacSha256() throws Exception {
+ // b/244609904#comment64
+ KeyStoreUtil.assumeKeyMintV1OrNewer(false);
testLongMacSha256(false);
}
@Test
@@ -374,7 +385,13 @@ public class MacTest {
}
@Test
+ // Long-running MAC tests expose inefficiencies on some devices. Ignore the test until
+ // performance requirements can be defined. See http://b/288588810#comment27
+ @Ignore
public void testLongMacSha384() throws Exception {
+ // b/244609904#comment64
+ KeyStoreUtil.assumeKeyMintV1OrNewer(false);
+
testLongMac(
"HMACSHA384",
"000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f"
@@ -394,7 +411,13 @@ public class MacTest {
}
@Test
+ // Long-running MAC tests expose inefficiencies on some devices. Ignore the test until
+ // performance requirements can be defined. See http://b/288588810#comment27
+ @Ignore
public void testLongMacSha512() throws Exception {
+ // b/244609904#comment64
+ KeyStoreUtil.assumeKeyMintV1OrNewer(false);
+
testLongMac(
"HMACSHA512",
"000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f"