| 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.4.4 (2022-03-09) |
| 9 | ### Changed |
| 10 | - Move `ParBlocks`/`ParBlocksSizeUser` to the `crypto-common` crate ([#1052]) |
| 11 | |
| 12 | ### Fixed |
| 13 | - Unsoundness triggered by zero block size ([#1277]) |
| 14 | |
| 15 | [#1052]: https://github.com/RustCrypto/traits/pull/1052 |
| 16 | [#1277]: https://github.com/RustCrypto/traits/pull/1277 |
| 17 | |
| 18 | ## 0.4.3 (2022-02-22) |
| 19 | ### Fixed |
| 20 | - Do not enable the `alloc` feature by default ([#953]) |
| 21 | |
| 22 | [#953]: https://github.com/RustCrypto/traits/pull/953 |
| 23 | |
| 24 | ## 0.4.2 (2022-02-16) [YANKED] |
| 25 | ### Fixed |
| 26 | - Rename `BlockDecryptMut::decrypt_padded_vec` to `decrypt_padded_vec_mut` for consistency with other methods ([#941]) |
| 27 | |
| 28 | [#941]: https://github.com/RustCrypto/traits/pull/941 |
| 29 | |
| 30 | ## 0.4.1 (2022-02-16) [YANKED] |
| 31 | ### Added |
| 32 | - Allocating padded encrypt/decrypt ([#936]) |
| 33 | |
| 34 | ### Fixed |
| 35 | - Minimal versions build ([#940]) |
| 36 | |
| 37 | [#940]: https://github.com/RustCrypto/traits/pull/940 |
| 38 | [#936]: https://github.com/RustCrypto/traits/pull/936 |
| 39 | |
| 40 | ## 0.4.0 (2022-02-10) |
| 41 | ### Changed |
| 42 | - Major rework of traits. Core functionality of block and stream ciphers |
| 43 | is defined using rank-2 closures with convenience methods built on top of |
| 44 | it. Expose block-level trait for stream ciphers and add generic wrapper |
| 45 | around it. The async stream cipher trait is defined as sub-trait of |
| 46 | mutable block cipher traits. ([#849]) |
| 47 | |
| 48 | ### Added |
| 49 | - Re-export `rand_core` ([#683]) |
| 50 | |
| 51 | [#683]: https://github.com/RustCrypto/traits/pull/683 |
| 52 | [#849]: https://github.com/RustCrypto/traits/pull/849 |
| 53 | |
| 54 | ## 0.3.0 (2021-04-28) |
| 55 | ### Added |
| 56 | - Encrypt/decrypt-only block cipher traits ([#352]) |
| 57 | - Re-export `blobby` from root ([#435]) |
| 58 | - Block cipher trait blanket impls for refs ([#441]) |
| 59 | - `generate_key` method to `New*` trait ([#513]) |
| 60 | |
| 61 | ### Changed |
| 62 | - Consolidate error types ([#373]) |
| 63 | - Change `SeekNum` impls to fit with the new `BlockBuffer` ([#435]) |
| 64 | - Reorganize modules ([#435]) |
| 65 | - Renamed `new_var` to `new_from_slice(s)` ([#442]) |
| 66 | |
| 67 | [#352]: https://github.com/RustCrypto/traits/pull/352 |
| 68 | [#373]: https://github.com/RustCrypto/traits/pull/373 |
| 69 | [#435]: https://github.com/RustCrypto/traits/pull/435 |
| 70 | [#441]: https://github.com/RustCrypto/traits/pull/441 |
| 71 | [#442]: https://github.com/RustCrypto/traits/pull/442 |
| 72 | [#513]: https://github.com/RustCrypto/traits/pull/513 |
| 73 | |
| 74 | ## 0.2.5 (2020-11-01) |
| 75 | ### Fixed |
| 76 | - Nested macros used old deprecated names ([#360]) |
| 77 | |
| 78 | [#360]: https://github.com/RustCrypto/traits/pull/360 |
| 79 | |
| 80 | ## 0.2.4 (2020-11-01) |
| 81 | ### Fixed |
| 82 | - Macro expansion error ([#358]) |
| 83 | |
| 84 | [#358]: https://github.com/RustCrypto/traits/pull/358 |
| 85 | |
| 86 | ## 0.2.3 (2020-11-01) [YANKED] |
| 87 | ### Fixed |
| 88 | - Legacy macro wrappers ([#356]) |
| 89 | |
| 90 | [#356]: https://github.com/RustCrypto/traits/pull/356 |
| 91 | |
| 92 | ## 0.2.2 (2020-11-01) [YANKED] |
| 93 | ### Added |
| 94 | - `BlockCipher::{encrypt_slice, decrypt_slice}` methods ([#351]) |
| 95 | |
| 96 | ### Changed |
| 97 | - Revamp macro names ([#350]) |
| 98 | |
| 99 | [#351]: https://github.com/RustCrypto/traits/pull/351 |
| 100 | [#350]: https://github.com/RustCrypto/traits/pull/350 |
| 101 | |
| 102 | ## 0.2.1 (2020-10-16) |
| 103 | ### Added |
| 104 | - Re-export `generic_array` from toplevel ([#343]) |
| 105 | |
| 106 | ### Fixed |
| 107 | - `dev` macro imports ([#345]) |
| 108 | |
| 109 | [#343]: https://github.com/RustCrypto/traits/pull/343 |
| 110 | [#345]: https://github.com/RustCrypto/traits/pull/345 |
| 111 | |
| 112 | ## 0.2.0 (2020-10-15) [YANKED] |
| 113 | ### Changed |
| 114 | - Unify `block-cipher` and `stream-cipher` into `cipher` ([#337]) |
| 115 | |
| 116 | [#337]: https://github.com/RustCrypto/traits/pull/337 |
| 117 | |
| 118 | ## 0.1.1 (2015-06-25) |
| 119 | |
| 120 | ## 0.1.0 (2015-06-24) |
| 121 | - Initial release |