Skip to content

[pull] master from RustCrypto:master#2

Open
pull[bot] wants to merge 584 commits into
mesalock-linux:masterfrom
RustCrypto:master
Open

[pull] master from RustCrypto:master#2
pull[bot] wants to merge 584 commits into
mesalock-linux:masterfrom
RustCrypto:master

Conversation

@pull
Copy link
Copy Markdown

@pull pull Bot commented Nov 6, 2019

See Commits and Changes for more details.


Created by pull[bot]

Can you help keep this open source service alive? 💖 Please sponsor : )

@pull pull Bot added the ⤵️ pull label Nov 6, 2019
@pull pull Bot added the merge-conflict Resolve conflicts manually label Feb 19, 2020
newpavlov and others added 26 commits August 7, 2023 16:10
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>
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>
Also bumps crate editions to 2021 where appropriate
The new MSRV after #523 is 1.71
Having to enable this feature has been an ongoing source of confusion,
especially since the compiler error that results is fairly inscrutible.
newpavlov and others added 30 commits April 24, 2026 18:49
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.
### Changed
- Internal implementation by removing unnecessary buffering ([#849])
- Serialization format used by `SerializableState` implementations
([#849])
- Replaced implementation of `CustomizedInit` with `TryCustomizedInit`
([#857])

[#849]: #849
[#857]: #857
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).
### Fixed
- Use correct minimal version of `digest` dependency ([#861])

[#861]: #861
### 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
### Changed
- Internal implementation by removing unnecessary buffering ([#849])
- `Rate: BlockSizes` generic parameter to `const RATE: usize` ([#849])

### Removed
- Implementations of `BlockSizeUser` ([#856])

[#849]: #849
[#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
### Changed
- Internal implementation by removing unnecessary buffering ([#849])
- Serialization format used by `SerializableState` trait implementations
([#849])

### Removed
- `Shake`, `Shake128`, and `Shake256` types (moved to the `shake` crate)
([#869])

[#849]: #849
[#869]: #869
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

⤵️ pull merge-conflict Resolve conflicts manually

Projects

None yet

Development

Successfully merging this pull request may close these issues.