Branch: Tag:

2019-05-01

2019-05-01 13:52:39 by Marcus Comstedt <marcus@mc.pp.se>

Siphash24: Detect the case that PIKE_BYTEORDER is neither 1234 or 4321

27: Inside #if PIKE_BYTEORDER == 1234
   return low_hashmem_siphash24(in, len*2, len*2, key);   }    - #else + #elif PIKE_BYTEORDER == 4321   ATTRIBUTE((unused))   #ifdef __i386__   ATTRIBUTE((fastcall))
42:   ATTRIBUTE((hot))   PMOD_EXPORT UINT64 low_hashmem_siphash24_uint16( const unsigned INT16 *in, size_t len,    UINT64 key ); + #else + #error siphash24 only supports big-endian and little-endian   #endif      ATTRIBUTE((unused))