mirror of
https://github.com/logos-blockchain/sponges.git
synced 2026-07-29 18:13:17 +00:00
Bump MSRV to 1.81 (#84)
This commit is contained in:
parent
5902ea6e37
commit
710788be9e
2
.github/workflows/ascon.yml
vendored
2
.github/workflows/ascon.yml
vendored
@ -21,7 +21,7 @@ jobs:
|
||||
set-msrv:
|
||||
uses: RustCrypto/actions/.github/workflows/set-msrv.yml@master
|
||||
with:
|
||||
msrv: 1.60.0
|
||||
msrv: 1.81.0
|
||||
|
||||
build:
|
||||
needs: set-msrv
|
||||
|
||||
2
.github/workflows/keccak.yml
vendored
2
.github/workflows/keccak.yml
vendored
@ -21,7 +21,7 @@ jobs:
|
||||
set-msrv:
|
||||
uses: RustCrypto/actions/.github/workflows/set-msrv.yml@master
|
||||
with:
|
||||
msrv: 1.60.0
|
||||
msrv: 1.81.0
|
||||
|
||||
build:
|
||||
needs: set-msrv
|
||||
|
||||
2
.github/workflows/workspace.yml
vendored
2
.github/workflows/workspace.yml
vendored
@ -17,7 +17,7 @@ jobs:
|
||||
- uses: RustCrypto/actions/cargo-cache@master
|
||||
- uses: dtolnay/rust-toolchain@master
|
||||
with:
|
||||
toolchain: 1.71.0
|
||||
toolchain: 1.82.0
|
||||
components: clippy
|
||||
- run: cargo clippy --all -- -D warnings
|
||||
|
||||
|
||||
@ -14,7 +14,7 @@ keywords = ["Ascon", "crypto", "permutation"]
|
||||
categories = ["cryptography", "no-std"]
|
||||
readme = "README.md"
|
||||
edition = "2021"
|
||||
rust-version = "1.60"
|
||||
rust-version = "1.81"
|
||||
|
||||
[dependencies]
|
||||
zeroize = { version = "1.6.0", default-features = false, optional=true }
|
||||
|
||||
@ -29,7 +29,7 @@ portfolio of the [CAESAR competition].
|
||||
|
||||
## Minimum Supported Rust Version
|
||||
|
||||
This crate requires **Rust 1.60** at a minimum.
|
||||
This crate requires **Rust 1.81** at a minimum.
|
||||
|
||||
We may change the MSRV in the future, but it will be accompanied by a minor
|
||||
version bump.
|
||||
|
||||
@ -14,7 +14,7 @@ keywords = ["crypto", "sponge", "keccak", "keccak-f", "keccak-p"]
|
||||
categories = ["cryptography", "no-std"]
|
||||
readme = "README.md"
|
||||
edition = "2021"
|
||||
rust-version = "1.60"
|
||||
rust-version = "1.81"
|
||||
|
||||
[features]
|
||||
asm = [] # Use optimized assembly when available (currently only ARMv8)
|
||||
|
||||
@ -22,7 +22,7 @@ is built on this crate.
|
||||
|
||||
## Minimum Supported Rust Version
|
||||
|
||||
Rust **1.60** or higher.
|
||||
Rust **1.81** or higher.
|
||||
|
||||
Minimum supported Rust version can be changed in the future, but it will be
|
||||
done with a minor version bump.
|
||||
|
||||
@ -273,9 +273,7 @@ pub fn keccak_p<L: LaneSize>(state: &mut [L; PLEN], round_count: usize) {
|
||||
unroll5!(y_step, {
|
||||
let y = 5 * y_step;
|
||||
|
||||
unroll5!(x, {
|
||||
array[x] = state[y + x];
|
||||
});
|
||||
array.copy_from_slice(&state[y..][..5]);
|
||||
|
||||
unroll5!(x, {
|
||||
let t1 = !array[(x + 1) % 5];
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user