Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ pub trait Field:
///
/// # Security
///
/// This method provides **no** constant-time guarantees. Implementors of the
/// This method provides **no** constant-time guarantees. Implementers of the
/// `Field` trait **may** optimise this method using non-constant-time logic.
fn is_zero_vartime(&self) -> bool {
self.is_zero().into()
Expand Down Expand Up @@ -278,7 +278,7 @@ pub trait PrimeField: Field + From<u64> {
///
/// # Security
///
/// This method provides **no** constant-time guarantees. Implementors of the
/// This method provides **no** constant-time guarantees. Implementers of the
/// `PrimeField` trait **may** optimise this method using non-constant-time logic.
fn from_repr_vartime(repr: Self::Repr) -> Option<Self> {
Self::from_repr(repr).into()
Expand Down