2021-02-01 05:32:40 +00:00
|
|
|
#ifndef PQCLEAN_DILITHIUM5_AVX2_CDECL_H
|
|
|
|
#define PQCLEAN_DILITHIUM5_AVX2_CDECL_H
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#define _8XQ 0
|
|
|
|
#define _8XQINV 8
|
|
|
|
#define _8XDIV_QINV 16
|
|
|
|
#define _8XDIV 24
|
|
|
|
#define _ZETAS_QINV 32
|
|
|
|
#define _ZETAS 328
|
2019-12-11 14:06:02 +00:00
|
|
|
|
|
|
|
/* 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
|
|
|
|
*/
|
|
|
|
|
2021-02-01 05:32:40 +00:00
|
|
|
#define _cdecl(s) _##s
|
2019-12-11 14:06:02 +00:00
|
|
|
#define cdecl(s) s
|
|
|
|
|
|
|
|
#endif
|