Home
last modified time | relevance | path

Searched refs:lockScreenHash (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/services/core/java/com/android/server/locksettings/recoverablekeystore/
DKeySyncUtils.java87 byte[] lockScreenHash, in thmEncryptRecoveryKey() argument
91 byte[] encryptedRecoveryKey = locallyEncryptRecoveryKey(lockScreenHash, recoveryKey); in thmEncryptRecoveryKey()
92 byte[] thmKfHash = calculateThmKfHash(lockScreenHash); in thmEncryptRecoveryKey()
110 public static byte[] calculateThmKfHash(byte[] lockScreenHash) in calculateThmKfHash() argument
114 messageDigest.update(lockScreenHash); in calculateThmKfHash()
128 static byte[] locallyEncryptRecoveryKey(byte[] lockScreenHash, SecretKey recoveryKey) in locallyEncryptRecoveryKey() argument
132 /*sharedSecret=*/ lockScreenHash, in locallyEncryptRecoveryKey()
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/recoverablekeystore/
DKeySyncTaskTest.java561 byte[] lockScreenHash = KeySyncTask.hashCredentialsBySaltedSha256( in run_sendsEncryptedKeysIfAvailableToSync_withRawPublicKey()
567 lockScreenHash, in run_sendsEncryptedKeysIfAvailableToSync_withRawPublicKey()
924 byte[] lockScreenHash, byte[] encryptedKey, byte[] vaultParams) throws Exception { in decryptThmEncryptedKey() argument
927 /*sharedSecret=*/ KeySyncUtils.calculateThmKfHash(lockScreenHash), in decryptThmEncryptedKey()
931 return KeySyncUtils.decryptRecoveryKey(lockScreenHash, locallyEncryptedKey); in decryptThmEncryptedKey()
DKeySyncUtilsTest.java78 byte[] lockScreenHash = utf8Bytes("012345678910"); in calculateThmKfHash_isShaOfLockScreenHashWithPrefix()
80 byte[] thmKfHash = KeySyncUtils.calculateThmKfHash(lockScreenHash); in calculateThmKfHash_isShaOfLockScreenHashWithPrefix()