Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/locksettings/
DSyntheticPasswordCrypto.java46 private static final int PROFILE_KEY_IV_SIZE = 12; field in SyntheticPasswordCrypto
61 byte[] iv = Arrays.copyOfRange(blob, 0, PROFILE_KEY_IV_SIZE); in decrypt()
62 byte[] ciphertext = Arrays.copyOfRange(blob, PROFILE_KEY_IV_SIZE, blob.length); in decrypt()
82 if (iv.length != PROFILE_KEY_IV_SIZE) { in encrypt()
DLockSettingsService.java168 private static final int PROFILE_KEY_IV_SIZE = 12; field in LockSettingsService
1146 byte[] iv = Arrays.copyOfRange(storedData, 0, PROFILE_KEY_IV_SIZE); in getDecryptedPasswordForTiedProfile()
1147 byte[] encryptedPassword = Arrays.copyOfRange(storedData, PROFILE_KEY_IV_SIZE, in getDecryptedPasswordForTiedProfile()
1584 if (iv.length != PROFILE_KEY_IV_SIZE) { in tieProfileLockToParent()