dbarysh...@gmail.com writes:

> GOST curves will require different "fixups" for fast (mul X mod p)
> operations. Move these operations to ecc_modulo structure and call them
> via function pointer.

It looks like ecc_mod_addmul_1 is used only by ecc-mul-m.c, used only
for curve25519 and curve448. So shouldn't need any redirection.

While ecc_mod_mul_1 and ecc_mod_submul_1 are used by all of
ecc-add-jja.c, ecc-add-jjj.c and ecc-dup-jj.c, via the ecc_modp_mul_1
and ecc_modp_submul_1 wrapper macros.

Maybe the wrapper macros should be deleted, to make usage less confusing.

Regards,
/Niels

-- 
Niels Möller. PGP-encrypted email is preferred. Keyid 368C6677.
Internet email is subject to wholesale government surveillance.
_______________________________________________
nettle-bugs mailing list
nettle-bugs@lists.lysator.liu.se
http://lists.lysator.liu.se/mailman/listinfo/nettle-bugs

Reply via email to