MdePkg[all]
1.08
|
Data Structures | |
struct | _EFI_TLS_CONFIGURATION_PROTOCOL |
Macros | |
#define | EFI_TLS_CONFIGURATION_PROTOCOL_GUID |
Typedefs | |
typedef struct _EFI_TLS_CONFIGURATION_PROTOCOL | EFI_TLS_CONFIGURATION_PROTOCOL |
typedef EFI_STATUS(EFIAPI * | EFI_TLS_CONFIGURATION_SET_DATA )(IN EFI_TLS_CONFIGURATION_PROTOCOL *This, IN EFI_TLS_CONFIG_DATA_TYPE DataType, IN VOID *Data, IN UINTN DataSize) |
typedef EFI_STATUS(EFIAPI * | EFI_TLS_CONFIGURATION_GET_DATA )(IN EFI_TLS_CONFIGURATION_PROTOCOL *This, IN EFI_TLS_CONFIG_DATA_TYPE DataType, IN OUT VOID *Data, IN OUT UINTN *DataSize) |
Variables | |
EFI_GUID | gEfiTlsConfigurationProtocolGuid |
EFI TLS Configuration Protocol as defined in UEFI 2.5. The EFI TLS Configuration Protocol provides a way to set and get TLS configuration.
Copyright (c) 2016, Intel Corporation. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent
#define EFI_TLS_CONFIGURATION_PROTOCOL_GUID |
The EFI Configuration protocol provides a way to set and get TLS configuration.
typedef EFI_STATUS(EFIAPI * EFI_TLS_CONFIGURATION_GET_DATA)(IN EFI_TLS_CONFIGURATION_PROTOCOL *This, IN EFI_TLS_CONFIG_DATA_TYPE DataType, IN OUT VOID *Data, IN OUT UINTN *DataSize) |
Get TLS configuration data.
The GetData() function gets TLS configuration.
[in] | This | Pointer to the EFI_TLS_CONFIGURATION_PROTOCOL instance. |
[in] | DataType | Configuration data type. |
[in,out] | Data | Pointer to configuration data. |
[in,out] | DataSize | Total size of configuration data. On input, it means the size of Data buffer. On output, it means the size of copied Data buffer if EFI_SUCCESS, and means the size of desired Data buffer if EFI_BUFFER_TOO_SMALL. |
EFI_SUCCESS | The TLS configuration data is got successfully. |
EFI_INVALID_PARAMETER | One or more of the following conditions is TRUE: This is NULL. DataSize is NULL. Data is NULL if *DataSize is not zero. |
EFI_UNSUPPORTED | The DataType is unsupported. |
EFI_NOT_FOUND | The TLS configuration data is not found. |
EFI_BUFFER_TOO_SMALL | The buffer is too small to hold the data. |
typedef struct _EFI_TLS_CONFIGURATION_PROTOCOL EFI_TLS_CONFIGURATION_PROTOCOL |
typedef EFI_STATUS(EFIAPI * EFI_TLS_CONFIGURATION_SET_DATA)(IN EFI_TLS_CONFIGURATION_PROTOCOL *This, IN EFI_TLS_CONFIG_DATA_TYPE DataType, IN VOID *Data, IN UINTN DataSize) |
Set TLS configuration data.
The SetData() function sets TLS configuration to non-volatile storage or volatile storage.
[in] | This | Pointer to the EFI_TLS_CONFIGURATION_PROTOCOL instance. |
[in] | DataType | Configuration data type. |
[in] | Data | Pointer to configuration data. |
[in] | DataSize | Total size of configuration data. |
EFI_SUCCESS | The TLS configuration data is set successfully. |
EFI_INVALID_PARAMETER | One or more of the following conditions is TRUE: This is NULL. Data is NULL. DataSize is 0. |
EFI_UNSUPPORTED | The DataType is unsupported. |
EFI_OUT_OF_RESOURCES | Required system resources could not be allocated. |
EFI_TLS_CONFIG_DATA_TYPE
EFI_GUID gEfiTlsConfigurationProtocolGuid |