Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/locksettings/recoverablekeystore/
DKeySyncUtils.java90 byte[] thmKfHash = calculateThmKfHash(lockScreenHash); in thmEncryptRecoveryKey()
94 /*sharedSecret=*/ thmKfHash, in thmEncryptRecoveryKey()
216 byte[] thmKfHash, in encryptRecoveryClaim() argument
222 /*payload=*/ concat(thmKfHash, keyClaimant)); in encryptRecoveryClaim()
DRecoverableKeyStoreManager.java521 byte[] thmKfHash = KeySyncUtils.calculateThmKfHash(kfHash); in startRecoverySession()
526 thmKfHash, in startRecoverySession()
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/recoverablekeystore/
DKeySyncUtilsTest.java77 byte[] thmKfHash = KeySyncUtils.calculateThmKfHash(lockScreenHash); in calculateThmKfHash_isShaOfLockScreenHashWithPrefix()
79 assertArrayEquals(calculateSha256(utf8Bytes("THM_KF_hash012345678910")), thmKfHash); in calculateThmKfHash_isShaOfLockScreenHashWithPrefix()
84 byte[] thmKfHash = KeySyncUtils.calculateThmKfHash(utf8Bytes("1234")); in calculateThmKfHash_is256BitsLong()
86 assertEquals(THM_KF_HASH_SIZE / Byte.SIZE, thmKfHash.length); in calculateThmKfHash_is256BitsLong()