mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-08-05 19:35:48 +03:00
@@ -2076,12 +2076,15 @@
|
|||||||
* Module: library/aesce.c
|
* Module: library/aesce.c
|
||||||
* Caller: library/aes.c
|
* Caller: library/aes.c
|
||||||
*
|
*
|
||||||
* Requires: MBEDTLS_HAVE_ASM, MBEDTLS_AES_C
|
* Requires: MBEDTLS_AES_C
|
||||||
*
|
*
|
||||||
* \warning Runtime detection only works on Linux. For non-Linux operating
|
* \warning Runtime detection only works on Linux. For non-Linux operating
|
||||||
* system, Armv8-A Cryptographic Extensions must be supported by
|
* system, Armv8-A Cryptographic Extensions must be supported by
|
||||||
* the CPU when this option is enabled.
|
* the CPU when this option is enabled.
|
||||||
*
|
*
|
||||||
|
* \note The minimum version of MSVC for building this module is "Visual
|
||||||
|
* Studio 2019 version 16.11.2"(`_MSC_VER >= 1929`)
|
||||||
|
*
|
||||||
* This module adds support for the AES Armv8-A Cryptographic Extensions on Aarch64 systems.
|
* This module adds support for the AES Armv8-A Cryptographic Extensions on Aarch64 systems.
|
||||||
*/
|
*/
|
||||||
#define MBEDTLS_AESCE_C
|
#define MBEDTLS_AESCE_C
|
||||||
|
@@ -35,7 +35,11 @@
|
|||||||
#define MBEDTLS_HAVE_ARM64
|
#define MBEDTLS_HAVE_ARM64
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* MSVC */
|
/* MSVC
|
||||||
|
* TODO: We haven't verified msvc from 1920 to 1928. If someone verified that,
|
||||||
|
* please update this and document of `MBEDTLS_AESCE_C` in
|
||||||
|
* `mbedtls_config.h`
|
||||||
|
*/
|
||||||
#if defined(_MSC_VER) && _MSC_VER >=1929 && \
|
#if defined(_MSC_VER) && _MSC_VER >=1929 && \
|
||||||
(defined(_M_ARM64) || defined(_M_ARM64EC))
|
(defined(_M_ARM64) || defined(_M_ARM64EC))
|
||||||
#define MBEDTLS_HAVE_ARM64
|
#define MBEDTLS_HAVE_ARM64
|
||||||
|
Reference in New Issue
Block a user