Drop rust-crypto support and implement aes+cbc#1
Merged
devttys0 merged 1 commit intodevttys0:mainfrom Jan 8, 2025
Merged
Conversation
Contributor
Author
|
Without these changes the result of the release.yml ends up link this: |
4db6c23 to
c99c877
Compare
Owner
|
Thank you! This fixes an issue I ran into with rust-crypto while fixing another bug. :) So far this works on all firmware I've tested it on. |
Contributor
Author
|
Glad to help you! |
Dr-Emann
pushed a commit
to Dr-Emann/delink
that referenced
this pull request
Mar 1, 2026
* Add CI quality checks * Fix clippy warning
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.
This PR removes
rust-cryptoand migrates toaesandcbc. The change is motivated by the related work in binwalk, which is needed to add CI support there, due torust-cryptoseems to be outdated and unmaintained state.. I tested this change with firmware binaries from D-Link. However, I’d greatly appreciate feedback or further testing.The new code is 3x faster.
I also did a sha256 comparison between the output files before and after this commit to check if it matches fine.
Tested firmwares/devices:
Looking forward to your comments!