TianoCore EDK2 master
|
#include <Uefi/UefiBaseType.h>
#include <Uefi/UefiSpec.h>
#include <Guid/HttpTlsCipherList.h>
#include <Guid/TlsAuthentication.h>
#include <Library/BaseLib.h>
#include <Library/DebugLib.h>
#include <Library/MemoryAllocationLib.h>
#include <Library/QemuFwCfgLib.h>
#include <Library/UefiRuntimeServicesTableLib.h>
Go to the source code of this file.
Functions | |
STATIC VOID | SetCaCerts (VOID) |
STATIC VOID | SetCipherSuites (VOID) |
RETURN_STATUS EFIAPI | TlsAuthConfigInit (VOID) |
A hook-in library for NetworkPkg/TlsAuthConfigDxe, in order to set volatile variables related to TLS configuration, before TlsAuthConfigDxe or HttpDxe (which is a UEFI_DRIVER) consume them.
Copyright (C) 2013, 2015, 2018, Red Hat, Inc. Copyright (c) 2008 - 2012, Intel Corporation. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent
Definition in file TlsAuthConfigLib.c.
STATIC VOID SetCaCerts | ( | VOID | ) |
Read the list of trusted CA certificates from the fw_cfg file "etc/edk2/https/cacerts", and store it to gEfiTlsCaCertificateGuid:EFI_TLS_CA_CERTIFICATE_VARIABLE.
The contents are validated (for well-formedness) by NetworkPkg/HttpDxe.
Definition at line 35 of file TlsAuthConfigLib.c.
STATIC VOID SetCipherSuites | ( | VOID | ) |
Read the list of trusted cipher suites from the fw_cfg file "etc/edk2/https/ciphers", and store it to gEdkiiHttpTlsCipherListGuid:EDKII_HTTP_TLS_CIPHER_LIST_VARIABLE.
The contents are propagated by NetworkPkg/HttpDxe to NetworkPkg/TlsDxe; the list is processed by the latter.
Definition at line 160 of file TlsAuthConfigLib.c.
RETURN_STATUS EFIAPI TlsAuthConfigInit | ( | VOID | ) |
Definition at line 279 of file TlsAuthConfigLib.c.