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.java214 SecretKey key = importDefaultKatKey(algorithm); in testAndroidKeyStoreKeysHandledByAndroidKeyStoreProvider()
231 SecretKey key = importDefaultKatKey(algorithm); in testMacGeneratedForEmptyMessage()
252 SecretKey key = importDefaultKatKey(algorithm); in testMacGeneratedByAndroidKeyStoreVerifiesByAndroidKeyStore()
274 SecretKey keystoreKey = importDefaultKatKey(algorithm); in testMacGeneratedByAndroidKeyStoreVerifiesByHighestPriorityProvider()
297 SecretKey keystoreKey = importDefaultKatKey(algorithm); in testMacGeneratedByHighestPriorityProviderVerifiesByAndroidKeyStore()
355 SecretKey key = importDefaultKatKey(algorithm); in testLargeMsgKat()
551 SecretKey key = importDefaultKatKey(keyAlgorithm, keyProtection); in assertInitSucceeds()
564 SecretKey key = importDefaultKatKey(keyAlgorithm, keyProtection); in assertInitThrowsInvalidKeyException()
577 private SecretKey importDefaultKatKey(String keyAlgorithm) throws Exception { in importDefaultKatKey() method in MacTest
578 return importDefaultKatKey( in importDefaultKatKey()
[all …]
DCipherTest.java338 ImportedKey key = importDefaultKatKey( in testAndroidKeyStoreKeysHandledByAndroidKeyStoreProviderWhenDecrypting()
378 Key key = importDefaultKatKey( in testAndroidKeyStorePublicKeysAcceptedByHighestPriorityProviderWhenEncrypting()
982 ImportedKey key = importDefaultKatKey(algorithm, in testKat()
1740 importDefaultKatKey(transformation, importParams).getKeystoreBackedDecryptionKey(); in assertInitDecryptSucceeds()
1749 importDefaultKatKey(transformation, importParams).getKeystoreBackedDecryptionKey(); in assertInitDecryptThrowsInvalidKeyException()
1761 importDefaultKatKey(transformation, importParams).getKeystoreBackedEncryptionKey(); in assertInitEncryptSucceeds()
1769 importDefaultKatKey(transformation, importParams).getKeystoreBackedEncryptionKey(); in assertInitEncryptThrowsInvalidKeyException()
1776 private ImportedKey importDefaultKatKey( in importDefaultKatKey() method in CipherTest
1802 private ImportedKey importDefaultKatKey( in importDefaultKatKey() method in CipherTest
1807 return importDefaultKatKey(transformation, importParams); in importDefaultKatKey()