Skip to content

Commit

Permalink
chacha20 v0.7.3 (#266)
Browse files Browse the repository at this point in the history
  • Loading branch information
tarcieri authored Aug 27, 2021
1 parent a28c53c commit 8cfea58
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 5 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 chacha20/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.7.3 (2021-08-27)
### Changed
- Improve AVX2 performance ([#261])
- Bump `cpufeatures` to v0.2 ([#265])

[#261]: https://github.com/RustCrypto/stream-ciphers/pull/261
[#265]: https://github.com/RustCrypto/stream-ciphers/pull/265

## 0.7.2 (2021-07-20)
### Changed
- Pin `zeroize` dependency to v1.3 ([#256])
Expand Down
4 changes: 2 additions & 2 deletions chacha20/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "chacha20"
version = "0.7.2" # Also update html_root_url in lib.rs when bumping this
version = "0.7.3" # Also update html_root_url in lib.rs when bumping this
authors = ["RustCrypto Developers"]
license = "Apache-2.0 OR MIT"
description = """
Expand All @@ -20,7 +20,7 @@ edition = "2018"
cfg-if = "1"
cipher = { version = "0.3", optional = true }
rand_core = { version = "0.6", optional = true, default-features = false }
zeroize = { version = "=1.3", optional = true, default-features = false }
zeroize = { version = ">=1, <1.4", optional = true, default-features = false }

[target.'cfg(any(target_arch = "x86_64", target_arch = "x86"))'.dependencies]
cpufeatures = "0.2"
Expand Down
2 changes: 1 addition & 1 deletion chacha20/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@
#![doc(
html_logo_url = "https://raw.githubusercontent.com/RustCrypto/media/8f1a9894/logo.svg",
html_favicon_url = "https://raw.githubusercontent.com/RustCrypto/media/8f1a9894/logo.svg",
html_root_url = "https://docs.rs/chacha20/0.7.2"
html_root_url = "https://docs.rs/chacha20/0.7.3"
)]
#![cfg_attr(docsrs, feature(doc_cfg))]
#![warn(missing_docs, rust_2018_idioms, trivial_casts, unused_qualifications)]
Expand Down
2 changes: 1 addition & 1 deletion chacha20/src/max_blocks.rs
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ pub trait MaxCounter: Copy {
pub struct C32;

impl MaxCounter for C32 {
const MAX_BLOCKS: Option<u64> = Some(core::u32::MAX as u64);
const MAX_BLOCKS: Option<u64> = Some(u32::MAX as u64);
}

/// 64-bit counter
Expand Down

0 comments on commit 8cfea58

Please sign in to comment.