MSVC cannot compile AES-GCM for now

This commit is contained in:
Frank Denis
2022-11-13 21:26:04 +01:00
parent 379cd8303b
commit 495a16cbe0
2 changed files with 2 additions and 2 deletions
@@ -48,7 +48,7 @@ crypto_aead_aes256gcm_keygen(unsigned char k[crypto_aead_aes256gcm_KEYBYTES])
}
#if !((defined(HAVE_ARMCRYPTO) && defined(__GNUC__) && defined(NATIVE_LITTLE_ENDIAN)) || \
(defined(HAVE_TMMINTRIN_H) && defined(HAVE_WMMINTRIN_H)))
(defined(HAVE_TMMINTRIN_H) && defined(HAVE_WMMINTRIN_H) && defined(__GNUC__)))
#ifndef ENOSYS
#define ENOSYS ENXIO
@@ -13,7 +13,7 @@
#include "runtime.h"
#include "utils.h"
#if defined(HAVE_TMMINTRIN_H) && defined(HAVE_WMMINTRIN_H)
#if defined(HAVE_TMMINTRIN_H) && defined(HAVE_WMMINTRIN_H) && defined(__GNUC__)
#ifdef __GNUC__
#pragma GCC target("ssse3")