summaryrefslogtreecommitdiff
path: root/eddsa-sign.c
diff options
context:
space:
mode:
authorDmitry Eremin-Solenikov <dbaryshkov@gmail.com>2020-01-07 01:16:45 +0300
committerNiels Möller <nisse@lysator.liu.se>2020-01-10 20:18:08 +0100
commit0a5e2524909b5f7be602786da26685ab492bb7d6 (patch)
treef945c05b3e44db52f3fbf0221f4f36d588730e4d /eddsa-sign.c
parent34fbd9910a779c7fb5bb7ccc07e4ae68ae35e997 (diff)
downloadnettle-0a5e2524909b5f7be602786da26685ab492bb7d6.tar.gz
ecc: rename functions to contain curve names instead of bits
Rename curve functions to use curve names instead of just bits. Otherwise function names can easily become confusing after adding other curves. Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
Diffstat (limited to 'eddsa-sign.c')
-rw-r--r--eddsa-sign.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/eddsa-sign.c b/eddsa-sign.c
index 05277064..1d5e4796 100644
--- a/eddsa-sign.c
+++ b/eddsa-sign.c
@@ -95,7 +95,7 @@ _eddsa_sign (const struct ecc_curve *ecc,
ecc_modq_add (ecc, sp, sp, rp); /* FIXME: Can be plain add */
if (ecc->p.bit_size == 255)
{
- /* FIXME: Special code duplicated in ecc_25519_modq
+ /* FIXME: Special code duplicated in ecc_curve25519_modq
Define a suitable method for canonical reduction? */
/* q is slightly larger than 2^252, underflow from below