File tree Expand file tree Collapse file tree 2 files changed +23
-0
lines changed Expand file tree Collapse file tree 2 files changed +23
-0
lines changed Original file line number Diff line number Diff line change @@ -982,6 +982,16 @@ menu "mbedTLS"
982
982
983
983
Disabling this option saves some code size.
984
984
985
+ config MBEDTLS_ECP_FIXED_POINT_OPTIM
986
+ bool "Enable fixed-point multiplication optimisations"
987
+ depends on MBEDTLS_ECP_C
988
+ default y
989
+ help
990
+ This configuration option enables optimizations to speedup (about 3 ~ 4 times) the ECP
991
+ fixed point multiplication using pre-computed tables in the flash memory.
992
+ Disabling this configuration option saves flash footprint (about 29KB if all Elliptic Curve selected)
993
+ in the application binary.
994
+
985
995
# end of Elliptic Curve options
986
996
987
997
config MBEDTLS_POLY1305_C
Original file line number Diff line number Diff line change 488
488
#undef MBEDTLS_ECP_NIST_OPTIM
489
489
#endif
490
490
491
+ /**
492
+ * \def MBEDTLS_ECP_FIXED_POINT_OPTIM
493
+ *
494
+ * Enable speed up fixed-point multiplication.
495
+ *
496
+ * Comment this macro to disable FIXED POINT curves optimisation.
497
+ */
498
+ #ifdef CONFIG_MBEDTLS_ECP_FIXED_POINT_OPTIM
499
+ #define MBEDTLS_ECP_FIXED_POINT_OPTIM 1
500
+ #else
501
+ #define MBEDTLS_ECP_FIXED_POINT_OPTIM 0
502
+ #endif
503
+
491
504
/**
492
505
* \def MBEDTLS_ECDSA_DETERMINISTIC
493
506
*
You can’t perform that action at this time.
0 commit comments