diff options
author | Simon Glass <sjg@chromium.org> | 2021-02-06 14:23:38 -0700 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2021-03-02 15:53:37 -0500 |
commit | 1bea7cc430316674dfe3dd44b6bb53c38c4946cd (patch) | |
tree | 8a3794f3393369965ea0b520d78211144a728b7d /test/lib/cmd_ut_lib.c | |
parent | b8eb9210e778cbc2ec2e1868f71a2ce5a883d5c3 (diff) |
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 'test/lib/cmd_ut_lib.c')
0 files changed, 0 insertions, 0 deletions