From 68ae4a40a3ea6badeda53b6ed0a1d2ea260e46e8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sosth=C3=A8ne=20Gu=C3=A9don?= Date: Wed, 1 Mar 2023 16:45:46 +0100 Subject: [PATCH] Derive all derivable traits Fix #2 --- src/lib.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/lib.rs b/src/lib.rs index 30c5baa..c52559a 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -45,6 +45,7 @@ pub use crypto_traits::{Rsa2048Pkcs1v15, Rsa3072Pkcs1v15, Rsa4096Pkcs1v15}; /// Trussed [`Backend`](trussed::backend::Backend) implementation adding support for RSA /// /// This implementation is done in software and requieres an allocator +#[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Debug, Default, Hash)] pub struct SoftwareRsa; /// The bool returned points at wether the mechanism is raw RSA