Home
last modified time | relevance | path

Searched defs:recoveryKey (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/services/core/java/com/android/server/locksettings/recoverablekeystore/
DKeySyncUtils.java87 SecretKey recoveryKey in thmEncryptRecoveryKey()
126 static byte[] locallyEncryptRecoveryKey(byte[] lockScreenHash, SecretKey recoveryKey) in locallyEncryptRecoveryKey()
158 SecretKey recoveryKey, Map<String, Pair<SecretKey, byte[]>> keys) in encryptKeysWithRecoveryKey() argument
276 public static byte[] decryptApplicationKey(byte[] recoveryKey, byte[] encryptedApplicationKey, in decryptApplicationKey()
DKeySyncTask.java288 SecretKey recoveryKey; in syncKeysForAgent() local
DRecoverableKeyStoreManager.java869 private @NonNull Map<String, byte[]> recoverApplicationKeys(@NonNull byte[] recoveryKey, in recoverApplicationKeys()
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/recoverablekeystore/
DKeySyncUtilsTest.java133 SecretKey recoveryKey = KeySyncUtils.generateRecoveryKey(); in decryptApplicationKey_decryptsAnApplicationKey_nullMetadata() local
150 SecretKey recoveryKey = KeySyncUtils.generateRecoveryKey(); in decryptApplicationKey_decryptsAnApplicationKey_nonNullMetadata() local
188 SecretKey recoveryKey = KeySyncUtils.generateRecoveryKey(); in decryptApplicationKey_throwsIfWrongMetadata() local
226 SecretKey recoveryKey = KeySyncUtils.generateRecoveryKey(); in decryptRecoveryKey_decryptsALocallyEncryptedKey() local
237 SecretKey recoveryKey = KeySyncUtils.generateRecoveryKey(); in decryptRecoveryKey_throwsIfCannotDecrypt() local
DRecoverableKeyStoreManagerTest.java964 SecretKey recoveryKey = randomRecoveryKey(); in recoverKeyChainSnapshot_throwsIfFailedToDecryptAllApplicationKeys() local
994 SecretKey recoveryKey = randomRecoveryKey(); in recoverKeyChainSnapshot_doesNotThrowIfNoApplicationKeysToBeDecrypted() local
1014 SecretKey recoveryKey = randomRecoveryKey(); in recoverKeyChainSnapshot_returnsDecryptedKeys() local
1044 SecretKey recoveryKey = randomRecoveryKey(); in recoverKeyChainSnapshot_worksOnOtherApplicationKeysIfOneDecryptionFails() local
1270 SecretKey recoveryKey, byte[] applicationKey) throws Exception { in encryptedApplicationKey()
1281 SecretKey recoveryKey) throws Exception { in encryptClaimResponse()