Browse Source

Merge branch 'master' of https://github.com/arnaucube/babyjubjub-rs

pull/8/head
Nanak Nihal Khalsa 1 year ago
parent
commit
f58f71dd30
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/lib.rs

+ 1
- 1
src/lib.rs

@ -128,7 +128,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