Home
last modified time | relevance | path

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

/cts/tests/tests/keystore/src/android/keystore/cts/
DKeyGeneratorTest.java261 KeyGenParameterSpec.Builder goodSpec = getWorkingSpec(); in testAesKeySupportedSizesHelper() local
269 goodSpec.setKeySize(i)).setIsStrongBoxBacked(useStrongbox).build(); in testAesKeySupportedSizesHelper()
273 goodSpec.setKeySize(i)).setIsStrongBoxBacked(useStrongbox).build(); in testAesKeySupportedSizesHelper()
304 KeyGenParameterSpec.Builder goodSpec = getWorkingSpec(); in testDESKeySupportedSizes() local
311 spec = TestUtils.buildUpon(goodSpec.setKeySize(i)).build(); in testDESKeySupportedSizes()
314 spec = TestUtils.buildUpon(goodSpec.setKeySize(i)).build(); in testDESKeySupportedSizes()
422 KeyGenParameterSpec.Builder goodSpec = new KeyGenParameterSpec.Builder( in testHmacKeyOnlyOneDigestCanBeAuthorizedHelper() local
428 assertFalse(goodSpec in testHmacKeyOnlyOneDigestCanBeAuthorizedHelper()
432 keyGenerator.init(goodSpec.setIsStrongBoxBacked(useStrongbox).build()); in testHmacKeyOnlyOneDigestCanBeAuthorizedHelper()
438 keyGenerator.init(TestUtils.buildUpon(goodSpec) in testHmacKeyOnlyOneDigestCanBeAuthorizedHelper()
[all …]
DAndroidKeyStoreTest.java2396 KeyProtection.Builder goodSpec = in testKeyStore_OnlyOneDigestCanBeAuthorized_HMAC() local
2400 assertFalse(goodSpec.build().isDigestsSpecified()); in testKeyStore_OnlyOneDigestCanBeAuthorized_HMAC()
2403 goodSpec.build()); in testKeyStore_OnlyOneDigestCanBeAuthorized_HMAC()
2411 TestUtils.buildUpon(goodSpec).setDigests(digest).build()); in testKeyStore_OnlyOneDigestCanBeAuthorized_HMAC()
2420 TestUtils.buildUpon(goodSpec).setDigests().build()); in testKeyStore_OnlyOneDigestCanBeAuthorized_HMAC()
2429 TestUtils.buildUpon(goodSpec).setDigests(anotherDigest).build()); in testKeyStore_OnlyOneDigestCanBeAuthorized_HMAC()
2435 TestUtils.buildUpon(goodSpec) in testKeyStore_OnlyOneDigestCanBeAuthorized_HMAC()