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 | |
4 | Copyright (c) 2018, Intel Corporation. All rights reserved.<BR>\r | |
5 | This program and the accompanying materials are licensed and made available under\r | |
6 | the terms and conditions of the BSD License that accompanies this distribution.\r | |
7 | The full text of the license may be found at\r | |
8 | http://opensource.org/licenses/bsd-license.php.\r | |
9 | \r | |
10 | THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r | |
11 | WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r | |
12 | \r | |
13 | **/\r | |
14 | \r | |
15 | #ifndef __HTTP_TLS_CIPHER_LIST_H__\r | |
16 | #define __HTTP_TLS_CIPHER_LIST_H__\r | |
17 | \r | |
18 | //\r | |
19 | // Private Variable for HTTPS to configure Tls Cipher List.\r | |
20 | // The valid contents of variable must follow the TLS CipherList format defined in RFC 5246. \r | |
21 | // The valid length of variable must be an integral multiple of 2.\r | |
22 | // For example, if below cipher suites are preferred:\r | |
23 | // CipherSuite TLS_RSA_WITH_AES_128_CBC_SHA256 = {0x00,0x3C}\r | |
24 | // CipherSuite TLS_RSA_WITH_AES_256_CBC_SHA256 = {0x00,0x3D}\r | |
25 | // Then, the contents of variable should be:\r | |
26 | // {0x00,0x3C,0x00,0x3D}\r | |
27 | //\r | |
28 | #define EDKII_HTTP_TLS_CIPHER_LIST_GUID \\r | |
29 | { \\r | |
30 | 0x46ddb415, 0x5244, 0x49c7, { 0x93, 0x74, 0xf0, 0xe2, 0x98, 0xe7, 0xd3, 0x86 } \\r | |
31 | }\r | |
32 | \r | |
33 | #define EDKII_HTTP_TLS_CIPHER_LIST_VARIABLE L"HttpTlsCipherList"\r | |
34 | \r | |
35 | extern EFI_GUID gEdkiiHttpTlsCipherListGuid;\r | |
36 | \r | |
37 | #endif\r | |
38 | \r |