mirror of
https://github.com/saymrwulf/curve25519-dalek-source.git
synced 2026-09-04 20:24:10 +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
|
||||
/// Elligator2 map. For a random point on the curve, this happens
|
||||
/// 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!();
|
||||
}
|
||||
|
||||
/// Use Elligator2 to convert a uniformly random string to a curve
|
||||
/// point.
|
||||
#[allow(unused_variables)] // REMOVE WHEN IMPLEMENTED
|
||||
pub fn from_uniform_representative(bytes: &[u8; 32]) -> ExtendedPoint {
|
||||
fn from_uniform_representative(bytes: &[u8; 32]) -> ExtendedPoint {
|
||||
unimplemented!();
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue