mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-12-22 14:28:07 +00:00
refactor(crypto): introduce symbolic constant for size optimization of ed25519
This commit is contained in:
parent
f246f82b02
commit
3870e9d2a1
@ -35,6 +35,10 @@
|
||||
#define OPTIMIZE_SIZE_BLAKE2B OPTIMIZE_SIZE
|
||||
#endif
|
||||
|
||||
#ifndef OPTIMIZE_SIZE_ED25519
|
||||
#define OPTIMIZE_SIZE_ED25519 OPTIMIZE_SIZE
|
||||
#endif
|
||||
|
||||
// use precomputed Curve Points (some scalar multiples of curve base point G)
|
||||
#ifndef USE_PRECOMPUTED_CP
|
||||
#define USE_PRECOMPUTED_CP 0
|
||||
|
Loading…
Reference in New Issue
Block a user