Searched refs:protectorSecret (Results 1 – 3 of 3) sorted by relevance
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/ |
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()
|
/frameworks/base/services/core/java/com/android/server/locksettings/ |
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()
|
D | SyntheticPasswordManager.java | 1010 final byte[] protectorSecret; in createLskfBasedProtector() 1031 protectorSecret = transformUnderWeaverSecret(stretchedLskf, weaverSecret); in createLskfBasedProtector() 1065 protectorSecret = transformUnderSecdiscardable(stretchedLskf, in createLskfBasedProtector() 1074 createSyntheticPasswordBlob(protectorId, PROTECTOR_TYPE_LSKF_BASED, sp, protectorSecret, in createLskfBasedProtector() 1342 SyntheticPassword sp, byte[] protectorSecret, long sid, int userId) { in createSyntheticPasswordBlob() argument 1350 byte[] content = createSpBlob(getProtectorKeyAlias(protectorId), spSecret, protectorSecret, in createSyntheticPasswordBlob() 1402 final byte[] protectorSecret; in unlockLskfBasedProtector() 1418 protectorSecret = transformUnderWeaverSecret(stretchedLskf, in unlockLskfBasedProtector() 1481 protectorSecret = transformUnderSecdiscardable(stretchedLskf, secdiscardable); in unlockLskfBasedProtector() 1493 PROTECTOR_TYPE_LSKF_BASED, protectorSecret, sid, userId); in unlockLskfBasedProtector() [all …]
|