Skip to content

Commit

Permalink
broken feature test
Browse files Browse the repository at this point in the history
  • Loading branch information
jmwample committed Jun 26, 2024
1 parent 04a8d23 commit 545f4d1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions curve25519-dalek/src/scalar.rs
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ use core::ops::{Sub, SubAssign};
use cfg_if::cfg_if;

#[cfg(feature = "group")]
use group::ff::{Field, FromUniformBytes, PrimeField};
use group::ff::{Field, FromUniformBytes, PrimeField, helpers::{sqrt_tonelli_shanks, sqrt_ratio_generic}};
#[cfg(feature = "group-bits")]
use group::ff::{FieldBits, PrimeFieldBits};

Expand Down Expand Up @@ -1233,11 +1233,11 @@ impl Field for Scalar {
}

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

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

0 comments on commit 545f4d1

Please sign in to comment.