From a9f8789524a20f5c65c1b495ce85407465720e4d Mon Sep 17 00:00:00 2001 From: Henry de Valence Date: Fri, 17 Nov 2017 15:50:04 -0800 Subject: [PATCH] hide unimplemented fns from docs --- src/edwards.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/edwards.rs b/src/edwards.rs index 9fa17b3..c0e6bb1 100644 --- a/src/edwards.rs +++ b/src/edwards.rs @@ -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!(); } }