mirror of
https://github.com/saymrwulf/curve25519-dalek-source.git
synced 2026-09-06 20:41:14 +00:00
curve: mark ValidityCheck trait as allow(dead_code) (#625)
Recent nightlies have started emitting a dead code lint
This commit is contained in:
parent
4ac84dd066
commit
50401ab430
1 changed files with 1 additions and 0 deletions
|
|
@ -409,6 +409,7 @@ pub trait VartimePrecomputedMultiscalarMul: Sized {
|
||||||
/// This trait is only for debugging/testing, since it should be
|
/// This trait is only for debugging/testing, since it should be
|
||||||
/// impossible for a `curve25519-dalek` user to construct an invalid
|
/// impossible for a `curve25519-dalek` user to construct an invalid
|
||||||
/// point.
|
/// point.
|
||||||
|
#[allow(dead_code)]
|
||||||
pub(crate) trait ValidityCheck {
|
pub(crate) trait ValidityCheck {
|
||||||
/// Checks whether the point is on the curve. Not CT.
|
/// Checks whether the point is on the curve. Not CT.
|
||||||
fn is_valid(&self) -> bool;
|
fn is_valid(&self) -> bool;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue