From 3870e9d2a10a03d9ce4392cb29fa65ab21b334a9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ond=C5=99ej=20Vejpustek?= Date: Sun, 1 Sep 2024 18:01:54 +0200 Subject: [PATCH] refactor(crypto): introduce symbolic constant for size optimization of ed25519 --- crypto/options.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/crypto/options.h b/crypto/options.h index 03f50ea664..f7df3e7114 100644 --- a/crypto/options.h +++ b/crypto/options.h @@ -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