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