diff --git a/hashes/src/hkdf/mod.rs b/hashes/src/hkdf/mod.rs index f9f027857..b2cba0838 100644 --- a/hashes/src/hkdf/mod.rs +++ b/hashes/src/hkdf/mod.rs @@ -32,6 +32,7 @@ impl fmt::Display for MaxLengthError { impl std::error::Error for MaxLengthError {} /// HMAC-based Extract-and-Expand Key Derivation Function (HKDF). +#[derive(Copy, Clone)] pub struct Hkdf { /// Pseudorandom key based on the extract step. prk: Hmac,