mirror of
https://github.com/saymrwulf/risc0-curve25519-dalek-source.git
synced 2026-09-08 20:40:32 +00:00
hide unimplemented fns from docs
This commit is contained in:
parent
9fda4739d0
commit
a9f8789524
1 changed files with 2 additions and 2 deletions
|
|
@ -690,14 +690,14 @@ impl ExtendedPoint {
|
||||||
/// Returns `Some<[u8;32]>` if `self` is in the image of the
|
/// Returns `Some<[u8;32]>` if `self` is in the image of the
|
||||||
/// Elligator2 map. For a random point on the curve, this happens
|
/// Elligator2 map. For a random point on the curve, this happens
|
||||||
/// with probability 1/2. Otherwise, returns `None`.
|
/// with probability 1/2. Otherwise, returns `None`.
|
||||||
pub fn to_uniform_representative(&self) -> Option<[u8; 32]> {
|
fn to_uniform_representative(&self) -> Option<[u8; 32]> {
|
||||||
unimplemented!();
|
unimplemented!();
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Use Elligator2 to convert a uniformly random string to a curve
|
/// Use Elligator2 to convert a uniformly random string to a curve
|
||||||
/// point.
|
/// point.
|
||||||
#[allow(unused_variables)] // REMOVE WHEN IMPLEMENTED
|
#[allow(unused_variables)] // REMOVE WHEN IMPLEMENTED
|
||||||
pub fn from_uniform_representative(bytes: &[u8; 32]) -> ExtendedPoint {
|
fn from_uniform_representative(bytes: &[u8; 32]) -> ExtendedPoint {
|
||||||
unimplemented!();
|
unimplemented!();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue