2018-03-26 04:10:09 +02:00
|
|
|
/** @file
|
|
|
|
This file defines the HttpTlsCipherList variable for HTTPS to configure Tls Cipher List.
|
|
|
|
|
2018-06-27 15:12:32 +02:00
|
|
|
Copyright (c) 2018 - 2018, Intel Corporation. All rights reserved.<BR>
|
2019-04-04 01:06:13 +02:00
|
|
|
SPDX-License-Identifier: BSD-2-Clause-Patent
|
2018-03-26 04:10:09 +02:00
|
|
|
|
|
|
|
**/
|
|
|
|
|
|
|
|
#ifndef __HTTP_TLS_CIPHER_LIST_H__
|
|
|
|
#define __HTTP_TLS_CIPHER_LIST_H__
|
|
|
|
|
|
|
|
//
|
|
|
|
// Private Variable for HTTPS to configure Tls Cipher List.
|
2018-06-27 15:12:32 +02:00
|
|
|
// The valid contents of variable must follow the TLS CipherList format defined in RFC 5246.
|
2018-03-26 04:10:09 +02:00
|
|
|
// The valid length of variable must be an integral multiple of 2.
|
|
|
|
// For example, if below cipher suites are preferred:
|
2018-06-27 15:12:32 +02:00
|
|
|
// CipherSuite TLS_RSA_WITH_AES_128_CBC_SHA256 = {0x00,0x3C}
|
2018-03-26 04:10:09 +02:00
|
|
|
// CipherSuite TLS_RSA_WITH_AES_256_CBC_SHA256 = {0x00,0x3D}
|
|
|
|
// Then, the contents of variable should be:
|
|
|
|
// {0x00,0x3C,0x00,0x3D}
|
|
|
|
//
|
|
|
|
#define EDKII_HTTP_TLS_CIPHER_LIST_GUID \
|
|
|
|
{ \
|
|
|
|
0x46ddb415, 0x5244, 0x49c7, { 0x93, 0x74, 0xf0, 0xe2, 0x98, 0xe7, 0xd3, 0x86 } \
|
|
|
|
}
|
2018-06-27 15:12:32 +02:00
|
|
|
|
2018-03-26 04:10:09 +02:00
|
|
|
#define EDKII_HTTP_TLS_CIPHER_LIST_VARIABLE L"HttpTlsCipherList"
|
|
|
|
|
|
|
|
extern EFI_GUID gEdkiiHttpTlsCipherListGuid;
|
|
|
|
|
|
|
|
#endif
|
|
|
|
|