]> git.codecow.com Git - Monocypher.git/commit
Avoids the first doubling for EdDSA signatures
authorLoup Vaillant <loup@loup-vaillant.fr>
Sat, 4 Aug 2018 19:47:40 +0000 (21:47 +0200)
committerLoup Vaillant <loup@loup-vaillant.fr>
Sat, 4 Aug 2018 19:47:40 +0000 (21:47 +0200)
commitef4d346e715ce9d9546b81f7518a8063b7d72e72
treeef957a5ea2e806b17170bf8d999d13f258f6019e
parent3e6dc5fd9fef4a789ff60cc59428421dd101617a
Avoids the first doubling for EdDSA signatures

The overhead of this first multiplication is not much, but it's
measurable.

Note the use of a macro for the constant time lookup and addition. It
could have been a function, but the function call overhead eats up all
the gains (I guess there are too many arguments to push to and pop from
the stack).
src/monocypher.c