forked from wolfSSL/wolfssl
Merge pull request #7747 from lealem47/cubepack_armasm
Adding ARM ASM build option to STM32CubePack config
This commit is contained in:
@@ -534,6 +534,25 @@ extern ${variable.value} ${variable.name};
|
|||||||
#define NO_MD5
|
#define NO_MD5
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/* ------------------------------------------------------------------------- */
|
||||||
|
/* Crypto Acceleration */
|
||||||
|
/* ------------------------------------------------------------------------- */
|
||||||
|
/* This enables inline assembly speedups for SHA2, SHA3, AES,
|
||||||
|
* ChaCha20/Poly1305 and Ed/Curve25519. These settings work for Cortex M4/M7
|
||||||
|
* and the source code is located in wolfcrypt/src/port/arm/
|
||||||
|
*/
|
||||||
|
#if defined(WOLF_CONF_ARMASM) && WOLF_CONF_ARMASM == 1
|
||||||
|
#define WOLFSSL_ARMASM
|
||||||
|
#define WOLFSSL_ARMASM_INLINE
|
||||||
|
#define WOLFSSL_ARMASM_NO_HW_CRYPTO
|
||||||
|
#define WOLFSSL_ARMASM_NO_NEON
|
||||||
|
#define WOLFSSL_ARM_ARCH 7
|
||||||
|
/* Disable H/W offloading if accelerating S/W crypto */
|
||||||
|
#undef NO_STM32_HASH
|
||||||
|
#define NO_STM32_HASH
|
||||||
|
#undef NO_STM32_CRYPTO
|
||||||
|
#define NO_STM32_CRYPTO
|
||||||
|
#endif
|
||||||
|
|
||||||
/* ------------------------------------------------------------------------- */
|
/* ------------------------------------------------------------------------- */
|
||||||
/* Benchmark / Test */
|
/* Benchmark / Test */
|
||||||
|
Reference in New Issue
Block a user