]> Git Repo - J-u-boot.git/commit
tpm: add macros to enhance TPM commands readability
authorMiquel Raynal <[email protected]>
Tue, 15 May 2018 09:57:09 +0000 (11:57 +0200)
committerTom Rini <[email protected]>
Sat, 26 May 2018 00:12:56 +0000 (20:12 -0400)
commitf6872816ce07b6b26c9b6a4b1ba9206805d9321d
tree2f2d6c26bae265d2690263fc4ebb5fe4aaf36d85
parentff32245bb3b57689cd7b1699ae29ff8fc0edc0d8
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]>
lib/tpm-utils.h
This page took 0.028716 seconds and 4 git commands to generate.