]>
Commit | Line | Data |
---|---|---|
d9885abf LG |
1 | /** @file\r |
2 | This file defines the HttpTlsCipherList variable for HTTPS to configure Tls Cipher List.\r | |
3 | \r | |
f75a7f56 | 4 | Copyright (c) 2018 - 2018, Intel Corporation. All rights reserved.<BR>\r |
ecf98fbc | 5 | SPDX-License-Identifier: BSD-2-Clause-Patent\r |
d9885abf LG |
6 | \r |
7 | **/\r | |
8 | \r | |
9 | #ifndef __HTTP_TLS_CIPHER_LIST_H__\r | |
10 | #define __HTTP_TLS_CIPHER_LIST_H__\r | |
11 | \r | |
12 | //\r | |
13 | // Private Variable for HTTPS to configure Tls Cipher List.\r | |
f75a7f56 | 14 | // The valid contents of variable must follow the TLS CipherList format defined in RFC 5246.\r |
d9885abf LG |
15 | // The valid length of variable must be an integral multiple of 2.\r |
16 | // For example, if below cipher suites are preferred:\r | |
f75a7f56 | 17 | // CipherSuite TLS_RSA_WITH_AES_128_CBC_SHA256 = {0x00,0x3C}\r |
d9885abf LG |
18 | // CipherSuite TLS_RSA_WITH_AES_256_CBC_SHA256 = {0x00,0x3D}\r |
19 | // Then, the contents of variable should be:\r | |
20 | // {0x00,0x3C,0x00,0x3D}\r | |
21 | //\r | |
22 | #define EDKII_HTTP_TLS_CIPHER_LIST_GUID \\r | |
23 | { \\r | |
24 | 0x46ddb415, 0x5244, 0x49c7, { 0x93, 0x74, 0xf0, 0xe2, 0x98, 0xe7, 0xd3, 0x86 } \\r | |
25 | }\r | |
f75a7f56 | 26 | \r |
d1050b9d | 27 | #define EDKII_HTTP_TLS_CIPHER_LIST_VARIABLE L"HttpTlsCipherList"\r |
d9885abf | 28 | \r |
d1050b9d | 29 | extern EFI_GUID gEdkiiHttpTlsCipherListGuid;\r |
d9885abf LG |
30 | \r |
31 | #endif\r |