Sha256: 4ba74fd78c0d5e1c8804bae11246167c805a85ba5e6ffa33ed78e82b7c9ff40b
Contents?: true
Size: 596 Bytes
Versions: 6
Compression:
Stored size: 596 Bytes
Contents
#ifdef __SSE2__ # include "gimli-core/sse2.h" #else # include "gimli-core/portable.h" #endif static void gimli_core_u8(uint8_t state_u8[gimli_BLOCKBYTES], uint8_t tag) { state_u8[gimli_BLOCKBYTES - 1] ^= tag; #ifndef NATIVE_LITTLE_ENDIAN uint32_t state_u32[12]; int i; for (i = 0; i < 12; i++) { state_u32[i] = LOAD32_LE(&state_u8[i * 4]); } gimli_core(state_u32); for (i = 0; i < 12; i++) { STORE32_LE(&state_u8[i * 4], state_u32[i]); } #else gimli_core((uint32_t *) (void *) state_u8); /* state_u8 must be properly aligned */ #endif }
Version data entries
6 entries across 6 versions & 1 rubygems