Browse Source

Merge pull request #6 from bingcicle/patch-1

fix link to add-2008-bbjlp
main
arnaucube 1 year ago
committed by GitHub
parent
commit
cd36d496e5
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/lib.rs

+ 1
- 1
src/lib.rs

@ -86,7 +86,7 @@ impl PointProjective {
#[allow(clippy::many_single_char_names)] #[allow(clippy::many_single_char_names)]
pub fn add(&self, q: &PointProjective) -> PointProjective { pub fn add(&self, q: &PointProjective) -> PointProjective {
// add-2008-bbjlp https://hyperelliptic.org/EFD/g1p/auto-twisted-projective.html#doubling-dbl-2008-bbjlp
// add-2008-bbjlp https://hyperelliptic.org/EFD/g1p/auto-twisted-projective.html#addition-add-2008-bbjlp
let mut a = self.z; let mut a = self.z;
a.mul_assign(&q.z); a.mul_assign(&q.z);
let mut b = a; let mut b = a;

Loading…
Cancel
Save