Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/locksettings/
DSyntheticPasswordCrypto.java101 public static byte[] encrypt(byte[] keyBytes, byte[] personalization, byte[] message) { in encrypt() argument
102 byte[] keyHash = personalizedHash(personalization, keyBytes); in encrypt()
115 public static byte[] decrypt(byte[] keyBytes, byte[] personalization, byte[] ciphertext) { in decrypt() argument
116 byte[] keyHash = personalizedHash(personalization, keyBytes); in decrypt()
254 protected static byte[] personalizedHash(byte[] personalization, byte[]... message) { in personalizedHash() argument
258 if (personalization.length > PADDING_LENGTH) { in personalizedHash()
263 personalization = Arrays.copyOf(personalization, PADDING_LENGTH); in personalizedHash()
264 digest.update(personalization); in personalizedHash()
DSyntheticPasswordManager.java236 private byte[] deriveSubkey(byte[] personalization) { in deriveSubkey() argument
239 .withContext(personalization, PERSONALIZATION_CONTEXT); in deriveSubkey()
241 return SyntheticPasswordCrypto.personalizedHash(personalization, in deriveSubkey()
/frameworks/proto_logging/stats/enums/adservices/common/
Dadservices_enums.proto581 /** Skipped execution due to personalization not enabled. */