Home
last modified time | relevance | path

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

/cts/tests/tests/keystore/src/android/keystore/cts/
DMacTest.java260 SecretKey key = importDefaultKatKey(algorithm); in testAndroidKeyStoreKeysHandledByAndroidKeyStoreProvider()
278 SecretKey key = importDefaultKatKey(algorithm); in testMacGeneratedForEmptyMessage()
300 SecretKey key = importDefaultKatKey(algorithm); in testMacGeneratedByAndroidKeyStoreVerifiesByAndroidKeyStore()
323 SecretKey keystoreKey = importDefaultKatKey(algorithm); in testMacGeneratedByAndroidKeyStoreVerifiesByHighestPriorityProvider()
347 SecretKey keystoreKey = importDefaultKatKey(algorithm); in testMacGeneratedByHighestPriorityProviderVerifiesByAndroidKeyStore()
407 SecretKey key = importDefaultKatKey(algorithm); in testLargeMsgKat()
618 SecretKey key = importDefaultKatKey(keyAlgorithm, keyProtection); in assertInitSucceeds()
631 SecretKey key = importDefaultKatKey(keyAlgorithm, keyProtection); in assertInitThrowsInvalidKeyException()
644 private SecretKey importDefaultKatKey(String keyAlgorithm) throws Exception { in importDefaultKatKey() method in MacTest
645 return importDefaultKatKey( in importDefaultKatKey()
[all …]
DCipherTest.java387 ImportedKey key = importDefaultKatKey( in testAndroidKeyStoreKeysHandledByAndroidKeyStoreProviderWhenDecrypting()
428 Key key = importDefaultKatKey( in testAndroidKeyStorePublicKeysAcceptedByHighestPriorityProviderWhenEncrypting()
760 assertThrows(KeyStoreException.class, () -> importDefaultKatKey(algorithm, in testUnlockedDeviceRequiredKeysRequireSecureLockScreen()
783 importedKeys.add(importDefaultKatKey(algorithm, importParams)); in testUnlockedDeviceRequiredKeysAreInvalidatedByLockRemoval()
801 ImportedKey key = importDefaultKatKey(algorithm, importParams); in testUnlockedDeviceRequiredKeysAreNotInvalidatedByLockRemoval()
1204 ImportedKey key = importDefaultKatKey(algorithm, in testKat()
1260 ImportedKey key = importDefaultKatKey(algorithm, in testKatBasicWithDifferentProviders()
1361 ImportedKey key = importDefaultKatKey(algorithm, importParams); in testAuthBoundKeysAreInvalidatedByLockRemoval()
1385 key = importDefaultKatKey(BASIC_ALGORITHMS[0], importParams); in testAuthBoundKeysKeyPermanentlyInvalidatedException()
1952 importDefaultKatKey(transformation, importParams).getKeystoreBackedDecryptionKey(); in assertInitDecryptSucceeds()
[all …]