1 // Configuration of micro-ecc for use with BTstack 2 // 3 // We only need/use SECP256R1 for LE Secure Connections 4 5 6 #ifndef BTSATCK_CONFIG_UECC_H__ 7 #define BTSATCK_CONFIG_UECC_H__ 8 9 #define uECC_CURVE uECC_secp256r1 10 #define uECC_NO_DEFAULT_RNG 11 12 // optimization: size vs. speed: uECC_asm_none - uECC_asm_small - uECC_asm_fast 13 #ifndef uECC_ASM 14 #define uECC_ASM uECC_asm_none 15 #endif 16 17 // don't use special square functions 18 #ifndef uECC_SQUARE_FUNC 19 #define uECC_SQUARE_FUNC 0 20 #endif 21 22 #endif 23