summaryrefslogtreecommitdiffstats
path: root/include/tpm-v2.h
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2021-02-06 14:23:38 -0700
committerTom Rini <trini@konsulko.com>2021-03-02 15:53:37 -0500
commit1bea7cc430316674dfe3dd44b6bb53c38c4946cd (patch)
tree8a3794f3393369965ea0b520d78211144a728b7d /include/tpm-v2.h
parentb8eb9210e778cbc2ec2e1868f71a2ce5a883d5c3 (diff)
downloadu-boot-1bea7cc430316674dfe3dd44b6bb53c38c4946cd.tar.gz
u-boot-1bea7cc430316674dfe3dd44b6bb53c38c4946cd.tar.xz
u-boot-1bea7cc430316674dfe3dd44b6bb53c38c4946cd.zip
tpm: Reduce duplication in a few functions
Update tpm2_clear() and tpm2_pcr_extend() so that the command size is not repeated twice. Add a small comment to the latter. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
Diffstat (limited to 'include/tpm-v2.h')
0 files changed, 0 insertions, 0 deletions