mirror of
https://github.com/jedisct1/libsodium.git
synced 2026-08-25 08:37:13 +09:00
Try to enable aes256-gcm even on non-clang compilers
This commit is contained in:
@@ -47,7 +47,7 @@ crypto_aead_aes256gcm_keygen(unsigned char k[crypto_aead_aes256gcm_KEYBYTES])
|
||||
randombytes_buf(k, crypto_aead_aes256gcm_KEYBYTES);
|
||||
}
|
||||
|
||||
#if !((defined(HAVE_ARMCRYPTO) && defined(__clang__) && defined(NATIVE_LITTLE_ENDIAN)) || \
|
||||
#if !((defined(HAVE_ARMCRYPTO) && defined(NATIVE_LITTLE_ENDIAN)) || \
|
||||
(defined(HAVE_TMMINTRIN_H) && defined(HAVE_WMMINTRIN_H)))
|
||||
|
||||
#ifndef ENOSYS
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
#include "runtime.h"
|
||||
#include "utils.h"
|
||||
|
||||
#if defined(HAVE_ARMCRYPTO) && defined(__clang__) && defined(NATIVE_LITTLE_ENDIAN)
|
||||
#if defined(HAVE_ARMCRYPTO) && defined(NATIVE_LITTLE_ENDIAN)
|
||||
|
||||
#if !defined(_MSC_VER) || _MSC_VER < 1800
|
||||
#define __vectorcall
|
||||
|
||||
Reference in New Issue
Block a user