Files
u-boot/include
AKASHI Takahiro 4540dabdca efi_loader: image_loader: support image authentication
With this commit, image validation can be enforced, as UEFI specification
section 32.5 describes, if CONFIG_EFI_SECURE_BOOT is enabled.

Currently we support
* authentication based on db and dbx,
  so dbx-validated image will always be rejected.
* following signature types:
    EFI_CERT_SHA256_GUID (SHA256 digest for unsigned images)
    EFI_CERT_X509_GUID (x509 certificate for signed images)
Timestamp-based certificate revocation is not supported here.

Internally, authentication data is stored in one of certificates tables
of PE image (See efi_image_parse()) and will be verified by
efi_image_authenticate() before loading a given image.

It seems that UEFI specification defines the verification process
in a bit ambiguous way. I tried to implement it as closely to as
EDK2 does.

Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
2020-04-16 08:12:46 +02:00
..
2019-12-06 16:44:20 -05:00
2019-10-16 05:42:27 +02:00
2019-11-17 17:22:53 +08:00
2019-07-24 13:16:29 -04:00
2019-12-15 11:44:16 +08:00
2019-11-02 18:00:51 +08:00
2019-09-20 20:09:19 +02:00
2020-02-05 19:33:46 -07:00
2020-01-07 14:37:50 +01:00
2019-04-23 20:26:43 -06:00
2020-02-05 19:33:46 -07:00
2019-10-13 23:34:43 +02:00
2019-04-22 12:06:39 -04:00
2020-01-24 23:06:47 +05:30
2020-01-20 15:38:16 +01:00
2019-02-20 15:27:09 +08:00
2019-02-09 12:50:22 -07:00
2019-10-14 09:31:41 +02:00
2020-01-20 15:38:16 +01:00
2020-01-24 23:06:49 +05:30
2019-11-07 18:39:16 -05:00
2019-08-11 16:43:41 -04:00
2019-02-02 08:19:17 -05:00
2020-01-07 16:03:01 -07:00
2019-12-02 18:23:11 -05:00
2019-08-02 11:19:14 -04:00
2019-05-20 13:50:34 +02:00
2020-01-25 12:04:36 -05:00
2020-03-09 18:11:23 -05:00
2020-02-05 19:33:46 -07:00
2019-12-15 11:44:11 +08:00
2019-05-20 13:50:34 +02:00
2020-02-05 19:33:46 -07:00
2019-12-06 16:44:19 -05:00
2020-03-09 08:33:16 +08:00
2020-02-05 19:33:46 -07:00
2019-02-01 16:59:12 +01:00
2020-03-16 16:42:50 -04:00
2019-05-21 17:33:23 -06:00
2020-01-24 23:06:49 +05:30
2020-01-21 15:56:15 +01:00
2020-02-07 22:46:35 +08:00
2019-12-02 18:23:09 -05:00