-
Notifications
You must be signed in to change notification settings - Fork 164
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature: compute program hash chain #1647
Feature: compute program hash chain #1647
Conversation
3305ccf
to
9cac9db
Compare
Some more backporting from the bootloader hints. This new module allows to get the hash of a program to replace the functionality of the |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #1647 +/- ##
==========================================
+ Coverage 96.70% 96.71% +0.01%
==========================================
Files 95 96 +1
Lines 38154 38246 +92
==========================================
+ Hits 36897 36990 +93
+ Misses 1257 1256 -1 ☔ View full report in Codecov by Sentry. |
cdb2b59
to
1684d17
Compare
Problem: computing the hash of a program is useful to verify its integrity. This hash is also used for different purposes, like when loading a program with the bootloader. Solution: add a `program_hash` module and the `compute_program_hash_chain` function that computes the hash of a stripped program, making it usable with `Program` and `CairoPie` objects.
1684d17
to
09e4be2
Compare
Problem: computing the hash of a program is useful to verify its integrity. This hash is also used for different purposes, like when loading a program with the bootloader.
Solution: add a
program_hash
module and thecompute_program_hash_chain
function that computes the hash of a stripped program, making it usable withProgram
andCairoPie
objects.Description of the pull request changes and motivation.
Checklist