mirror of
https://github.com/BLAKE3-team/BLAKE3
synced 2024-05-09 20:06:12 +02:00
Merge 2ae92376b7
into 4ec3be8bfa
This commit is contained in:
commit
5a132e1683
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue