]> git.proxmox.com Git - mirror_edk2.git/blame_incremental - CryptoPkg/Library/TlsLib/InternalTlsLib.h
ArmVirtPkg: Apply uncrustify changes
[mirror_edk2.git] / CryptoPkg / Library / TlsLib / InternalTlsLib.h
... / ...
CommitLineData
1/** @file\r
2 Internal include file for TlsLib.\r
3\r
4Copyright (c) 2016 - 2017, Intel Corporation. All rights reserved.<BR>\r
5SPDX-License-Identifier: BSD-2-Clause-Patent\r
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
16#include <Library/BaseMemoryLib.h>\r
17#include <Library/DebugLib.h>\r
18#include <Library/MemoryAllocationLib.h>\r
19#include <Library/SafeIntLib.h>\r
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
29 SSL *Ssl;\r
30 //\r
31 // Memory BIO for the TLS/SSL Reading operations.\r
32 //\r
33 BIO *InBio;\r
34 //\r
35 // Memory BIO for the TLS/SSL Writing operations.\r
36 //\r
37 BIO *OutBio;\r
38} TLS_CONNECTION;\r
39\r
40#endif\r
41\r