risc0-curve25519-dalek-source/src/scalar_mul
Henry de Valence 7e0ddf6b98 Rewrite NAF code to work with more window sizes
Change Scalar::non_adjacent_form() to take a width parameter.

This rewrite also makes it faster, although it's probably a ways off
from optimal. I don't know how much it matters.

TODO: write up description of why this computes the same thing.

Thanks to @oleganza for pointing out an error reading bits across words
in an earlier version of this code.
2018-04-04 21:13:09 -07:00
..
mod.rs Feature-gate multiscalar impls on alloc 2018-03-26 17:58:31 -07:00
straus.rs Pull out constant-time straus implementation 2018-03-26 16:04:17 -07:00
variable_base.rs Split out constant-time variable-base scalar mul. 2018-03-26 16:01:51 -07:00
vartime_double_base.rs Rewrite NAF code to work with more window sizes 2018-04-04 21:13:09 -07:00
vartime_straus.rs Rewrite NAF code to work with more window sizes 2018-04-04 21:13:09 -07:00
window.rs Pull out variable-time straus implementation 2018-03-26 17:41:05 -07:00