Eddie James 97707f12fd tpm: Support boot measurements
Add TPM2 functions to support boot measurement. This includes
starting up the TPM, initializing/appending the event log, and
measuring the U-Boot version. Much of the code was used in the
EFI subsystem, so remove it there and use the common functions.

Signed-off-by: Eddie James <eajames@linux.ibm.com>
For the API moving around from EFI -> u-boot core
Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
For EFI testing
Tested-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
Signed-off-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
2023-10-27 13:14:47 +03:00
..
2023-06-12 14:55:33 -04:00
2022-01-18 08:31:02 -05:00
2023-10-27 13:14:47 +03:00
2023-08-25 13:54:33 -04:00
2022-07-26 02:30:56 -06:00
2022-01-19 18:11:34 +01:00
2011-01-18 23:38:08 +01:00
2019-12-02 18:23:07 -05:00
2022-08-12 08:14:23 -04:00
2019-10-31 07:22:53 -04:00
2020-10-30 10:56:11 -04:00
2023-01-20 12:27:24 -05:00
2021-09-04 12:26:01 -04:00
2023-10-27 13:14:47 +03:00
2022-03-15 16:19:29 -04:00
2023-09-04 10:51:58 -04:00
2019-12-06 16:44:20 -05:00
2020-05-18 21:19:18 -04:00
2023-01-16 18:01:10 +08:00
2021-07-14 16:57:35 -04:00
2020-05-18 21:19:18 -04:00
2020-08-24 14:11:31 -04:00
2023-02-11 12:22:34 -05:00
2021-07-15 18:42:05 -04:00
2022-01-19 18:11:34 +01:00
2023-10-27 13:14:47 +03:00
2023-08-25 17:55:19 -04:00
2019-05-05 08:48:50 -04:00