Searched refs:lockScreenHash (Results 1 – 3 of 3) sorted by relevance
85 byte[] lockScreenHash, in thmEncryptRecoveryKey() argument89 byte[] encryptedRecoveryKey = locallyEncryptRecoveryKey(lockScreenHash, recoveryKey); in thmEncryptRecoveryKey()90 byte[] thmKfHash = calculateThmKfHash(lockScreenHash); in thmEncryptRecoveryKey()108 public static byte[] calculateThmKfHash(byte[] lockScreenHash) in calculateThmKfHash() argument112 messageDigest.update(lockScreenHash); in calculateThmKfHash()126 static byte[] locallyEncryptRecoveryKey(byte[] lockScreenHash, SecretKey recoveryKey) in locallyEncryptRecoveryKey() argument130 /*sharedSecret=*/ lockScreenHash, in locallyEncryptRecoveryKey()
531 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() argument853 /*sharedSecret=*/ KeySyncUtils.calculateThmKfHash(lockScreenHash), in decryptThmEncryptedKey()857 return KeySyncUtils.decryptRecoveryKey(lockScreenHash, locallyEncryptedKey); in decryptThmEncryptedKey()
75 byte[] lockScreenHash = utf8Bytes("012345678910"); in calculateThmKfHash_isShaOfLockScreenHashWithPrefix()77 byte[] thmKfHash = KeySyncUtils.calculateThmKfHash(lockScreenHash); in calculateThmKfHash_isShaOfLockScreenHashWithPrefix()