]> git.proxmox.com Git - mirror_edk2.git/blame - CryptoPkg/Library/TlsLib/InternalTlsLib.h
CryptoPkg: Apply uncrustify changes
[mirror_edk2.git] / CryptoPkg / Library / TlsLib / InternalTlsLib.h
CommitLineData
264702a0
HW
1/** @file\r
2 Internal include file for TlsLib.\r
3\r
4Copyright (c) 2016 - 2017, Intel Corporation. All rights reserved.<BR>\r
2009f6b4 5SPDX-License-Identifier: BSD-2-Clause-Patent\r
264702a0
HW
6\r
7**/\r
8\r
9#ifndef __INTERNAL_TLS_LIB_H__\r
10#define __INTERNAL_TLS_LIB_H__\r
11\r
12#undef _WIN32\r
13#undef _WIN64\r
14\r
15#include <Library/BaseCryptLib.h>\r
a347b089
LE
16#include <Library/BaseMemoryLib.h>\r
17#include <Library/DebugLib.h>\r
2167c7f7
LE
18#include <Library/MemoryAllocationLib.h>\r
19#include <Library/SafeIntLib.h>\r
264702a0
HW
20#include <openssl/ssl.h>\r
21#include <openssl/bio.h>\r
22#include <openssl/err.h>\r
23\r
24typedef struct {\r
25 //\r
26 // Main SSL Connection which is created by a server or a client\r
27 // per established connection.\r
28 //\r
7c342378 29 SSL *Ssl;\r
264702a0
HW
30 //\r
31 // Memory BIO for the TLS/SSL Reading operations.\r
32 //\r
7c342378 33 BIO *InBio;\r
264702a0
HW
34 //\r
35 // Memory BIO for the TLS/SSL Writing operations.\r
36 //\r
7c342378 37 BIO *OutBio;\r
264702a0
HW
38} TLS_CONNECTION;\r
39\r
40#endif\r