lokinet/crypto/libntrup
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
..
include devendor libsodium by default except for android 2019-10-29 12:01:58 -04:00
src AVX code: move stub into separate file; always check -mavx2/-mfma 2020-05-17 23:31:41 -03:00