commit | 3b3ac8bc3bb4a1037764039991283817e0844629 | [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 | 1f1eb34e095d7118de6cc6c63909a938acac0d31 [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>