Skip to content

Commit

Permalink
unnecessary qualification
Browse files Browse the repository at this point in the history
  • Loading branch information
jmwample committed Jun 26, 2024
1 parent 3a06819 commit 18ff084
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions curve25519-elligator2/src/scalar.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1239,11 +1239,11 @@ impl Field for Scalar {
}

fn sqrt_ratio(num: &Self, div: &Self) -> (Choice, Self) {
group::ff::helpers::sqrt_ratio_generic(num, div)
ff::helpers::sqrt_ratio_generic(num, div)
}

fn sqrt(&self) -> CtOption<Self> {
group::ff::helpers::sqrt_tonelli_shanks(
ff::helpers::sqrt_tonelli_shanks(
self,
[
0xcb02_4c63_4b9e_ba7d,
Expand Down

0 comments on commit 18ff084

Please sign in to comment.