diff --git a/src/rsa.rs b/src/rsa.rs index e4cf7683a..9b5f9aebe 100644 --- a/src/rsa.rs +++ b/src/rsa.rs @@ -55,7 +55,6 @@ fn parse_public_key( // Type-level representation of an RSA public modulus *n*. See // `super::bigint`'s modulue-level documentation. -#[derive(Copy, Clone)] enum N {} impl bigint::PublicModulus for N {} diff --git a/src/rsa/keypair.rs b/src/rsa/keypair.rs index 05fb0c911..f485182fc 100644 --- a/src/rsa/keypair.rs +++ b/src/rsa/keypair.rs @@ -492,10 +492,8 @@ fn elem_exp_consttime( // Type-level representations of the different moduli used in RSA signing, in // addition to `super::N`. See `super::bigint`'s modulue-level documentation. -#[derive(Copy, Clone)] enum P {} -#[derive(Copy, Clone)] enum Q {} enum D {}