Home
last modified time | relevance | path

Searched refs:KEY_ALGORITHM (Results 1 – 13 of 13) sorted by relevance

/frameworks/base/services/backup/java/com/android/server/backup/encryption/keys/
DTertiaryKeyGenerator.java28 private static final String KEY_ALGORITHM = "AES"; field in TertiaryKeyGenerator
35 mKeyGenerator = KeyGenerator.getInstance(KEY_ALGORITHM); in TertiaryKeyGenerator()
/frameworks/base/services/robotests/backup/src/com/android/server/backup/testing/
DCryptoTestUtils.java27 private static final String KEY_ALGORITHM = "AES"; field in CryptoTestUtils
33 KeyGenerator keyGenerator = KeyGenerator.getInstance(KEY_ALGORITHM); in generateAesKey()
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/recoverablekeystore/
DWrappedKeyTest.java50 private static final String KEY_ALGORITHM = "AES"; field in WrappedKeyTest
83 wrappedKey.getKeyMaterial(), KEY_ALGORITHM, Cipher.SECRET_KEY); in fromSecretKey_createsWrappedKeyThatCanBeUnwrapped_nullMetadata()
102 wrappedKey.getKeyMaterial(), KEY_ALGORITHM, Cipher.SECRET_KEY); in fromSecretKey_createsWrappedKeyThatCanBeUnwrapped_nonNullMetadata()
195 KeyGenerator keyGenerator = KeyGenerator.getInstance(KEY_ALGORITHM); in generateKey()
202 KEY_ALGORITHM, in generateAndroidKeyStoreKey()
DTestData.java40 private static final String KEY_ALGORITHM = "AES"; field in TestData
178 KeyGenerator keyGenerator = KeyGenerator.getInstance(KEY_ALGORITHM); in generateKey()
DRecoverableKeyGeneratorTest.java56 private static final String KEY_ALGORITHM = "AES"; field in RecoverableKeyGeneratorTest
173 KEY_ALGORITHM, in generatePlatformKey()
DPlatformKeyManagerTest.java73 private static final String KEY_ALGORITHM = "AES"; field in PlatformKeyManagerTest
591 KEY_ALGORITHM, in generateAndroidKeyStoreKey()
DKeySyncTaskTest.java84 private static final String KEY_ALGORITHM = "AES"; field in KeySyncTaskTest
861 KeyGenerator keyGenerator = KeyGenerator.getInstance(KEY_ALGORITHM); in generateKey()
868 KEY_ALGORITHM, in generateAndroidKeyStoreKey()
DRecoverableKeyStoreManagerTest.java142 private static final String KEY_ALGORITHM = "AES"; field in RecoverableKeyStoreManagerTest
1315 KEY_ALGORITHM, in generateAndroidKeyStoreKey()
/frameworks/base/services/robotests/backup/src/com/android/server/backup/encryption/keys/
DTertiaryKeyGeneratorTest.java36 private static final String KEY_ALGORITHM = "AES"; field in TertiaryKeyGeneratorTest
52 assertThat(secretKey.getAlgorithm()).isEqualTo(KEY_ALGORITHM); in generate_generatesAESKeys()
/frameworks/base/services/robotests/backup/src/com/android/server/backup/encryption/chunking/cdc/
DFingerprintMixerTest.java42 private static final String KEY_ALGORITHM = "AES"; field in FingerprintMixerTest
79 new UnencodableSecretKeySpec(keyBytes, 0, keyBytes.length, KEY_ALGORITHM); in create_withUnencodableSecretKey_throwsInvalidKeyException()
184 return new SecretKeySpec(keyBytes, 0, keyBytes.length, KEY_ALGORITHM); in randomKey()
/frameworks/base/services/robotests/backup/src/com/android/server/backup/encryption/chunking/
DChunkHasherTest.java37 private static final String KEY_ALGORITHM = "AES"; field in ChunkHasherTest
48 mSecretKey = new SecretKeySpec(TEST_KEY, KEY_ALGORITHM); in setUp()
/frameworks/base/services/core/java/com/android/server/accounts/
DCryptoHelper.java29 private static final String KEY_ALGORITHM = "AES"; field in CryptoHelper
48 KeyGenerator kgen = KeyGenerator.getInstance(KEY_ALGORITHM); in CryptoHelper()
/frameworks/base/services/core/java/com/android/server/locksettings/recoverablekeystore/
DPlatformKeyManager.java72 private static final String KEY_ALGORITHM = "AES"; field in PlatformKeyManager
485 KeyGenerator keyGenerator = KeyGenerator.getInstance(KEY_ALGORITHM); in generateAesKey()