-rw-r--r-- 462 ntruprime-20190330/Optimized_Implementation/kem/sntrup653/uint32.h
#ifndef UINT32_H #define UINT32_H #include "uint16.h" typedef uint32_t uint32; /* assuming 1 <= m < 16384: q = uint32_div_uint14(x,m) means q = x/m r = uint32_mod_uint14(x,m) means r = x/m uint32_moddiv_uint14(&q,&r,x,m) means q = x/m, r = x%m */ extern uint32 uint32_div_uint14(uint32,uint16); extern uint16 uint32_mod_uint14(uint32,uint16); extern void uint32_divmod_uint14(uint32 *,uint16 *,uint32,uint16); extern void uint32_sort(uint32 *,int); #endif