fix crc322uint, input param is a static array
improved style