1af03003cSMatthias Ringwald // Configuration of micro-ecc for use with BTstack 2af03003cSMatthias Ringwald // 3af03003cSMatthias Ringwald // We only need/use SECP256R1 for LE Secure Connections 443d468d2SMatthias Ringwald 543d468d2SMatthias Ringwald 643d468d2SMatthias Ringwald #ifndef BTSATCK_CONFIG_UECC_H__ 743d468d2SMatthias Ringwald #define BTSATCK_CONFIG_UECC_H__ 843d468d2SMatthias Ringwald 9af03003cSMatthias Ringwald #define uECC_CURVE uECC_secp256r1 1080dcb211SMatthias Ringwald #define uECC_NO_DEFAULT_RNG 11af03003cSMatthias Ringwald 12*cf7250aaSMatthias Ringwald // avoid warning for undefined preprocessing identifier 13*cf7250aaSMatthias Ringwald #ifndef uECC_SUPPORTS_secp256r1 14*cf7250aaSMatthias Ringwald #define uECC_SUPPORTS_secp256r1 0 15*cf7250aaSMatthias Ringwald #endif 16*cf7250aaSMatthias Ringwald 17af03003cSMatthias Ringwald // optimization: size vs. speed: uECC_asm_none - uECC_asm_small - uECC_asm_fast 18af03003cSMatthias Ringwald #ifndef uECC_ASM 19af03003cSMatthias Ringwald #define uECC_ASM uECC_asm_none 20af03003cSMatthias Ringwald #endif 21af03003cSMatthias Ringwald 22af03003cSMatthias Ringwald // don't use special square functions 23af03003cSMatthias Ringwald #ifndef uECC_SQUARE_FUNC 24af03003cSMatthias Ringwald #define uECC_SQUARE_FUNC 0 25af03003cSMatthias Ringwald #endif 2643d468d2SMatthias Ringwald 2743d468d2SMatthias Ringwald #endif 28