diff options
author | Tim Harvey <tharvey@gateworks.com> | 2024-05-25 13:00:48 -0700 |
---|---|---|
committer | Ilias Apalodimas <ilias.apalodimas@linaro.org> | 2024-05-27 09:00:07 +0300 |
commit | 954b95e77ef0a857a0b5272e3e6c0e5318dc1208 (patch) | |
tree | 975649948856f7a95d6b8c6bc43a68d8ce8f1ec0 /board/tcm-bf518 | |
parent | 57c601cd7b6268176c5e501452568aa0d607053f (diff) | |
download | u-boot-954b95e77ef0a857a0b5272e3e6c0e5318dc1208.zip u-boot-954b95e77ef0a857a0b5272e3e6c0e5318dc1208.tar.gz u-boot-954b95e77ef0a857a0b5272e3e6c0e5318dc1208.tar.bz2 |
tpm-v2: add support for mapping algorithm names to algos
replace tpm2_supported_algorithms with an array of structures
relating algorithm names, to TCG id's, digest length and mask values.
While at it fix the tpm2_algorithm_to_mask to return the proper value.
Cc: Eddie James <eajames@linux.ibm.com>
Cc: Ilias Apalodimas <ilias.apalodimas@linaro.org>
Fixes: 97707f12fdab ("tpm: Support boot measurements")
Signed-off-by: Tim Harvey <tharvey@gateworks.com>
Tested-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
Signed-off-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
Diffstat (limited to 'board/tcm-bf518')
0 files changed, 0 insertions, 0 deletions