import binascii


def get_crc32(data: bytes) -> int:
    """
    Python binascii.crc32 returns as unsigned int but we need signed int value
    """
    return int.from_bytes(
        binascii.crc32(data).to_bytes(4, 'little'),
        'little',
        signed=True
    )