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.java96 public static byte[] encrypt(byte[] keyBytes, byte[] personalisation, byte[] message) { in encrypt() argument
97 byte[] keyHash = personalisedHash(personalisation, keyBytes); in encrypt()
110 public static byte[] decrypt(byte[] keyBytes, byte[] personalisation, byte[] ciphertext) { in decrypt() argument
111 byte[] keyHash = personalisedHash(personalisation, keyBytes); in decrypt()
200 protected static byte[] personalisedHash(byte[] personalisation, byte[]... message) { in personalisedHash() argument
204 if (personalisation.length > PADDING_LENGTH) { in personalisedHash()
209 personalisation = Arrays.copyOf(personalisation, PADDING_LENGTH); in personalisedHash()
210 digest.update(personalisation); in personalisedHash()