diff options
| author | Michael Brown | 2025-03-13 14:40:16 +0100 |
|---|---|---|
| committer | Michael Brown | 2025-03-13 15:04:41 +0100 |
| commit | aa49ce5b1dce3dfbf97bf67ef95524e4710c99f5 (patch) | |
| tree | 5fed2ee9eec273a64bee13bcb62ca044272b72a8 /src/include/ipxe/efi/Guid | |
| parent | [efi] Add EFI_GLOBAL_VARIABLE as a well-known GUID (diff) | |
| download | ipxe-aa49ce5b1dce3dfbf97bf67ef95524e4710c99f5.tar.gz ipxe-aa49ce5b1dce3dfbf97bf67ef95524e4710c99f5.tar.xz ipxe-aa49ce5b1dce3dfbf97bf67ef95524e4710c99f5.zip | |
[efi] Add TLS authentication header and GUID definitions
Add the TlsAuthentication.h header from EDK2's NetworkPkg, along with
a GUID definition for EFI_TLS_CA_CERTIFICATE_GUID.
It is unclear whether or not the TlsCaCertificate variable is intended
to be a UEFI standard. Its presence in NetworkPkg (rather than
MdePkg) suggests not, but the choice of EFI_TLS_CA_CERTIFICATE_GUID
(rather than e.g. EDKII_TLS_CA_CERTIFICATE_GUID) suggests that it is
intended to be included in future versions of the standard.
Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/include/ipxe/efi/Guid')
| -rw-r--r-- | src/include/ipxe/efi/Guid/TlsAuthentication.h | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/src/include/ipxe/efi/Guid/TlsAuthentication.h b/src/include/ipxe/efi/Guid/TlsAuthentication.h new file mode 100644 index 000000000..f1e1b4f40 --- /dev/null +++ b/src/include/ipxe/efi/Guid/TlsAuthentication.h @@ -0,0 +1,25 @@ +/** @file + This file defines TlsCaCertificate variable. + +Copyright (c) 2016, Intel Corporation. All rights reserved.<BR> +SPDX-License-Identifier: BSD-2-Clause-Patent + +**/ + +#ifndef __TLS_AUTHENTICATION_H__ +#define __TLS_AUTHENTICATION_H__ + +FILE_LICENCE ( BSD2_PATENT ); + +// Private variable for CA Certificate configuration +// +#define EFI_TLS_CA_CERTIFICATE_GUID \ + { \ + 0xfd2340D0, 0x3dab, 0x4349, { 0xa6, 0xc7, 0x3b, 0x4f, 0x12, 0xb4, 0x8e, 0xae } \ + } + +#define EFI_TLS_CA_CERTIFICATE_VARIABLE L"TlsCaCertificate" + +extern EFI_GUID gEfiTlsCaCertificateGuid; + +#endif |
