use boost for endian tests in hash fns