[pull] master from RustCrypto:master#2
Open
pull[bot] wants to merge 584 commits into
Open
Conversation
If the length of the merged input string is a multiple of the chunk size, then the previous implementation appends a chaining value for an empty chunk.
mips-unknown-linux-gnu is now a Tier 3 target: rust-lang/rust#115218. This means we can't use it for cross tests anymore since std is no longer built for it. This commit replaces it with powerpc-unknown-linux-gnu, a big endian Tier 2 target.
Bumps [actions/checkout](https://github.com/actions/checkout) from 3 to 4. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](actions/checkout@v3...v4) --- updated-dependencies: - dependency-name: actions/checkout dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Based on code from RustCrypto/asm-hashes#66
Not zeroizing the state allows to recover any squeezed output. This is because the `ascon` permutations can be inversed. Hence, access to the complete state allows to perform this operation.
Co-authored-by: Tony Arcieri <bascule@gmail.com>
Bumps [cpufeatures](https://github.com/RustCrypto/utils) from 0.2.11 to 0.2.12. - [Commits](RustCrypto/utils@cpufeatures-v0.2.11...cpufeatures-v0.2.12) --- updated-dependencies: - dependency-name: cpufeatures dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
The new MSRV after #523 is 1.71
New implementation supports parallel processing of data and consumes data as soon as possible, which allows to remove the 8 KiB buffer used previously. It also introduces separate customized types with owned and borrowed customization strings, while the base type can not be customized.
### Added - `alloc` crate feature ([#678]) - `Kt`, `Kt128` and `Kt256` non-customizable types ([#839]) - `custom` module with customizable variants ([#839]) ### Changed - Edition changed to 2024 and MSRV bumped to 1.85 ([#652]) - Relax MSRV policy and allow MSRV bumps in patch releases - Update to `digest` v0.11 - New implementation with parallel processing support ([#839]) ### Removed - `std` crate feature ([#678]) - `KangarooTwelve*` types ([#839]) [#652]: #652 [#678]: #678 [#839]: #839
The crate ownership was granted to us by @itzmeanjan.
I accidentally missed them in #843.
Note: the crate was transferred to RustCrypto from https://github.com/itzmeanjan/turboshake ### Changed - New implementation moved from the `sha3` crate ([#815]) [#815]: #815
Additionally, performs a minor refactoring.
Removes unnecessary buffering from sponge-based constructions using the `sponge-cursor` crate (see RustCrypto/utils#1477).
The primary use of `BlockSizeUser` is implementation of HMAC. Our implementation in `hmac` requires fixed output, so XOFs can not be used with it (without `XofFixedWrapper`). XOFs should not be used with HMAC either way, so we probably can drop the impls.
The crate depends on `TryCustomizedInit` which was introduced in `digest` v0.11.3. The minimal versions job was broken (see RustCrypto/actions#59), so it missed the incorrect dependency specification.
Tweaks formatting for bash crates and lowers security level for Tiger (see https://eprint.iacr.org/2010/016).
### Added - `CShake128Reader` and `CShake256Reader` type aliases ([#855]) ### Changed - Internal implementation by removing unnecessary buffering ([#849]) - `Rate: BlockSizes` generic parameter to `const RATE: usize` ([#849]) ### Removed - Implementations of `BlockSizeUser` ([#856]) [#849]: #849 [#855]: #855 [#856]: #856
The library renaming can be confusing for users, see: #669
Change `TurboShake128/256` type aliases to use the default domain separator (DS) and introduce separate `CTurboShake128/256` type aliases generic over DS. It's effectively a work around for the subpar handling of default type/const parameters in Rust.
### Added - `CTurboShake128` and `CTurboShake256` type aliases generic over domain separator ([#866]) ### Changed - Internal implementation by removing unnecessary buffering ([#849]) - `Rate: BlockSizes` generic parameter to `const RATE: usize` ([#849]) - `TurboShake128` and `TurboShake256` type aliases are no longer generic over the domain separator and use the default value instead ([#866]) ### Removed - Implementations of `BlockSizeUser` ([#856]) [#849]: #849 [#856]: #856 [#866]: #866
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
See Commits and Changes for more details.
Created by
pull[bot]
Can you help keep this open source service alive? 💖 Please sponsor : )