mirror of
https://github.com/kmackay/micro-ecc.git
synced 2026-09-24 18:07:32 +00:00
Add faster ARM multiplication code using UMAAL (#69)
On ARM platforms that support UMAAL, this new code should speed up curve operations by 15-20%. There is automatic detection of UMAAL support using compiler macros, but if it doesn't work for a given platform, #define uECC_ARM_USE_UMAAL to 1 or 0 as desired.
This commit is contained in:
@@ -23,7 +23,9 @@ platform. */
|
||||
|
||||
/* Optimization level; trade speed for code size.
|
||||
Larger values produce code that is faster but larger.
|
||||
Currently supported values are 0 - 3; 0 is unusably slow for most applications. */
|
||||
Currently supported values are 0 - 4; 0 is unusably slow for most applications.
|
||||
Optimization level 4 currently only has an effect ARM platforms where more than one
|
||||
curve is enabled. */
|
||||
#ifndef uECC_OPTIMIZATION_LEVEL
|
||||
#define uECC_OPTIMIZATION_LEVEL 2
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user