def convert_uint32_to_array(value):
    """
    Converts a int to an array of 4 bytes (little endian)

    :param int value: int value to convert to list
    :return list[int]: list with 4 bytes
    """
    byte0 = value & 255
    byte1 = value >> 8 & 255
    byte2 = value >> 16 & 255
    byte3 = value >> 24 & 255
    return [byte0, byte1, byte2, byte3]
