Searched refs:protectorSecret (Results 1 – 3 of 3) sorted by relevance
/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/ |
H A D | MockSyntheticPasswordManager.java | 49 protected byte[] decryptSpBlob(String protectorKeyAlias, byte[] blob, byte[] protectorSecret) { in decryptSpBlob() argument 66 if (!Arrays.equals(storedProtectorSecret, protectorSecret)) { in decryptSpBlob() 76 protected byte[] createSpBlob(String protectorKeyAlias, byte[] data, byte[] protectorSecret, in createSpBlob() argument 79 + protectorSecret.length + Long.BYTES); in createSpBlob() 82 buffer.putInt(protectorSecret.length); in createSpBlob() 83 buffer.put(protectorSecret); in createSpBlob()
|
/aosp14/frameworks/base/services/core/java/com/android/server/locksettings/ |
H A D | SyntheticPasswordCrypto.java | 134 byte[] protectorSecret) { in decryptBlobV1() argument 142 byte[] intermediate = decrypt(protectorSecret, PROTECTOR_SECRET_PERSONALIZATION, blob); in decryptBlobV1() 169 byte[] protectorSecret) { in decryptBlob() argument 179 return decrypt(protectorSecret, PROTECTOR_SECRET_PERSONALIZATION, intermediate); in decryptBlob() 201 public static byte[] createBlob(String protectorKeyAlias, byte[] data, byte[] protectorSecret, in createBlob() argument 230 byte[] intermediate = encrypt(protectorSecret, PROTECTOR_SECRET_PERSONALIZATION, data); in createBlob()
|
H A D | SyntheticPasswordManager.java | 954 final byte[] protectorSecret; in createLskfBasedProtector() 974 protectorSecret = transformUnderWeaverSecret(stretchedLskf, weaverSecret); in createLskfBasedProtector() 1008 protectorSecret = transformUnderSecdiscardable(stretchedLskf, in createLskfBasedProtector() 1282 SyntheticPassword sp, byte[] protectorSecret, long sid, int userId) { in createSyntheticPasswordBlob() argument 1342 final byte[] protectorSecret; in unlockLskfBasedProtector() 1356 protectorSecret = transformUnderWeaverSecret(stretchedLskf, in unlockLskfBasedProtector() 1431 PROTECTOR_TYPE_LSKF_BASED, protectorSecret, sid, userId); in unlockLskfBasedProtector() 1536 byte[] protectorSecret = transformUnderSecdiscardable(token, secdiscardable); in unlockTokenBasedProtectorInternal() 1538 protectorSecret, 0L, userId); in unlockTokenBasedProtectorInternal() 1570 blob.mContent, protectorSecret); in unwrapSyntheticPasswordBlob() [all …]
|