]> git.proxmox.com Git - mirror_edk2.git/blobdiff - NetworkPkg/TlsDxe/TlsImpl.h
NetworkPkg/TlsDxe: Handle the multiple TLS record messages encryption/decryption.
[mirror_edk2.git] / NetworkPkg / TlsDxe / TlsImpl.h
index 3ae9d0d546ebf0abdaf2f980f5231a74ffc0df14..e04b312c199079a30cd9f166f3859bcc950f022f 100644 (file)
@@ -1,7 +1,7 @@
 /** @file\r
   Header file of Miscellaneous Routines for TlsDxe driver.\r
 \r
-Copyright (c) 2016, Intel Corporation. All rights reserved.<BR>\r
+Copyright (c) 2016 - 2018, Intel Corporation. All rights reserved.<BR>\r
 \r
 This program and the accompanying materials\r
 are licensed and made available under the terms and conditions of the BSD License\r
@@ -46,10 +46,6 @@ extern EFI_SERVICE_BINDING_PROTOCOL    mTlsServiceBinding;
 extern EFI_TLS_PROTOCOL                mTlsProtocol;\r
 extern EFI_TLS_CONFIGURATION_PROTOCOL  mTlsConfigurationProtocol;\r
 \r
-#define RECORD_HEADER_LEN 5 /// ContentType(1) + Version(2) + Length(2)\r
-\r
-#define MAX_BUFFER_SIZE   32768\r
-\r
 /**\r
   Encrypt the message listed in fragment.\r
 \r