From: Niels Möller Date: Wed, 28 Sep 2022 15:46:27 +0000 (+0200) Subject: Comment update X-Git-Tag: nettle_3.9_release_20230514~55^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ed27e2c47528c455c0541d4d377e687f097c0f8f;p=thirdparty%2Fnettle.git Comment update --- diff --git a/ecc-ecdsa-verify.c b/ecc-ecdsa-verify.c index bd6491a1..4c6284af 100644 --- a/ecc-ecdsa-verify.c +++ b/ecc-ecdsa-verify.c @@ -117,7 +117,7 @@ ecc_ecdsa_verify (const struct ecc_curve *ecc, /* Total storage: 7*ecc->p.size + ecc->mul_g_itch (ecc->p.size) */ ecc->mul_g (ecc, P1, u1, P1 + 3*ecc->p.size); - /* Total storage: 6*ecc->p.size + ECC_ADD_JJA_ITCH(size) */ + /* Total storage: 6*ecc->p.size + ECC_ADD_JJJ_ITCH(size) */ if (!ecc_nonsec_add_jjj (ecc, P2, P2, P1, P1 + 3*ecc->p.size)) /* Infinity point, not a valid signature. */ return 0; diff --git a/ecc-gostdsa-verify.c b/ecc-gostdsa-verify.c index d1b0454f..a835ba71 100644 --- a/ecc-gostdsa-verify.c +++ b/ecc-gostdsa-verify.c @@ -114,7 +114,7 @@ ecc_gostdsa_verify (const struct ecc_curve *ecc, /* Total storage: 7*ecc->p.size + ecc->mul_g_itch (ecc->p.size) */ ecc->mul_g (ecc, P1, z1, P1 + 3*ecc->p.size); - /* Total storage: 6*ecc->p.size + ecc->add_hhh_itch */ + /* Total storage: 6*ecc->p.size + ECC_ADD_JJJ_ITCH(size) */ if (!ecc_nonsec_add_jjj (ecc, P1, P1, P2, P1 + 3*ecc->p.size)) return 0;