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