Skip to content

chore(deps): update aes requirement from =0.8.4 to =0.9.2 - #31

Closed
dependabot[bot] wants to merge 4 commits into
mainfrom
dependabot/cargo/aes-eq-0.9.2
Closed

chore(deps): update aes requirement from =0.8.4 to =0.9.2#31
dependabot[bot] wants to merge 4 commits into
mainfrom
dependabot/cargo/aes-eq-0.9.2

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Aug 11, 2026

Copy link
Copy Markdown
Contributor

Updates the requirements on aes to permit the latest version.

Commits

@dependabot dependabot Bot added dependencies Pull requests that update a dependency file rust Pull requests that update rust code labels Aug 11, 2026
@dependabot
dependabot Bot requested review from oskarth and rymnc as code owners August 11, 2026 07:07
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file rust Pull requests that update rust code labels Aug 11, 2026
@rymnc

rymnc commented Aug 11, 2026

Copy link
Copy Markdown
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
dependabot Bot force-pushed the dependabot/cargo/aes-eq-0.9.2 branch from d324e1c to 2bef33a Compare August 11, 2026 07:18
Co-authored-by: rymnc <43716372+rymnc@users.noreply.github.com>

Copilot AI commented Aug 11, 2026

Copy link
Copy Markdown

@copilot fix the breaking changes in the api?

Fixed in commit 5bf4659. I updated the binius-mayo AES usage to the aes 0.9 API (new imports and key/block initialization), and verified with cargo test -p binius-mayo --tests.

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]);

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i dont think block and blk both are required.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@copilot fix this

Co-authored-by: rymnc <43716372+rymnc@users.noreply.github.com>
@rymnc

rymnc commented Aug 24, 2026

Copy link
Copy Markdown
Member

@dependabot rebase

@dependabot @github

dependabot Bot commented on behalf of github Aug 24, 2026

Copy link
Copy Markdown
Contributor Author

Looks like this PR has been edited by someone other than Dependabot. That means Dependabot can't rebase it - sorry!

If you're happy for Dependabot to recreate it from scratch, overwriting any edits, you can request @dependabot recreate.

@rymnc

rymnc commented Aug 24, 2026

Copy link
Copy Markdown
Member

dont need this yet

@rymnc rymnc closed this Aug 24, 2026
@dependabot @github

dependabot Bot commented on behalf of github Aug 24, 2026

Copy link
Copy Markdown
Contributor Author

OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting @dependabot ignore this major version or @dependabot ignore this minor version. You can also ignore all major, minor, or patch releases for a dependency by adding an ignore condition with the desired update_types to your config file.

If you change your mind, just re-open this PR and I'll resolve any conflicts on it.

@dependabot
dependabot Bot deleted the dependabot/cargo/aes-eq-0.9.2 branch August 24, 2026 07:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file rust Pull requests that update rust code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants