Skip to content

Commit

Permalink
Switch to homogeneous coordinates + Add complete formulae (#19)
Browse files Browse the repository at this point in the history
* Use homogenous coordinates

- Pasta curves adapted to use homogenous instead of
jacobian coordinates.
- Efficient complete formulas for add and dbl.

* Improve Homogeneous to Jacobian

Co-authored-by: Han <tinghan0110@gmail.com>

* Improve Jacobian to homogeneous

Co-authored-by: Han <tinghan0110@gmail.com>

* Remove leftover

* Fix homogeneous coordinates for inf

* Add static 3b

---------

Co-authored-by: Han <tinghan0110@gmail.com>
  • Loading branch information
davidnevadoc and han0110 committed Feb 1, 2023
1 parent 093c4dc commit 1a01928
Show file tree
Hide file tree
Showing 2 changed files with 235 additions and 246 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ pasta_curves = "0.4.0"
static_assertions = "1.1.0"
rand = "0.8"
rand_core = { version = "0.6", default-features = false }
lazy_static = { version = "1.4.0"}
lazy_static = "1.4.0"
num-bigint = "0.4.3"
num-traits = "0.2"
paste = "1.0.11"
Expand Down
Loading

0 comments on commit 1a01928

Please sign in to comment.