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 10*80dcb211SMatthias Ringwald #define uECC_NO_DEFAULT_RNG 11af03003cSMatthias Ringwald 12af03003cSMatthias Ringwald // optimization: size vs. speed: uECC_asm_none - uECC_asm_small - uECC_asm_fast 13af03003cSMatthias Ringwald #ifndef uECC_ASM 14af03003cSMatthias Ringwald #define uECC_ASM uECC_asm_none 15af03003cSMatthias Ringwald #endif 16af03003cSMatthias Ringwald 17af03003cSMatthias Ringwald // don't use special square functions 18af03003cSMatthias Ringwald #ifndef uECC_SQUARE_FUNC 19af03003cSMatthias Ringwald #define uECC_SQUARE_FUNC 0 20af03003cSMatthias Ringwald #endif 2143d468d2SMatthias Ringwald 2243d468d2SMatthias Ringwald #endif 23