diff options
author | David Benjamin <davidben@google.com> | 2018-03-31 23:24:51 -0400 |
---|---|---|
committer | Andres Erbsen <andreser@mit.edu> | 2018-04-25 15:58:38 -0400 |
commit | 28471c7d95fb3580d8ee01b73ef2aa7b170f0029 (patch) | |
tree | aa7e98ff48483b14b79b07465d8e6fafa592ef2e /etc | |
parent | 40e4751aa2b59f31504d2886a128b195899fe85d (diff) |
Generalize Jacobian.v over all a.
The immediate motivation is BoringSSL's generic EC code is sadly stuck
with supporting arbitrary curves, including those where a <> -3, but it
may be more generally useful.
This makes the file slightly more general:
- It now proves that the addition formula works independent of a = -3.
- It proves a generic doubling implementation, based on
http://www.hyperelliptic.org/EFD/g1p/auto-shortw-jacobian.html#doubling-dbl-2007-bl
- There's a place to stick in other specializations should someone want
them. (I hear some folks are interested in secp256k1 for some reason.)
Diffstat (limited to 'etc')
0 files changed, 0 insertions, 0 deletions