From 5b8fdb3e5a55e72efed125e51e92d848bd285657 Mon Sep 17 00:00:00 2001 From: Omer Shlomovits Date: Mon, 4 May 2020 12:07:05 +0300 Subject: [PATCH] remove wrong impl for y-coor --- src/elliptic/curves/curve_ristretto.rs | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/src/elliptic/curves/curve_ristretto.rs b/src/elliptic/curves/curve_ristretto.rs index 2044ba7c..ea4d8493 100644 --- a/src/elliptic/curves/curve_ristretto.rs +++ b/src/elliptic/curves/curve_ristretto.rs @@ -280,12 +280,7 @@ impl ECPoint for RistrettoCurvPoint { } fn y_coor(&self) -> Option { - let y_fe = SK::from_bytes_mod_order(self.ge.to_bytes()); - let y_fe = RistrettoScalar { - purpose: "y_coor", - fe: y_fe, - }; - Some(y_fe.to_big_int()) + unimplemented!(); } fn bytes_compressed_to_big_int(&self) -> BigInt {