2020-10-27 00:05:07 +00:00
|
|
|
#ifndef PQCLEAN_KYBER51290S_AVX2_CDECL_H
|
|
|
|
#define PQCLEAN_KYBER51290S_AVX2_CDECL_H
|
2020-07-31 07:17:42 +01:00
|
|
|
|
|
|
|
#define _16XQ 0
|
|
|
|
#define _16XQINV 16
|
|
|
|
#define _16XV 32
|
|
|
|
#define _16XFLO 48
|
|
|
|
#define _16XFHI 64
|
|
|
|
#define _16XMONTSQLO 80
|
|
|
|
#define _16XMONTSQHI 96
|
|
|
|
#define _16XMASK 112
|
|
|
|
#define _ZETAS_EXP 128
|
|
|
|
#define _ZETAS_INV_EXP 528
|
|
|
|
|
|
|
|
|
|
|
|
/* The C ABI on MacOS exports all symbols with a leading
|
|
|
|
* underscore. This means that any symbols we refer to from
|
|
|
|
* C files (functions) can't be found, and all symbols we
|
|
|
|
* refer to from ASM also can't be found (nttconsts.c).
|
|
|
|
*
|
|
|
|
* This define helps us get around this
|
|
|
|
*/
|
|
|
|
|
2020-10-27 00:05:07 +00:00
|
|
|
#define _cdecl(s) _##s
|
2020-07-31 07:17:42 +01:00
|
|
|
#define cdecl(s) s
|
|
|
|
#endif
|