aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEran Messeri <eranm@google.com>2024-02-09 16:29:21 +0000
committerEran Messeri <eranm@google.com>2024-02-09 16:29:21 +0000
commitb953c4d3509963749eda2323387a2a4226e13da1 (patch)
tree80d977eac6e0a4378e08f1e5f8b7f7de9ad5e062
parentaab39d41736c29cd0e40c0b6dd19a611957df55b (diff)
downloadwycheproof-b953c4d3509963749eda2323387a2a4226e13da1.tar.gz
Continue flag work for MGF1 Digest setter
Adopt the new flag name. Test: atest CtsWebkitTestCases:android.webkit.cts.WebViewSslTest#testProceedClientCertRequestKeyWithAndroidKeystoreKey CtsKeystoreTestCases:android.keystore.cts.CipherTest#testKatBasicWithDifferentProviders CtsKeystoreWycheproofTestCases:RsaOaepTest Bug: 308378912 Bug: 308069562 Change-Id: Iccf8c70a3cde63a76919d52f66862bd5ac12e4b6
-rw-r--r--keystore-cts/java/com/google/security/wycheproof/testcases/RsaOaepTest.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/keystore-cts/java/com/google/security/wycheproof/testcases/RsaOaepTest.java b/keystore-cts/java/com/google/security/wycheproof/testcases/RsaOaepTest.java
index c0ee341..4a35879 100644
--- a/keystore-cts/java/com/google/security/wycheproof/testcases/RsaOaepTest.java
+++ b/keystore-cts/java/com/google/security/wycheproof/testcases/RsaOaepTest.java
@@ -68,7 +68,7 @@ public class RsaOaepTest {
.setEncryptionPaddings(KeyProperties.ENCRYPTION_PADDING_RSA_PKCS1,
KeyProperties.ENCRYPTION_PADDING_RSA_OAEP)
.setIsStrongBoxBacked(isStrongBox);
- if (Flags.mgf1DigestSetter()) {
+ if (Flags.mgf1DigestSetterV2()) {
keyProtection.setDigests(digest);
keyProtection.setMgf1Digests(mgfDigest);
} else {