]> git.proxmox.com Git - mirror_edk2.git/blobdiff - CryptoPkg/Library/BaseCryptLib/Hmac/CryptHmacMd5Null.c
CryptoPkg/BaseCryptLib: remove HmacXxxGetContextSize interface
[mirror_edk2.git] / CryptoPkg / Library / BaseCryptLib / Hmac / CryptHmacMd5Null.c
index b77a2266db2efc209edd507c4e6aab19cf811c36..5de55bf0d592118e0706e995ed42a4b5ac3501aa 100644 (file)
@@ -1,33 +1,13 @@
 /** @file\r
   HMAC-MD5 Wrapper Implementation which does not provide real capabilities.\r
 \r
-Copyright (c) 2012 - 2018, Intel Corporation. All rights reserved.<BR>\r
+Copyright (c) 2012 - 2020, Intel Corporation. All rights reserved.<BR>\r
 SPDX-License-Identifier: BSD-2-Clause-Patent\r
 \r
 **/\r
 \r
 #include "InternalCryptLib.h"\r
 \r
-/**\r
-  Retrieves the size, in bytes, of the context buffer required for HMAC-MD5 operations.\r
-  (NOTE: This API is deprecated.\r
-         Use HmacMd5New() / HmacMd5Free() for HMAC-MD5 Context operations.)\r
-\r
-  Return zero to indicate this interface is not supported.\r
-\r
-  @retval  0   This interface is not supported.\r
-\r
-**/\r
-UINTN\r
-EFIAPI\r
-HmacMd5GetContextSize (\r
-  VOID\r
-  )\r
-{\r
-  ASSERT (FALSE);\r
-  return 0;\r
-}\r
-\r
 /**\r
   Allocates and initializes one HMAC_CTX context for subsequent HMAC-MD5 use.\r
 \r