-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
User iterator instead of temporary buffer for CertifyKey TCB
When encoding TcbInfos, do not make a temporary buffer to copy all the TCI measurements. This adds multiple KiB of stack usage. Instead, add a function to allow the X.509 library to create an iterator for the TCB of the node. This allows the main DPE context array to be used as the backing memory when encoding TcbInfos instead of using extra stack space.
- Loading branch information
Showing
4 changed files
with
132 additions
and
85 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
Oops, something went wrong.