from .generator import CrcGen, CrcGenError from .parameters import CRC_PARAMETERS from .util import int2poly, poly2int