Skip to content

Commit

Permalink
fix compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
ttytm committed Mar 27, 2024
1 parent 19c910c commit 6cae8f8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion thirdparty/mbedtls/library/aesni.h
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,8 @@
#define MBEDTLS_AESNI_CLMUL 0x00000002u

#if defined(MBEDTLS_AESNI_C) && \
(defined(MBEDTLS_ARCH_IS_X64) || defined(MBEDTLS_ARCH_IS_X86))
(defined(MBEDTLS_ARCH_IS_X64) || defined(MBEDTLS_ARCH_IS_X86)) && \
defined(MBEDTLS_HAVE_ASM) && defined(__GNUC__)

/* Can we do AESNI with intrinsics?
* (Only implemented with certain compilers, only for certain targets.)
Expand Down

0 comments on commit 6cae8f8

Please sign in to comment.