diff --git a/comms/dht/src/crypt.rs b/comms/dht/src/crypt.rs index 32589a7eeb..1c3b5b0a29 100644 --- a/comms/dht/src/crypt.rs +++ b/comms/dht/src/crypt.rs @@ -59,6 +59,9 @@ use crate::{ #[derive(Debug, Clone, Zeroize)] #[zeroize(drop)] pub struct CipherKey(chacha20::Key); + +#[derive(Debug, Clone, Zeroize)] +#[zeroize(drop)] pub struct AuthenticatedCipherKey(chacha20poly1305::Key); const MESSAGE_BASE_LENGTH: usize = 6000;