ecc: Use constant time point operation for Twisted Edwards.
authorWerner Koch <wk@gnupg.org>
Mon, 2 Dec 2013 16:09:04 +0000 (17:09 +0100)
committerWerner Koch <wk@gnupg.org>
Mon, 2 Dec 2013 16:09:04 +0000 (17:09 +0100)
commitd4ce0cfe0d35d7ec69c115456848b5b735c928ea
tree7f3bb2af41c2de5a61c1bca8343cb0b12d131ff6
parent14ae6224b1b17abbfc80c26ad0f4c60f1e8635e2
ecc: Use constant time point operation for Twisted Edwards.

* mpi/ec.c (_gcry_mpi_ec_mul_point): Try to do a constant time
operation if needed.
* tests/benchmark.c (main): Add option --use-secmem.

Signed-off-by: Werner Koch <wk@gnupg.org>
mpi/ec.c
tests/benchmark.c