| 1 |
# Changelog |
| 2 |
|
| 3 |
All notable changes to this project will be documented in this file. |
| 4 |
|
| 5 |
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), |
| 6 |
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). |
| 7 |
|
| 8 |
## 0.11.3 (2026-04-03) |
| 9 |
### Added |
| 10 |
- `dev::initialized_mac_test` function ([#2367]) |
| 11 |
- `TryCustomizedInit` trait ([#2395]) |
| 12 |
|
| 13 |
[#2367]: https://github.com/RustCrypto/traits/pull/2367 |
| 14 |
[#2395]: https://github.com/RustCrypto/traits/pull/2395 |
| 15 |
|
| 16 |
## 0.11.2 (2026-03-13) |
| 17 |
### Changed |
| 18 |
- Do not implement `Clone` as part of `(Reset)MacTraits` in the `buffer_fixed!` macro ([#2341]) |
| 19 |
- `EagerHash` trait to be a sub-trait of `Clone` ([#2341]) |
| 20 |
|
| 21 |
[#2341]: https://github.com/RustCrypto/traits/pull/2341 |
| 22 |
|
| 23 |
## 0.11.1 (2026-02-25) [YANKED] |
| 24 |
Note: this version was yanked because v0.11.2 introduces minor breaking changes |
| 25 |
affecting only pre-release versions of downstream crates. |
| 26 |
|
| 27 |
### Added |
| 28 |
- `SmallBlockSizeUser` helper trait. The trait is a sub-trait of `BlockSizeUser` |
| 29 |
with `BlockSize` bounded by `block_buffer::BlockSizes`. ([#2309]) |
| 30 |
|
| 31 |
### Changed |
| 32 |
- `BufferKindUser` is now a sub-trait of `SmallBlockSizeUser` ([#2309]) |
| 33 |
|
| 34 |
[#2309]: https://github.com/RustCrypto/traits/pull/2309 |
| 35 |
|
| 36 |
## 0.11.0 (2026-02-13) [YANKED] |
| 37 |
Note: this version was yanked because v0.11.1 introduces breaking changes. |
| 38 |
Users should migrate to `digest` v0.11.1 and `crypto-common` v0.2.1 using `cargo update`. |
| 39 |
|
| 40 |
### Added |
| 41 |
- `CustomizedInit` trait ([#1334]) |
| 42 |
- `SerializableState` support ([#1369]) |
| 43 |
- `DynDigestWithOid` wrapper trait ([#1390]) |
| 44 |
- `VariableOutputCoreCustomized` trait ([#1787], [#2043]) |
| 45 |
- `buffer_fixed`, `buffer_ct_variable`, `buffer_rt_variable`, and `buffer_xof` macros ([#1799]) |
| 46 |
- `XofFixedWrapper` ([#1815]) |
| 47 |
- `CollisionResistance` trait ([#1820]) |
| 48 |
- `CoreProxy::compose/decompose` methods ([#1898]) |
| 49 |
- `EagerHash` trait ([#2014]) |
| 50 |
|
| 51 |
### Changed |
| 52 |
- Replaced `generic-array` with `hybrid-array` ([#1358]) |
| 53 |
- `crypto-common` dependency bumped to v0.2 ([#1173]) |
| 54 |
- Edition changed to 2024 and MSRV bumped to 1.85 ([#1759]) |
| 55 |
- Bump `const-oid` dependency to v0.10 ([#1772]) |
| 56 |
- `digest::core_api` renamed to `digest::block_api` ([#1799]) |
| 57 |
- `CtVariableCoreWrapper` renamed to `CtOutWrapper` ([#1799]) |
| 58 |
- Removed the OID type parameter from `CtOutWrapper` ([#1799]) |
| 59 |
- Implementations of the `SerializableState` trait ([#1953]) |
| 60 |
- `new_test!` and `new_mac_test!` macros ([#1958]) |
| 61 |
- Bump `block-buffer` to v0.11 ([#2082]) |
| 62 |
- Re-export of `crypto-common` moved to `digest::common` ([#2237]) |
| 63 |
- Bump `crypto-common` to v0.2 ([#2276]) |
| 64 |
- Replace `subtle` with `ctutils` ([#2301]) |
| 65 |
|
| 66 |
### Removed |
| 67 |
- `Mac::new`, `Mac::new_from_slice`, and `Mac::generate_key` methods ([#1173]) |
| 68 |
- `CoreWrapper`, `RtVariableCoreWrapper`, and `XofReaderCoreWrapper` types ([#1799]) |
| 69 |
- `io::Write/Read` implementations in favor of the `digest_io::IoWrapper` type ([#1809]) |
| 70 |
- `VariableOutput` trait ([#2043]) |
| 71 |
- Implementation of `subtle::ConstantTimeEq` for `CtOutput`. Note that implementation of |
| 72 |
`PartialEq`/`Eq` trait is still const time. ([#2292]) |
| 73 |
|
| 74 |
[#1173]: https://github.com/RustCrypto/traits/pull/1173 |
| 75 |
[#1334]: https://github.com/RustCrypto/traits/pull/1334 |
| 76 |
[#1358]: https://github.com/RustCrypto/traits/pull/1358 |
| 77 |
[#1369]: https://github.com/RustCrypto/traits/pull/1369 |
| 78 |
[#1390]: https://github.com/RustCrypto/traits/pull/1390 |
| 79 |
[#1759]: https://github.com/RustCrypto/traits/pull/1759 |
| 80 |
[#1772]: https://github.com/RustCrypto/traits/pull/1772 |
| 81 |
[#1787]: https://github.com/RustCrypto/traits/pull/1787 |
| 82 |
[#1799]: https://github.com/RustCrypto/traits/pull/1799 |
| 83 |
[#1809]: https://github.com/RustCrypto/traits/pull/1809 |
| 84 |
[#1815]: https://github.com/RustCrypto/traits/pull/1815 |
| 85 |
[#1820]: https://github.com/RustCrypto/traits/pull/1820 |
| 86 |
[#1898]: https://github.com/RustCrypto/traits/pull/1898 |
| 87 |
[#1953]: https://github.com/RustCrypto/traits/pull/1953 |
| 88 |
[#1958]: https://github.com/RustCrypto/traits/pull/1958 |
| 89 |
[#2014]: https://github.com/RustCrypto/traits/pull/2014 |
| 90 |
[#2043]: https://github.com/RustCrypto/traits/pull/2043 |
| 91 |
[#2082]: https://github.com/RustCrypto/traits/pull/2082 |
| 92 |
[#2237]: https://github.com/RustCrypto/traits/pull/2237 |
| 93 |
[#2276]: https://github.com/RustCrypto/traits/pull/2276 |
| 94 |
[#2292]: https://github.com/RustCrypto/traits/pull/2292 |
| 95 |
[#2301]: https://github.com/RustCrypto/traits/pull/2301 |
| 96 |
|
| 97 |
## 0.10.7 (2023-05-19) |
| 98 |
### Changed |
| 99 |
- Loosen `subtle` version requirement ([#1260]) |
| 100 |
|
| 101 |
[#1260]: https://github.com/RustCrypto/traits/pull/1260 |
| 102 |
|
| 103 |
## 0.10.6 (2022-11-17) |
| 104 |
### Added |
| 105 |
- `Mac::verify_reset` and `Mac::verify_slice_reset` methods ([#1154]) |
| 106 |
|
| 107 |
[#1154]: https://github.com/RustCrypto/traits/pull/1154 |
| 108 |
|
| 109 |
## 0.10.5 (2022-09-16) |
| 110 |
### Fixed |
| 111 |
- MSRV build ([#1117]) |
| 112 |
|
| 113 |
[#1117]: https://github.com/RustCrypto/traits/pull/1117 |
| 114 |
|
| 115 |
## 0.10.4 (2022-09-16) |
| 116 |
### Added |
| 117 |
- Feature-gated implementation of the `const_oid::AssociatedOid` trait |
| 118 |
for the core wrappers. ([#1098]) |
| 119 |
|
| 120 |
[#1098]: https://github.com/RustCrypto/traits/pull/1098 |
| 121 |
|
| 122 |
## 0.10.3 (2022-02-16) |
| 123 |
### Fixed |
| 124 |
- Minimal versions build ([#940]) |
| 125 |
|
| 126 |
[#940]: https://github.com/RustCrypto/traits/pull/940 |
| 127 |
|
| 128 |
## 0.10.2 (2022-02-10) |
| 129 |
### Changed |
| 130 |
- Relax bounds on the `Mac` trait ([#849]) |
| 131 |
|
| 132 |
[#849]: https://github.com/RustCrypto/traits/pull/849 |
| 133 |
|
| 134 |
## 0.10.1 (2021-12-14) [YANKED] |
| 135 |
### Added |
| 136 |
- `Update::chain` and `Digest::new_with_prefix` methods. ([#846]) |
| 137 |
- `Mac::generate_key` method. ([#847]) |
| 138 |
|
| 139 |
### Fixed |
| 140 |
- Doc cfg attribute for `CtOutput` and `MacError`. ([#842]) |
| 141 |
- Expose `KeyInit::generate_key` method in docs. ([#847]) |
| 142 |
|
| 143 |
[#842]: https://github.com/RustCrypto/traits/pull/842 |
| 144 |
[#846]: https://github.com/RustCrypto/traits/pull/846 |
| 145 |
[#847]: https://github.com/RustCrypto/traits/pull/847 |
| 146 |
|
| 147 |
## 0.10.0 (2021-12-07) [YANKED] |
| 148 |
### Changed |
| 149 |
- Dirty traits are removed and instead block-level traits are introduced. |
| 150 |
Variable output traits reworked and now support both run and compile time selection of output size. ([#380], [#819]) |
| 151 |
- The `crypto-mac` traits are reworked and merged in. ([#819]) |
| 152 |
|
| 153 |
[#819]: https://github.com/RustCrypto/traits/pull/819 |
| 154 |
[#380]: https://github.com/RustCrypto/traits/pull/380 |
| 155 |
|
| 156 |
## 0.9.0 (2020-06-09) |
| 157 |
### Added |
| 158 |
- `ExtendableOutputDirty` and `VariableOutputDirty` traits ([#183]) |
| 159 |
- `FixedOutputDirty` trait + `finalize_into*` ([#180]) |
| 160 |
- `XofReader::read_boxed` method ([#178], [#181], [#182]) |
| 161 |
- `alloc` feature ([#163]) |
| 162 |
- Re-export `typenum::consts` as `consts` ([#123]) |
| 163 |
- `Output` type alias ([#115]) |
| 164 |
|
| 165 |
### Changed |
| 166 |
- Rename `*result*` methods to `finalize` ala IUF ([#161]) |
| 167 |
- Use `impl AsRef<[u8]>` instead of generic params on methods ([#112]) |
| 168 |
- Rename `Input::input` to `Update::update` ala IUF ([#111]) |
| 169 |
- Upgrade to Rust 2018 edition ([#109]) |
| 170 |
- Bump `generic-array` to v0.14 ([#95]) |
| 171 |
|
| 172 |
[#183]: https://github.com/RustCrypto/traits/pull/183 |
| 173 |
[#181]: https://github.com/RustCrypto/traits/pull/181 |
| 174 |
[#182]: https://github.com/RustCrypto/traits/pull/182 |
| 175 |
[#180]: https://github.com/RustCrypto/traits/pull/180 |
| 176 |
[#178]: https://github.com/RustCrypto/traits/pull/178 |
| 177 |
[#163]: https://github.com/RustCrypto/traits/pull/163 |
| 178 |
[#161]: https://github.com/RustCrypto/traits/pull/161 |
| 179 |
[#123]: https://github.com/RustCrypto/traits/pull/123 |
| 180 |
[#115]: https://github.com/RustCrypto/traits/pull/115 |
| 181 |
[#111]: https://github.com/RustCrypto/traits/pull/111 |
| 182 |
[#112]: https://github.com/RustCrypto/traits/pull/112 |
| 183 |
[#109]: https://github.com/RustCrypto/traits/pull/109 |
| 184 |
[#95]: https://github.com/RustCrypto/traits/pull/95 |
| 185 |
|
| 186 |
## 0.8.1 (2019-06-30) |
| 187 |
|
| 188 |
## 0.8.0 (2018-10-01) |
| 189 |
|
| 190 |
## 0.7.6 (2018-09-21) |
| 191 |
|
| 192 |
## 0.7.5 (2018-07-13) |
| 193 |
|
| 194 |
## 0.7.4 (2018-06-21) |
| 195 |
|
| 196 |
## 0.7.3 (2018-06-20) |
| 197 |
|
| 198 |
## 0.7.2 (2017-11-17) |
| 199 |
|
| 200 |
## 0.7.1 (2017-11-15) |
| 201 |
|
| 202 |
## 0.7.0 (2017-11-14) |
| 203 |
|
| 204 |
## 0.6.2 (2017-07-24) |
| 205 |
|
| 206 |
## 0.6.1 (2017-06-18) |
| 207 |
|
| 208 |
## 0.6.0 (2017-06-12) |
| 209 |
|
| 210 |
## 0.5.2 (2017-05-02) |
| 211 |
|
| 212 |
## 0.5.1 (2017-05-02) |
| 213 |
|
| 214 |
## 0.5.0 (2017-04-06) |
| 215 |
|
| 216 |
## 0.4.0 (2016-12-24) |
| 217 |
|
| 218 |
## 0.3.1 (2016-12-16) |
| 219 |
|
| 220 |
## 0.3.0 (2016-11-17) |
| 221 |
|
| 222 |
## 0.2.1 (2016-10-14) |
| 223 |
|
| 224 |
## 0.2.0 (2016-10-14) |
| 225 |
|
| 226 |
## 0.1.0 (2016-10-06) |