xref: /btstack/3rd-party/micro-ecc/btstack_config_uECC.h (revision 0561b2d8d5dba972c7daa57d5e677f7a1327edfd)
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 
11 // optimization: size vs. speed: uECC_asm_none - uECC_asm_small - uECC_asm_fast
12 #ifndef uECC_ASM
13 #define uECC_ASM uECC_asm_none
14 #endif
15 
16 // don't use special square functions
17 #ifndef uECC_SQUARE_FUNC
18 #define uECC_SQUARE_FUNC 0
19 #endif
20 
21 #endif
22