ARM public key benchmark

Niels Möller nisse at lysator.liu.se
Wed Apr 3 17:05:38 CEST 2013


Torbjorn Granlund <tg at gmplib.org> writes:

> Have you considered complementing C instead?

Not until now. Actually looks nice:

  A - b C = A + b (~C) + b - b B^n 

So this saves one not instruction, and we have to add and subtract the
scalar b from incoming and outgoing carry.

Regards,
/Niels

-- 
Niels Möller. PGP-encrypted email is preferred. Keyid C0B98E26.
Internet email is subject to wholesale government surveillance.


More information about the gmp-devel mailing list