btstack_config_uECC.h 453 B

123456789101112131415161718192021
  1. // Configuration of micro-ecc for use with BTstack
  2. //
  3. // We only need/use SECP256R1 for LE Secure Connections
  4. #ifndef BTSATCK_CONFIG_UECC_H__
  5. #define BTSATCK_CONFIG_UECC_H__
  6. #define uECC_CURVE uECC_secp256r1
  7. // optimization: size vs. speed: uECC_asm_none - uECC_asm_small - uECC_asm_fast
  8. #ifndef uECC_ASM
  9. #define uECC_ASM uECC_asm_none
  10. #endif
  11. // don't use special square functions
  12. #ifndef uECC_SQUARE_FUNC
  13. #define uECC_SQUARE_FUNC 0
  14. #endif
  15. #endif