chore(deps): update aes requirement from =0.8.4 to =0.9.2 - #31
chore(deps): update aes requirement from =0.8.4 to =0.9.2#31dependabot[bot] wants to merge 4 commits into
Conversation
|
@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>
d324e1c to
2bef33a
Compare
Co-authored-by: rymnc <43716372+rymnc@users.noreply.github.com>
Fixed in commit |
| 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]); |
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>
|
@dependabot rebase |
|
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 |
|
dont need this yet |
|
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 If you change your mind, just re-open this PR and I'll resolve any conflicts on it. |
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)