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.
ZeroizeOnDrop
1 parent b51624c commit cc61a52Copy full SHA for cc61a52
ascon-hash/src/lib.rs
@@ -77,6 +77,7 @@ struct HashCore<P: HashParameters> {
77
impl<P: HashParameters> digest::zeroize::ZeroizeOnDrop for HashCore<P> {}
78
79
#[allow(dead_code)]
80
+#[cfg(feature = "zeroize")]
81
const _: () = {
82
// State is the only field in AsconCore
83
fn check_core(v: &State) {
@@ -210,6 +211,7 @@ impl SerializableState for AsconCore {
210
211
impl digest::zeroize::ZeroizeOnDrop for AsconCore {}
212
213
214
215
216
// HashCore is the only field in AsconCore
217
fn check_core(v: &HashCore<Parameters>) {
0 commit comments