lokinet/crypto/libntrup/src/avx
Jason Rhinelander 5e91c946c5 AVX code: move stub into separate file; always check -mavx2/-mfma
This simplifies the build a bit by moving the avx stubs into a single .c
file: we can avoid compiling all of the avx2 code and just add a single
stub file instead when the compiler doesn't have -mavx2/-mfma.

This also simplifies cmake to just always test the flags; there are some
cases (like using NATIVE_BUILD) where USE_AVX2 doesn't necessarily
apply, and it's cheap to just check them.
2020-05-17 23:31:41 -03:00
..
api.h restructure original code into libntrup 2018-08-13 11:43:27 -04:00
dec.c AVX code: move stub into separate file; always check -mavx2/-mfma 2020-05-17 23:31:41 -03:00
enc.c AVX code: move stub into separate file; always check -mavx2/-mfma 2020-05-17 23:31:41 -03:00
implementors restructure original code into libntrup 2018-08-13 11:43:27 -04:00
int32_sort.c clang-format remaining code, use __asm__ for avx2 port since we 2019-09-03 08:02:35 -05:00
int32_sort.h bundle relevent libsodium parts 2018-10-23 07:29:37 -04:00
keypair.c AVX code: move stub into separate file; always check -mavx2/-mfma 2020-05-17 23:31:41 -03:00
mod3.h bundle relevent libsodium parts 2018-10-23 07:29:37 -04:00
modq.h bundle relevent libsodium parts 2018-10-23 07:29:37 -04:00
mult.c Enable -Wextra 2018-11-07 15:31:13 +00:00
params.h restructure original code into libntrup 2018-08-13 11:43:27 -04:00
r3_recip.c make format crypto/ 2019-09-03 08:02:35 -05:00
r3.h make format crypto/ 2019-09-03 08:02:35 -05:00
randomsmall.c bundle relevent libsodium parts 2018-10-23 07:29:37 -04:00
randomweightw.c bundle relevent libsodium parts 2018-10-23 07:29:37 -04:00
rq_mod3.c make format crypto/ 2019-09-03 08:02:35 -05:00
rq_recip3.c make format crypto/ 2019-09-03 08:02:35 -05:00
rq_round3.c make format crypto/ 2019-09-03 08:02:35 -05:00
rq_rounded.c make format crypto/ 2019-09-03 08:02:35 -05:00
rq.c bundle relevent libsodium parts 2018-10-23 07:29:37 -04:00
rq.h make format crypto/ 2019-09-03 08:02:35 -05:00
small.c make android compile again 2018-11-06 09:06:09 -05:00
small.h bundle relevent libsodium parts 2018-10-23 07:29:37 -04:00
swap.c make format crypto/ 2019-09-03 08:02:35 -05:00
swap.h make format crypto/ 2019-09-03 08:02:35 -05:00
weight.c bundle relevent libsodium parts 2018-10-23 07:29:37 -04:00