Skip to content

Commit

Permalink
cipher: rename BlockDecryptMut::decrypt_padded_vec to decrypt_padded_…
Browse files Browse the repository at this point in the history
…vec_mut (#941)
  • Loading branch information
newpavlov authored Feb 16, 2022
1 parent 1f55b70 commit 7c24337
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 5 deletions.
8 changes: 7 additions & 1 deletion cipher/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,13 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## 0.4.1 (2022-02-16)
## 0.4.2 (2022-02-16)
### Fixed
- Rename `BlockDecryptMut::decrypt_padded_vec` to `decrypt_padded_vec_mut` for consistency with other methods ([#941])

[#941]: https://github.com/RustCrypto/traits/pull/941

## 0.4.1 (2022-02-16) [YANKED]
### Added
- Allocating padded encrypt/decrypt ([#936])

Expand Down
2 changes: 1 addition & 1 deletion cipher/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion cipher/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "cipher"
description = "Traits for describing block ciphers and stream ciphers"
version = "0.4.1" # Also update html_root_url in lib.rs when bumping this
version = "0.4.2" # Also update html_root_url in lib.rs when bumping this
authors = ["RustCrypto Developers"]
license = "MIT OR Apache-2.0"
readme = "README.md"
Expand Down
2 changes: 1 addition & 1 deletion cipher/src/block.rs
Original file line number Diff line number Diff line change
Expand Up @@ -555,7 +555,7 @@ pub trait BlockDecryptMut: BlockSizeUser + Sized {
#[cfg(all(feature = "block-padding", feature = "alloc"))]
#[cfg_attr(docsrs, doc(cfg(all(feature = "block-padding", feature = "alloc"))))]
#[inline]
fn decrypt_padded_vec<P: Padding<Self::BlockSize>>(
fn decrypt_padded_vec_mut<P: Padding<Self::BlockSize>>(
self,
buf: &[u8],
) -> Result<Vec<u8>, UnpadError> {
Expand Down
2 changes: 1 addition & 1 deletion cipher/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
#![doc(
html_logo_url = "https://raw.githubusercontent.com/RustCrypto/media/6ee8e381/logo.svg",
html_favicon_url = "https://raw.githubusercontent.com/RustCrypto/media/6ee8e381/logo.svg",
html_root_url = "https://docs.rs/cipher/0.4.1"
html_root_url = "https://docs.rs/cipher/0.4.2"
)]
#![warn(missing_docs, rust_2018_idioms)]

Expand Down

0 comments on commit 7c24337

Please sign in to comment.