From f0e9daf7221ab7f90ea281ef0aded99cdc99a0cc Mon Sep 17 00:00:00 2001 From: therealyingtong Date: Thu, 27 Jan 2022 08:10:18 +0800 Subject: [PATCH] gadget::ecc: Clean up bounds four FixedPointBaseField, FixedPointShort. --- src/circuit/gadget/ecc.rs | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/src/circuit/gadget/ecc.rs b/src/circuit/gadget/ecc.rs index 810ca50a..41422cf7 100644 --- a/src/circuit/gadget/ecc.rs +++ b/src/circuit/gadget/ecc.rs @@ -381,10 +381,7 @@ pub struct FixedPoint> { /// A constant elliptic curve point over the given curve, used in scalar multiplication /// with a base field element #[derive(Clone, Debug)] -pub struct FixedPointBaseField -where - EccChip: EccInstructions + Clone + Debug + Eq, -{ +pub struct FixedPointBaseField> { chip: EccChip, inner: >::Base, } @@ -392,10 +389,7 @@ where /// A constant elliptic curve point over the given curve, used in scalar multiplication /// with a short signed exponent #[derive(Clone, Debug)] -pub struct FixedPointShort -where - EccChip: EccInstructions + Clone + Debug + Eq, -{ +pub struct FixedPointShort> { chip: EccChip, inner: >::ShortScalar, }