]> git.proxmox.com Git - mirror_edk2.git/blobdiff - CryptoPkg/Library/TlsLib/InternalTlsLib.h
UefiCpuPkg: Move AsmRelocateApLoopStart from Mpfuncs.nasm to AmdSev.nasm
[mirror_edk2.git] / CryptoPkg / Library / TlsLib / InternalTlsLib.h
index 88c4e3b38e4ef36ec94134d540799296b1ac4d76..97a46af6c1c7eb9cf52592ec3cbf2ce5f103ad9d 100644 (file)
@@ -2,13 +2,7 @@
   Internal include file for TlsLib.\r
 \r
 Copyright (c) 2016 - 2017, Intel Corporation. All rights reserved.<BR>\r
-This program and the accompanying materials\r
-are licensed and made available under the terms and conditions of the BSD License\r
-which accompanies this distribution.  The full text of the license may be found at\r
-http://opensource.org/licenses/bsd-license.php\r
-\r
-THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
-WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
+SPDX-License-Identifier: BSD-2-Clause-Patent\r
 \r
 **/\r
 \r
@@ -19,6 +13,14 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
 #undef _WIN64\r
 \r
 #include <Library/BaseCryptLib.h>\r
+#include <Library/BaseMemoryLib.h>\r
+#include <Library/DebugLib.h>\r
+#include <Library/MemoryAllocationLib.h>\r
+#include <Library/SafeIntLib.h>\r
+#include <Protocol/Tls.h>\r
+#include <IndustryStandard/Tls1.h>\r
+#include <Library/PcdLib.h>\r
+#include <openssl/obj_mac.h>\r
 #include <openssl/ssl.h>\r
 #include <openssl/bio.h>\r
 #include <openssl/err.h>\r
@@ -28,16 +30,15 @@ typedef struct {
   // Main SSL Connection which is created by a server or a client\r
   // per established connection.\r
   //\r
-  SSL                             *Ssl;\r
+  SSL    *Ssl;\r
   //\r
   // Memory BIO for the TLS/SSL Reading operations.\r
   //\r
-  BIO                             *InBio;\r
+  BIO    *InBio;\r
   //\r
   // Memory BIO for the TLS/SSL Writing operations.\r
   //\r
-  BIO                             *OutBio;\r
+  BIO    *OutBio;\r
 } TLS_CONNECTION;\r
 \r
 #endif\r
-\r