From c0e91d92376358438e1ba81fbed8f22c4ca3a4ca Mon Sep 17 00:00:00 2001 From: Pablo Lozano Date: Wed, 13 Dec 2023 12:20:26 +0100 Subject: [PATCH] chore: more bounds --- src/key.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/key.rs b/src/key.rs index 1f5af35..eb22a75 100644 --- a/src/key.rs +++ b/src/key.rs @@ -30,7 +30,7 @@ pub struct PublicKey(pub(crate) G1Projective); #[derive(Debug, Copy, Clone, Eq, PartialEq, Zeroize)] pub struct PrivateKey(pub(crate) Scalar) where - Scalar: DefaultIsZeroes; + Scalar: Zeroize + DefaultIsZeroes; impl From for PublicKey { fn from(val: G1Projective) -> Self {