mirror of
https://github.com/saymrwulf/curve25519-dalek-source.git
synced 2026-09-04 20:24:10 +00:00
Minor documentation fixes (#671)
This commit is contained in:
parent
35e78b21ef
commit
a7a9fffdc9
2 changed files with 6 additions and 6 deletions
|
|
@ -19,8 +19,8 @@
|
|||
//! ## Equality Testing
|
||||
//!
|
||||
//! The `EdwardsPoint` struct implements the [`subtle::ConstantTimeEq`]
|
||||
//! trait for constant-time equality checking, and the Rust `Eq` trait
|
||||
//! for variable-time equality checking.
|
||||
//! trait for constant-time equality checking, and also uses this to
|
||||
//! ensure `Eq` equality checking runs in constant time.
|
||||
//!
|
||||
//! ## Cofactor-related functions
|
||||
//!
|
||||
|
|
@ -438,7 +438,7 @@ impl Zeroize for CompressedEdwardsY {
|
|||
|
||||
#[cfg(feature = "zeroize")]
|
||||
impl Zeroize for EdwardsPoint {
|
||||
/// Reset this `CompressedEdwardsPoint` to the identity element.
|
||||
/// Reset this `EdwardsPoint` to the identity element.
|
||||
fn zeroize(&mut self) {
|
||||
self.X.zeroize();
|
||||
self.Y = FieldElement::ONE;
|
||||
|
|
|
|||
|
|
@ -76,9 +76,9 @@
|
|||
//! coordinates without requiring an inversion, so it is much faster.
|
||||
//!
|
||||
//! The `RistrettoPoint` struct implements the
|
||||
//! `subtle::ConstantTimeEq` trait for constant-time equality
|
||||
//! checking, and the Rust `Eq` trait for variable-time equality
|
||||
//! checking.
|
||||
//! [`subtle::ConstantTimeEq`] trait for constant-time equality
|
||||
//! checking, and also uses this to ensure `Eq` equality checking
|
||||
//! runs in constant time.
|
||||
//!
|
||||
//! ## Scalars
|
||||
//!
|
||||
|
|
|
|||
Loading…
Reference in a new issue