]> git.proxmox.com Git - mirror_edk2.git/blob - CryptoPkg/Library/TlsLib/InternalTlsLib.h
UefiCpuPkg: Move AsmRelocateApLoopStart from Mpfuncs.nasm to AmdSev.nasm
[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 <Protocol/Tls.h>
21 #include <IndustryStandard/Tls1.h>
22 #include <Library/PcdLib.h>
23 #include <openssl/obj_mac.h>
24 #include <openssl/ssl.h>
25 #include <openssl/bio.h>
26 #include <openssl/err.h>
27
28 typedef struct {
29 //
30 // Main SSL Connection which is created by a server or a client
31 // per established connection.
32 //
33 SSL *Ssl;
34 //
35 // Memory BIO for the TLS/SSL Reading operations.
36 //
37 BIO *InBio;
38 //
39 // Memory BIO for the TLS/SSL Writing operations.
40 //
41 BIO *OutBio;
42 } TLS_CONNECTION;
43
44 #endif