Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/locksettings/
DSyntheticPasswordCrypto.java98 public static byte[] encrypt(byte[] keyBytes, byte[] personalisation, byte[] message) { in encrypt() argument
99 byte[] keyHash = personalisedHash(personalisation, keyBytes); in encrypt()
112 public static byte[] decrypt(byte[] keyBytes, byte[] personalisation, byte[] ciphertext) { in decrypt() argument
113 byte[] keyHash = personalisedHash(personalisation, keyBytes); in decrypt()
209 protected static byte[] personalisedHash(byte[] personalisation, byte[]... message) { in personalisedHash() argument
213 if (personalisation.length > PADDING_LENGTH) { in personalisedHash()
218 personalisation = Arrays.copyOf(personalisation, PADDING_LENGTH); in personalisedHash()
219 digest.update(personalisation); in personalisedHash()