diff --git a/aes-kw/CHANGELOG.md b/aes-kw/CHANGELOG.md index 01d370f..37252ae 100644 --- a/aes-kw/CHANGELOG.md +++ b/aes-kw/CHANGELOG.md @@ -6,11 +6,13 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## 0.3.1 (UNRELEASED) ### Added +- Implementation of `Copy`, `Clone`, and `Hash` traits for `Error` ([[#78]]) - Implementation of `ZeroizeOnDrop` gated on `zeroize` crate feature ([#80]) ### Changed - Use `doc_cfg` instead of `doc_auto_cfg` ([#83]) +[#78]: https://github.com/RustCrypto/key-wraps/pull/78 [#80]: https://github.com/RustCrypto/key-wraps/pull/80 [#83]: https://github.com/RustCrypto/key-wraps/pull/83 diff --git a/aes-kw/src/error.rs b/aes-kw/src/error.rs index 0a3a0b6..faa7376 100644 --- a/aes-kw/src/error.rs +++ b/aes-kw/src/error.rs @@ -1,7 +1,7 @@ use core::fmt; /// Errors emitted from the wrap and unwrap operations. -#[derive(Debug, PartialEq, Eq)] +#[derive(Copy, Clone, Hash, Debug, PartialEq, Eq)] pub enum Error { /// Input data length invalid. InvalidDataSize,