File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 19
19
//! ## Equality Testing
20
20
//!
21
21
//! The `EdwardsPoint` struct implements the [`subtle::ConstantTimeEq`]
22
- //! trait for constant-time equality checking, and the Rust `Eq` trait
23
- //! for variable-time equality checking.
22
+ //! trait for constant-time equality checking, and also uses this to
23
+ //! ensure `Eq` equality checking runs in constant time .
24
24
//!
25
25
//! ## Cofactor-related functions
26
26
//!
@@ -438,7 +438,7 @@ impl Zeroize for CompressedEdwardsY {
438
438
439
439
#[ cfg( feature = "zeroize" ) ]
440
440
impl Zeroize for EdwardsPoint {
441
- /// Reset this `CompressedEdwardsPoint ` to the identity element.
441
+ /// Reset this `EdwardsPoint ` to the identity element.
442
442
fn zeroize ( & mut self ) {
443
443
self . X . zeroize ( ) ;
444
444
self . Y = FieldElement :: ONE ;
Original file line number Diff line number Diff line change 76
76
//! coordinates without requiring an inversion, so it is much faster.
77
77
//!
78
78
//! The `RistrettoPoint` struct implements the
79
- //! `subtle::ConstantTimeEq` trait for constant-time equality
80
- //! checking, and the Rust `Eq` trait for variable-time equality
81
- //! checking .
79
+ //! [ `subtle::ConstantTimeEq`] trait for constant-time equality
80
+ //! checking, and also uses this to ensure `Eq` equality checking
81
+ //! runs in constant time .
82
82
//!
83
83
//! ## Scalars
84
84
//!
You can’t perform that action at this time.
0 commit comments