Masahisa Kojima
f9b51dcf29
efi_loader: correctly handle no tpm device error
...
When the TCG2 protocol is installed in efi_tcg2_register(),
TPM2 device must be present.
tcg2_measure_pe_image() expects that TCP2 protocol is installed
and TPM device is available. If TCG2 Protocol is installed but
TPM device is not found, tcg2_measure_pe_image() returns
EFI_SECURITY_VIOLATION and efi_load_image() ends with failure.
The same error handling is applied to
efi_tcg2_measure_efi_app_invocation().
Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org >
Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org >
2021-12-09 11:43:25 -08:00
..
2021-10-06 09:15:14 -04:00
2020-10-12 21:30:37 -04:00
2021-09-09 11:11:33 -04:00
2021-04-14 15:06:08 -04:00
2021-08-02 13:32:14 -04:00
2021-08-16 10:49:35 +02:00
2021-11-07 18:36:55 +01:00
2021-10-21 03:46:03 +02:00
2021-12-09 11:43:25 -08:00
2021-11-26 21:30:59 +01:00
2021-10-13 14:18:30 -07:00
2021-10-26 15:26:45 -04:00
2021-02-02 15:33:42 -05:00
2021-10-08 15:53:26 -04:00
2021-10-08 15:53:26 -04:00
2021-03-05 10:25:43 +05:30
2021-01-16 19:17:11 -05:00
2021-11-18 18:20:19 -05:00
2021-03-27 15:04:31 +13:00
2021-03-07 17:37:13 +01:00
2021-09-23 14:15:32 -04:00
2021-07-12 20:30:48 +02:00
2021-09-17 12:10:44 -04:00
2021-05-24 14:21:30 -04:00
2021-04-14 15:06:08 -04:00
2021-10-13 14:18:30 -07:00
2021-10-27 16:38:26 -04:00
2020-10-30 10:56:11 -04:00
2021-10-08 15:53:26 -04:00
2021-09-04 12:26:01 -04:00
2021-10-08 15:53:27 -04:00
2020-12-04 16:09:06 -05:00
2021-06-08 11:39:09 -04:00
2021-06-01 16:48:54 -04:00
2021-11-20 10:53:00 +01:00
2021-11-18 18:20:19 -05:00
2021-10-09 13:09:56 -04:00
2021-10-08 15:53:26 -04:00
2021-09-16 10:29:40 -04:00
2021-08-02 13:32:14 -04:00
2021-06-11 16:34:52 +05:30
2021-07-14 16:57:35 -04:00
2021-09-08 16:11:46 -04:00
2021-10-26 17:58:14 +02:00
2021-07-24 10:49:51 +02:00
2020-08-24 14:11:31 -04:00
2021-10-08 15:53:26 -04:00
2021-08-02 13:32:14 -04:00
2021-02-02 15:33:42 -05:00
2021-09-04 12:48:53 -04:00
2021-03-02 15:53:37 -05:00
2021-07-15 18:42:05 -04:00
2021-11-17 13:47:27 +02:00
2021-11-30 09:23:49 +01:00
2021-05-24 14:21:30 -04:00
2021-10-26 15:26:45 -04:00
2021-11-11 19:02:34 -05:00