diff --git a/src/circuit/ecc.rs b/src/circuit/ecc.rs index 79b2813b3..0828812fe 100644 --- a/src/circuit/ecc.rs +++ b/src/circuit/ecc.rs @@ -30,20 +30,12 @@ use super::lookup::{ use super::boolean::Boolean; +#[derive(Clone)] pub struct EdwardsPoint { pub x: AllocatedNum, pub y: AllocatedNum } -impl Clone for EdwardsPoint { - fn clone(&self) -> Self { - EdwardsPoint { - x: self.x.clone(), - y: self.y.clone() - } - } -} - /// Perform a fixed-base scalar multiplication with /// `by` being in little-endian bit order. pub fn fixed_base_multiplication(