Marcin Wojtas 13ea0450a9 Extend libsecureboot(old libve) to obtain trusted certificates from UEFI and implement revocation
UEFI related headers were copied from edk2.

A new build option "MK_LOADER_EFI_SECUREBOOT" was added to allow
loading of trusted anchors from UEFI.

Certificate revocation support is also introduced.
The forbidden certificates are loaded from dbx variable.
Verification fails in two cases:

There is a direct match between cert in dbx and the one in the chain.
The CA used to sign the chain is found in dbx.
One can also insert a hash of TBS section of a certificate into dbx.
In this case verifications fails only if a direct match with a
certificate in chain is found.

Submitted by: Kornel Duleba <mindal@semihalf.com>
Reviewed by: sjg
Obtained from: Semihalf
Sponsored by: Stormshield
Differential Revision:	https://reviews.freebsd.org/D19093
2019-03-06 06:39:42 +00:00
..
2018-02-26 03:16:47 +00:00
2018-04-27 22:15:18 +00:00
2019-03-04 19:50:59 +00:00
2019-02-26 06:22:10 +00:00
2019-02-26 06:22:10 +00:00
2019-02-04 21:28:25 +00:00
2019-02-26 06:22:10 +00:00
2019-02-26 06:22:10 +00:00
2019-02-26 06:22:10 +00:00
2019-02-26 06:22:10 +00:00
2018-08-15 11:39:13 +00:00
2019-01-20 21:09:44 +00:00
2018-12-03 17:51:10 +00:00
2019-02-26 06:22:10 +00:00
2018-07-08 07:42:49 +00:00
2017-12-02 00:06:58 +00:00