On 02/17/2013 09:47 AM, Niels Möller wrote:
Nikos Mavrogiannopoulos n.mavrogiannopoulos@gmail.com writes:
That's pretty good table. It would be nice to have a comparison of modinv with mpz_invert as a baseline (you also don't need to use a timing resistant modinv during verification).
That would make sense. On the mpn level, the corresponding GMP function is mpn_gcdext.
How hard could it be to add the wmNAF multiplication from ecc_mulmod.c in gnutls to this list for comparison?
Do you have some example code to use this gnutls function? Then I'm afraid it might also be a bit tricky to get linking right if we want to have it all in the same benchmark executable.
This is not exported from gnutls (we only export the high level API). I meant copying it from there with the functions it depends on (they aren't be many) and adding it to the test you have.
regards, Nikos