1
0
Fork 0
mirror of https://github.com/BLAKE3-team/BLAKE3 synced 2024-04-27 21:05:05 +02:00
This commit is contained in:
divinity76 2024-03-22 21:18:10 -07:00 committed by GitHub
commit 5a132e1683
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -20,6 +20,14 @@ enum blake3_flags {
DERIVE_KEY_MATERIAL = 1 << 6,
};
#ifdef BLAKE3_FORCE_PORTABLE
#define BLAKE3_NO_SSE2
#define BLAKE3_NO_SSE41
#define BLAKE3_NO_AVX2
#define BLAKE3_NO_AVX512
#define BLAKE3_USE_NEON 0
#endif
// This C implementation tries to support recent versions of GCC, Clang, and
// MSVC.
#if defined(_MSC_VER)