Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
tpm: add macros to enhance TPM commands readability
TPM commands are much easier to read/write with these macros that will transform words or integers into byte strings. This way, there is no need to call pack_byte_string() while all variable length in a command are known (and at must 4 bytes, which is a lot of them). Signed-off-by: Miquel Raynal <[email protected]> Reviewed-by: Simon Glass <[email protected]> Reviewed-by: Tom Rini <[email protected]>
- Loading branch information