/frameworks/base/services/robotests/backup/src/com/android/server/backup/encryption/keys/ |
D | TertiaryKeyGeneratorTest.java | 50 SecretKey secretKey = mTertiaryKeyGenerator.generate(); in generate_generatesAESKeys() local 52 assertThat(secretKey.getAlgorithm()).isEqualTo(KEY_ALGORITHM); in generate_generatesAESKeys() 58 SecretKey secretKey = mTertiaryKeyGenerator.generate(); in generate_generates256BitKeys() local 60 assertThat(secretKey.getEncoded()).hasLength(KEY_SIZE_BITS / 8); in generate_generates256BitKeys()
|
D | RecoverableKeyStoreSecondaryKeyTest.java | 85 SecretKey secretKey = mSecondaryKey.getSecretKey(); in getSecretKey() local 87 assertThat(secretKey).isEqualTo(mGeneratedSecretKey); in getSecretKey()
|
/frameworks/base/services/backup/java/com/android/server/backup/encryption/chunking/ |
D | ChunkHasher.java | 32 public ChunkHasher(SecretKey secretKey) { in ChunkHasher() argument 33 this.mSecretKey = secretKey; in ChunkHasher()
|
D | ChunkEncryptor.java | 44 public ChunkEncryptor(SecretKey secretKey, SecureRandom secureRandom) { in ChunkEncryptor() argument 45 this.mSecretKey = secretKey; in ChunkEncryptor()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/util/ |
D | WifiConfigStoreEncryptionUtil.java | 143 SecretKey secretKey = null; in getOrCreateSecretKey() local 150 secretKey = secretKeyEntry.getSecretKey(); in getOrCreateSecretKey() 169 secretKey = keyGenerator.generateKey(); in getOrCreateSecretKey() 182 return secretKey; in getOrCreateSecretKey()
|
/frameworks/base/services/core/java/com/android/server/locksettings/recoverablekeystore/storage/ |
D | ApplicationKeyStorage.java | 78 public void setSymmetricKeyEntry(int userId, int uid, String alias, byte[] secretKey) in setSymmetricKeyEntry() argument 81 userId, uid, alias, secretKey.length)); in setSymmetricKeyEntry() 86 new SecretKeySpec(secretKey, KeyProperties.KEY_ALGORITHM_AES)), in setSymmetricKeyEntry()
|
/frameworks/base/services/backup/java/com/android/server/backup/encryption/chunking/cdc/ |
D | FingerprintMixer.java | 59 public FingerprintMixer(SecretKey secretKey, byte[] salt) throws InvalidKeyException { in FingerprintMixer() argument 61 byte[] keyBytes = secretKey.getEncoded(); in FingerprintMixer()
|
/frameworks/base/services/backup/java/com/android/server/backup/encryption/keys/ |
D | RecoverableKeyStoreSecondaryKey.java | 48 public RecoverableKeyStoreSecondaryKey(String alias, SecretKey secretKey) { in RecoverableKeyStoreSecondaryKey() argument 50 mSecretKey = checkNotNull(secretKey); in RecoverableKeyStoreSecondaryKey()
|
D | RecoverableKeyStoreSecondaryKeyManager.java | 100 SecretKey secretKey = (SecretKey) mRecoveryController.getKey(alias); in get() local 101 return Optional.ofNullable(secretKey) in get()
|
/frameworks/base/services/core/java/com/android/server/locksettings/ |
D | SyntheticPasswordCrypto.java | 160 SecretKey secretKey = keyGenerator.generateKey(); in createBlob() local 174 new KeyStore.SecretKeyEntry(secretKey), in createBlob() 177 return encrypt(secretKey, intermediate); in createBlob()
|
D | LockSettingsService.java | 1595 SecretKey secretKey = keyGenerator.generateKey(); in tieProfileLockToParent() local 1601 new java.security.KeyStore.SecretKeyEntry(secretKey), in tieProfileLockToParent() 1608 new java.security.KeyStore.SecretKeyEntry(secretKey), in tieProfileLockToParent()
|
/frameworks/base/services/core/java/com/android/server/locksettings/recoverablekeystore/ |
D | PlatformKeyManager.java | 439 SecretKey secretKey = generateAesKey(); in generateAndLoadKey() local 464 new KeyStore.SecretKeyEntry(secretKey), in generateAndLoadKey() 468 new KeyStore.SecretKeyEntry(secretKey), in generateAndLoadKey()
|
D | RecoverableKeyStoreManager.java | 731 byte[] secretKey = mRecoverableKeyGenerator.generateAndStoreKey(encryptionKey, userId, in generateKeyWithMetadata() 733 mApplicationKeyStorage.setSymmetricKeyEntry(userId, uid, alias, secretKey); in generateKeyWithMetadata()
|
/frameworks/base/services/robotests/backup/src/com/android/server/backup/encryption/chunking/cdc/ |
D | ContentDefinedChunkerTest.java | 64 SecretKey secretKey = generateAesKey(); in setUp() local 68 mFingerprintMixer = new FingerprintMixer(secretKey, salt); in setUp()
|
/frameworks/base/services/core/java/com/android/server/net/watchlist/ |
D | WatchlistLoggingHandler.java | 276 final byte[] secretKey = mSettings.getPrivacySecretKey(); in tryAggregateRecords() 278 secretKey, digestsForReport, aggregatedResult); in tryAggregateRecords()
|