-
Notifications
You must be signed in to change notification settings - Fork 189
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
The
swd
task measures the SP when SP resets
swd: - detects JTAG/dongle and SP_RESET - can drive SP_RESET to stop SP and initiate measurement procedure. - on JTAG dongle present or other failure, don't record a bogus FWID, just reset the log. - on SP reset detection, injects a blob to measure the SP. - on powered JTAG dongle detection, resets attestation log. - swd logs the result to attest task. - the hiffy command `db_reset_sp` is a conditional feature for debugging and testing. endoscope: An injectable code blob covered by the RoT signature. - configure STM32H7 clocks in endoscope for best performance (thanks Cliff). - Use instruction/data tightly coupled memory (ITCM/DTCM) for better performance. - Build the injectable SP measurement blob as a cargo `bindeps` artifact. attest: - Add `reset`, and `reset_and_record` to the attest task. - Only tasks listed in `[tasks.attest.config]` are allowed to reset the log. - Unauthorized tasks get Err(ClientError::AccessViolation. build/lpc55pins: - Modify build/lpc55pins to generate separate GPIO pin setup functions for named pins. This allows easier switching between pin configurations at runtime.
- Loading branch information
Showing
26 changed files
with
2,512 additions
and
108 deletions.
There are no files selected for viewing
This file contains 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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Oops, something went wrong.