Skip to content

Commit

Permalink
aesni: define MBEDTLS_HAVE_X86
Browse files Browse the repository at this point in the history
Signed-off-by: Pengyu Lv <[email protected]>
  • Loading branch information
lpy4105 committed Sep 13, 2023
1 parent 198fbc2 commit 5a09159
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions include/mbedtls/aesni.h
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,11 @@
#define MBEDTLS_HAVE_X86_64
#endif

#if !defined(MBEDTLS_HAVE_X86) && \
(defined(__i386__) || defined(_M_IX86))
#define MBEDTLS_HAVE_X86
#endif

#if defined(MBEDTLS_AESNI_C)

/* Can we do AESNI with intrinsics?
Expand Down

0 comments on commit 5a09159

Please sign in to comment.