Skip to content

Commit

Permalink
blake2 v0.9.1 (#201)
Browse files Browse the repository at this point in the history
  • Loading branch information
tarcieri authored Oct 26, 2020
1 parent 1e47fbc commit bb71874
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Cargo.lock

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

8 changes: 8 additions & 0 deletions blake2/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,14 @@ 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.9.1 (2020-10-26)
### Changed
- Bump `opaque-debug` to v0.3 ([#168])
- Bump `block-buffer` to v0.9 ([#164])

[#168]: https://github.com/RustCrypto/hashes/pull/168
[#164]: https://github.com/RustCrypto/hashes/pull/164

## 0.9.0 (2020-06-10)
### Added
- Support for Persona and Salt ([#78])
Expand Down
2 changes: 1 addition & 1 deletion blake2/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "blake2"
version = "0.9.0"
version = "0.9.1"
description = "BLAKE2 hash functions"
authors = ["RustCrypto Developers"]
license = "MIT OR Apache-2.0"
Expand Down
2 changes: 1 addition & 1 deletion sha3/src/paddings.rs
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ macro_rules! impl_padding {
#[inline(always)]
fn pad_block(block: &mut [u8], pos: usize) -> Result<(), PadError> {
if pos >= block.len() {
Err(PadError)?
return Err(PadError);
}
block[pos] = $pad;
block[pos + 1..].iter_mut().for_each(|b| *b = 0);
Expand Down

0 comments on commit bb71874

Please sign in to comment.