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