diff options
author | Tim Harvey <tharvey@gateworks.com> | 2024-05-25 13:00:49 -0700 |
---|---|---|
committer | Ilias Apalodimas <ilias.apalodimas@linaro.org> | 2024-05-27 09:00:27 +0300 |
commit | 89aa8463cdf3919ca4f04fc24ec8b154ff56d97e (patch) | |
tree | db01b2d58c7b3d7bf8124519114a41b35129f1a9 /post/cpu/mpc83xx/ecc.c | |
parent | 954b95e77ef0a857a0b5272e3e6c0e5318dc1208 (diff) | |
download | u-boot-89aa8463cdf3919ca4f04fc24ec8b154ff56d97e.zip u-boot-89aa8463cdf3919ca4f04fc24ec8b154ff56d97e.tar.gz u-boot-89aa8463cdf3919ca4f04fc24ec8b154ff56d97e.tar.bz2 |
tpm-v2: allow algorithm name to be configured for pcr_read and pcr_extend
For pcr_read and pcr_extend commands allow the digest algorithm to be
specified by an additional argument. If not specified it will default to
SHA256 for backwards compatibility.
Additionally update test_tpm2.py for the changes in output in pcr_read
which now shows the algo and algo length in the output.
A follow-on to this could be to extend all PCR banks with the detected
algo when the <digest_algo> argument is 'auto'.
Signed-off-by: Tim Harvey <tharvey@gateworks.com>
Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
Signed-off-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
Diffstat (limited to 'post/cpu/mpc83xx/ecc.c')
0 files changed, 0 insertions, 0 deletions