/frameworks/base/packages/BackupEncryption/src/com/android/server/backup/encryption/keys/ |
D | TertiaryKeyGenerator.java | 28 private static final String KEY_ALGORITHM = "AES"; field in TertiaryKeyGenerator 35 mKeyGenerator = KeyGenerator.getInstance(KEY_ALGORITHM); in TertiaryKeyGenerator()
|
D | KeyWrapUtils.java | 38 private static final String KEY_ALGORITHM = "AES"; field in KeyWrapUtils 79 return (SecretKey) cipher.unwrap(wrappedKey.key, KEY_ALGORITHM, Cipher.SECRET_KEY); in unwrap()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/recoverablekeystore/ |
D | WrappedKeyTest.java | 49 private static final String KEY_ALGORITHM = "AES"; field in WrappedKeyTest 82 wrappedKey.getKeyMaterial(), KEY_ALGORITHM, Cipher.SECRET_KEY); in fromSecretKey_createsWrappedKeyThatCanBeUnwrapped_nullMetadata() 101 wrappedKey.getKeyMaterial(), KEY_ALGORITHM, Cipher.SECRET_KEY); in fromSecretKey_createsWrappedKeyThatCanBeUnwrapped_nonNullMetadata() 194 KeyGenerator keyGenerator = KeyGenerator.getInstance(KEY_ALGORITHM); in generateKey() 201 KEY_ALGORITHM, in generateAndroidKeyStoreKey()
|
D | TestData.java | 40 private static final String KEY_ALGORITHM = "AES"; field in TestData 178 KeyGenerator keyGenerator = KeyGenerator.getInstance(KEY_ALGORITHM); in generateKey()
|
D | RecoverableKeyGeneratorTest.java | 56 private static final String KEY_ALGORITHM = "AES"; field in RecoverableKeyGeneratorTest 173 KEY_ALGORITHM, in generatePlatformKey()
|
D | PlatformKeyManagerTest.java | 72 private static final String KEY_ALGORITHM = "AES"; field in PlatformKeyManagerTest 580 KEY_ALGORITHM, in generateAndroidKeyStoreKey()
|
D | KeySyncTaskTest.java | 83 private static final String KEY_ALGORITHM = "AES"; field in KeySyncTaskTest 845 KeyGenerator keyGenerator = KeyGenerator.getInstance(KEY_ALGORITHM); in generateKey() 852 KEY_ALGORITHM, in generateAndroidKeyStoreKey()
|
D | RecoverableKeyStoreManagerTest.java | 142 private static final String KEY_ALGORITHM = "AES"; field in RecoverableKeyStoreManagerTest 1315 KEY_ALGORITHM, in generateAndroidKeyStoreKey()
|
/frameworks/base/packages/BackupEncryption/test/robolectric/src/com/android/server/backup/encryption/keys/ |
D | TertiaryKeyGeneratorTest.java | 36 private static final String KEY_ALGORITHM = "AES"; field in TertiaryKeyGeneratorTest 52 assertThat(secretKey.getAlgorithm()).isEqualTo(KEY_ALGORITHM); in generate_generatesAESKeys()
|
/frameworks/base/packages/BackupEncryption/test/robolectric/src/com/android/server/backup/encryption/chunking/ |
D | ChunkHasherTest.java | 37 private static final String KEY_ALGORITHM = "AES"; field in ChunkHasherTest 48 mSecretKey = new SecretKeySpec(TEST_KEY, KEY_ALGORITHM); in setUp()
|
/frameworks/base/packages/BackupEncryption/test/robolectric/src/com/android/server/backup/encryption/chunking/cdc/ |
D | FingerprintMixerTest.java | 42 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/core/java/com/android/server/accounts/ |
D | CryptoHelper.java | 30 private static final String KEY_ALGORITHM = "AES"; field in CryptoHelper 49 KeyGenerator kgen = KeyGenerator.getInstance(KEY_ALGORITHM); in CryptoHelper()
|
/frameworks/base/packages/BackupEncryption/test/robolectric/src/com/android/server/testing/ |
D | CryptoTestUtils.java | 37 private static final String KEY_ALGORITHM = "AES"; field in CryptoTestUtils 43 KeyGenerator keyGenerator = KeyGenerator.getInstance(KEY_ALGORITHM); in generateAesKey()
|
/frameworks/base/packages/BackupEncryption/test/robolectric-integration/src/com/android/server/backup/encryption/ |
D | RoundTripTest.java | 89 private static final String KEY_ALGORITHM = "AES"; field in RoundTripTest 263 KeyGenerator keyGenerator = KeyGenerator.getInstance(KEY_ALGORITHM); in generateAesKey()
|
/frameworks/base/services/core/java/com/android/server/locksettings/recoverablekeystore/ |
D | PlatformKeyManager.java | 72 private static final String KEY_ALGORITHM = "AES"; field in PlatformKeyManager 460 KeyGenerator keyGenerator = KeyGenerator.getInstance(KEY_ALGORITHM); in generateAesKey()
|
/frameworks/base/packages/BackupEncryption/test/robolectric/src/com/android/server/backup/encryption/tasks/ |
D | KvBackupEncrypterTest.java | 62 private static final String KEY_ALGORITHM = "AES"; field in KvBackupEncrypterTest 80 mSecretKey = new SecretKeySpec(TEST_TERTIARY_KEY, KEY_ALGORITHM); in setUp()
|