chore(deps): update aes requirement from =0.8.4 to =0.9.2 - #31
Open
dependabot[bot] wants to merge 4 commits into
Open
chore(deps): update aes requirement from =0.8.4 to =0.9.2#31dependabot[bot] wants to merge 4 commits into
dependabot[bot] wants to merge 4 commits into
Conversation
Member
|
@copilot fix the breaking changes in the api? |
Updates the requirements on [aes](https://github.com/RustCrypto/block-ciphers) to permit the latest version. - [Commits](RustCrypto/block-ciphers@aes-v0.8.4...aes-v0.9.2) --- updated-dependencies: - dependency-name: aes dependency-version: 0.9.2 dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com>
dependabot
Bot
force-pushed
the
dependabot/cargo/aes-eq-0.9.2
branch
from
August 11, 2026 07:18
d324e1c to
2bef33a
Compare
Co-authored-by: rymnc <43716372+rymnc@users.noreply.github.com>
Fixed in commit |
rymnc
reviewed
Aug 11, 2026
Comment on lines
309
to
322
| let mut block = [0u8; 16]; | ||
| block[12..16].copy_from_slice(&(i as u32).to_be_bytes()); | ||
| let mut blk = GenericArray::clone_from_slice(&block); | ||
| let mut blk = Block::<Aes128>::default(); | ||
| blk.copy_from_slice(&block); | ||
| cipher.encrypt_block(&mut blk); | ||
| out[i * 16..(i + 1) * 16].copy_from_slice(blk.as_slice()); | ||
| } | ||
| if tail > 0 { | ||
| let mut block = [0u8; 16]; | ||
| block[12..16].copy_from_slice(&(n_full as u32).to_be_bytes()); | ||
| let mut blk = GenericArray::clone_from_slice(&block); | ||
| let mut blk = Block::<Aes128>::default(); | ||
| blk.copy_from_slice(&block); | ||
| cipher.encrypt_block(&mut blk); | ||
| out[n_full * 16..n_full * 16 + tail].copy_from_slice(&blk.as_slice()[..tail]); |
Member
There was a problem hiding this comment.
i dont think block and blk both are required.
Co-authored-by: rymnc <43716372+rymnc@users.noreply.github.com>
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.
Updates the requirements on aes to permit the latest version.
Commits
18108aeRelease aes v0.9.2 (#577)2751b90aes: addhardware_acceleratedfunction (#579)e50a0c1aes: refactor backends (#575)8539fadrefactor(aes): machine-word generic fixslice (#560)948663fci: bump actions/cache from 5 to 6 (#573)32cad20build(deps): bump actions/checkout from 6 to 7 (#571)4bbb17aaes: useintel-sde-install's default SDE version (#570)4214e0aaes: useintel-sde-installaction for AVX-512 CI (#569)77dd035Release camellia v0.2.1 (#568)8bc3fedcamellia: drop unused byteorder dependency (#566)