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.java85 byte[] lockScreenHash, in thmEncryptRecoveryKey() argument
89 byte[] encryptedRecoveryKey = locallyEncryptRecoveryKey(lockScreenHash, recoveryKey); in thmEncryptRecoveryKey()
90 byte[] thmKfHash = calculateThmKfHash(lockScreenHash); in thmEncryptRecoveryKey()
108 public static byte[] calculateThmKfHash(byte[] lockScreenHash) in calculateThmKfHash() argument
112 messageDigest.update(lockScreenHash); in calculateThmKfHash()
126 static byte[] locallyEncryptRecoveryKey(byte[] lockScreenHash, SecretKey recoveryKey) in locallyEncryptRecoveryKey() argument
130 /*sharedSecret=*/ lockScreenHash, in locallyEncryptRecoveryKey()
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/recoverablekeystore/
DKeySyncTaskTest.java531 byte[] lockScreenHash = KeySyncTask.hashCredentialsBySaltedSha256( in run_sendsEncryptedKeysIfAvailableToSync_withRawPublicKey()
537 lockScreenHash, in run_sendsEncryptedKeysIfAvailableToSync_withRawPublicKey()
850 byte[] lockScreenHash, byte[] encryptedKey, byte[] vaultParams) throws Exception { in decryptThmEncryptedKey() argument
853 /*sharedSecret=*/ KeySyncUtils.calculateThmKfHash(lockScreenHash), in decryptThmEncryptedKey()
857 return KeySyncUtils.decryptRecoveryKey(lockScreenHash, locallyEncryptedKey); in decryptThmEncryptedKey()
DKeySyncUtilsTest.java75 byte[] lockScreenHash = utf8Bytes("012345678910"); in calculateThmKfHash_isShaOfLockScreenHashWithPrefix()
77 byte[] thmKfHash = KeySyncUtils.calculateThmKfHash(lockScreenHash); in calculateThmKfHash_isShaOfLockScreenHashWithPrefix()