3rd-party/micro-ecc: avoid warning for undefined preprocessing identifier

This commit is contained in:
Matthias Ringwald 2023-03-03 18:47:48 +01:00
parent 75feb4ebc3
commit cf7250aa3d

View File

@ -9,6 +9,11 @@
#define uECC_CURVE uECC_secp256r1
#define uECC_NO_DEFAULT_RNG
// avoid warning for undefined preprocessing identifier
#ifndef uECC_SUPPORTS_secp256r1
#define uECC_SUPPORTS_secp256r1 0
#endif
// optimization: size vs. speed: uECC_asm_none - uECC_asm_small - uECC_asm_fast
#ifndef uECC_ASM
#define uECC_ASM uECC_asm_none