Searched refs:PROFILE_KEY_IV_SIZE (Results 1 – 2 of 2) sorted by relevance
46 private static final int PROFILE_KEY_IV_SIZE = 12; field in SyntheticPasswordCrypto61 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()
168 private static final int PROFILE_KEY_IV_SIZE = 12; field in LockSettingsService1146 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()