Home
last modified time | relevance | path

Searched refs:anotherDigest (Results 1 – 2 of 2) sorted by relevance

/cts/tests/tests/keystore/src/android/keystore/cts/
DKeyGeneratorTest.java329 String anotherDigest = "SHA-256".equalsIgnoreCase(digest) ? "SHA-384" : "SHA-256"; in testHmacKeyOnlyOneDigestCanBeAuthorized() local
332 .setDigests(anotherDigest) in testHmacKeyOnlyOneDigestCanBeAuthorized()
338 .setDigests(digest, anotherDigest) in testHmacKeyOnlyOneDigestCanBeAuthorized()
425 String anotherDigest = KeyProperties.DIGEST_SHA256.equalsIgnoreCase(digest) in testInitWithKeyAlgorithmDigestMissingFromAuthorizedDigestFails() local
427 keyGenerator.init(getWorkingSpec().setDigests(anotherDigest).build()); in testInitWithKeyAlgorithmDigestMissingFromAuthorizedDigestFails()
DAndroidKeyStoreTest.java2449 String anotherDigest = "SHA-256".equalsIgnoreCase(digest) ? "SHA-384" : "SHA-256"; in testKeyStore_OnlyOneDigestCanBeAuthorized_HMAC() local
2453 TestUtils.buildUpon(goodSpec).setDigests(anotherDigest).build()); in testKeyStore_OnlyOneDigestCanBeAuthorized_HMAC()
2460 .setDigests(digest, anotherDigest) in testKeyStore_OnlyOneDigestCanBeAuthorized_HMAC()