Skip to content

Instantly share code, notes, and snippets.

@Mr-Groch
Mr-Groch / 32 bit version of niahash.c
Last active November 13, 2016 14:45 — forked from Noctem/niahash.c
niahash c
#include <stdint.h>
#include <string.h>
#define HI(n) ((uint64_t)(n)>>32)
#define LO(n) ((uint64_t)(n)&0xffffffff)
#define U128(hi,lo) ((my_uint128_t){ .high = hi, .low = lo})
typedef struct {
uint64_t high;
uint64_t low;