-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allow passing the witness identity counter to the Trusted Applet. (#142)
* Remove storage from RPMB struct. * Add fake RPMB. * Make counter read optional for RPMB. * Use 2D memory array for fake RPMB. * Add sector constants and read/write for MMC blocks related to new witness identity. * Call increment when new witness identity for both MMC and RPMB cases. * Add RPCs for reading the witness identity counter. * Use fake RPMB to implement the counter. * Add identity counter to witness status data structures. * Move identity counter out of WitnessStatus. * Set identity counter in status. * Fix getStatus. * Don't need to pass in RPMB to ctl. * Fix compilation errors. * Add env vars for toggling fake storage to Dockerfile. * Add back / fix fake rpmb init()
- Loading branch information
Showing
6 changed files
with
130 additions
and
17 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
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
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