Searched refs:protectorKeyAlias (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 50 if (mBlobs.containsKey(protectorKeyAlias) && in decryptSpBlob() 51 !Arrays.equals(mBlobs.get(protectorKeyAlias), blob)) { in decryptSpBlob() 53 + protectorKeyAlias); in decryptSpBlob() 76 protected byte[] createSpBlob(String protectorKeyAlias, byte[] data, byte[] protectorSecret, in createSpBlob() argument 86 mBlobs.put(protectorKeyAlias, result); in createSpBlob()
|
/frameworks/base/services/core/java/com/android/server/locksettings/ |
D | SyntheticPasswordCrypto.java | 133 public static byte[] decryptBlobV1(String protectorKeyAlias, byte[] blob, in decryptBlobV1() argument 137 SecretKey protectorKey = (SecretKey) keyStore.getKey(protectorKeyAlias, null); in decryptBlobV1() 140 + protectorKeyAlias); in decryptBlobV1() 168 public static byte[] decryptBlob(String protectorKeyAlias, byte[] blob, in decryptBlob() argument 173 SecretKey protectorKey = (SecretKey) keyStore.getKey(protectorKeyAlias, null); in decryptBlob() 176 + protectorKeyAlias); in decryptBlob() 201 public static byte[] createBlob(String protectorKeyAlias, byte[] data, byte[] protectorSecret, in createBlob() argument 222 keyStore.setEntry(protectorKeyAlias, entry, protRollbackResistant); in createBlob() 227 keyStore.setEntry(protectorKeyAlias, entry, protNonRollbackResistant); in createBlob()
|
D | SyntheticPasswordManager.java | 1894 protected byte[] decryptSpBlob(String protectorKeyAlias, byte[] blob, byte[] protectorSecret) { in decryptSpBlob() argument 1895 return SyntheticPasswordCrypto.decryptBlob(protectorKeyAlias, blob, protectorSecret); in decryptSpBlob() 1899 protected byte[] createSpBlob(String protectorKeyAlias, byte[] data, byte[] protectorSecret, in createSpBlob() argument 1901 return SyntheticPasswordCrypto.createBlob(protectorKeyAlias, data, protectorSecret, sid); in createSpBlob()
|