We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8d4fca9 commit 282cbdfCopy full SHA for 282cbdf
cryptoki/src/mechanism/eddsa.rs
@@ -26,7 +26,7 @@ use std::marker::PhantomData;
26
/// | Ed448ph | Required | True | Optional |
27
///
28
/// This structure wraps a `CK_EDDSA_PARAMS` structure.
29
-#[derive(Copy, Debug, Clone)]
+#[derive(Copy, Debug, Clone, Default)]
30
#[repr(transparent)]
31
pub struct EddsaParams<'a> {
32
inner: CK_EDDSA_PARAMS,
@@ -46,16 +46,3 @@ impl EddsaParams<'_> {
46
}
47
48
49
-
50
-impl Default for EddsaParams<'_> {
51
- /// Provide a default instance of `EddsaParams`.
52
- ///
53
- /// This initializes `EddsaParams` with the default value
54
- /// of the `CK_EDDSA_PARAMS` structure.
55
- fn default() -> Self {
56
- Self {
57
- inner: CK_EDDSA_PARAMS::default(),
58
- _marker: PhantomData,
59
- }
60
61
-}
0 commit comments