xref: /btstack/3rd-party/micro-ecc/btstack_config_uECC.h (revision af03003c8ac55cf0eea9563b597879b24aee256f)
1*af03003cSMatthias Ringwald // Configuration of micro-ecc for use with BTstack
2*af03003cSMatthias Ringwald //
3*af03003cSMatthias Ringwald // We only need/use SECP256R1 for LE Secure Connections
4*af03003cSMatthias Ringwald #define uECC_CURVE uECC_secp256r1
5*af03003cSMatthias Ringwald 
6*af03003cSMatthias Ringwald // optimization: size vs. speed: uECC_asm_none - uECC_asm_small - uECC_asm_fast
7*af03003cSMatthias Ringwald #ifndef uECC_ASM
8*af03003cSMatthias Ringwald #define uECC_ASM uECC_asm_none
9*af03003cSMatthias Ringwald #endif
10*af03003cSMatthias Ringwald 
11*af03003cSMatthias Ringwald // don't use special square functions
12*af03003cSMatthias Ringwald #ifndef uECC_SQUARE_FUNC
13*af03003cSMatthias Ringwald #define uECC_SQUARE_FUNC 0
14*af03003cSMatthias Ringwald #endif
15