commit | 1bea7cc430316674dfe3dd44b6bb53c38c4946cd | [log] [tgz] |
---|---|---|
author | Simon Glass <sjg@chromium.org> | Sat Feb 06 14:23:38 2021 -0700 |
committer | Tom Rini <trini@konsulko.com> | Tue Mar 02 15:53:37 2021 -0500 |
tree | 8a3794f3393369965ea0b520d78211144a728b7d | |
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>