summaryrefslogtreecommitdiff
path: root/Cryptlib/Hmac/CryptHmacMd5Null.c
diff options
context:
space:
mode:
authorMathieu Trudel-Lapierre <mathieu.trudel-lapierre@canonical.com>2017-09-13 12:09:40 -0700
committerMathieu Trudel-Lapierre <mathieu.trudel-lapierre@canonical.com>2017-09-13 12:09:40 -0700
commit8de1d1dc3a96fec12e97eff6ca5b728e606764b1 (patch)
tree4f251a469423bb40dd7f5da9d74cf638c89832cb /Cryptlib/Hmac/CryptHmacMd5Null.c
parenta97c2654996184b9a327630bc020f24f70a8b0da (diff)
parentb6f94dbeacfc6f0a507413096189304c58dbe66c (diff)
downloadefi-boot-shim-8de1d1dc3a96fec12e97eff6ca5b728e606764b1.tar.gz
efi-boot-shim-8de1d1dc3a96fec12e97eff6ca5b728e606764b1.zip
Updated version 13~git1505328970.9c1c35c5 from 'upstream/13_git1505328970.9c1c35c5'
with Debian dir 676fec75f526e6b8072deb5302628d27abfc7449
Diffstat (limited to 'Cryptlib/Hmac/CryptHmacMd5Null.c')
-rw-r--r--Cryptlib/Hmac/CryptHmacMd5Null.c40
1 files changed, 1 insertions, 39 deletions
diff --git a/Cryptlib/Hmac/CryptHmacMd5Null.c b/Cryptlib/Hmac/CryptHmacMd5Null.c
index bfe68ab9..b4bdde04 100644
--- a/Cryptlib/Hmac/CryptHmacMd5Null.c
+++ b/Cryptlib/Hmac/CryptHmacMd5Null.c
@@ -1,7 +1,7 @@
/** @file
HMAC-MD5 Wrapper Implementation which does not provide real capabilities.
-Copyright (c) 2012 - 2017, Intel Corporation. All rights reserved.<BR>
+Copyright (c) 2012, Intel Corporation. All rights reserved.<BR>
This program and the accompanying materials
are licensed and made available under the terms and conditions of the BSD License
which accompanies this distribution. The full text of the license may be found at
@@ -16,8 +16,6 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
/**
Retrieves the size, in bytes, of the context buffer required for HMAC-MD5 operations.
- (NOTE: This API is deprecated.
- Use HmacMd5New() / HmacMd5Free() for HMAC-MD5 Context operations.)
Return zero to indicate this interface is not supported.
@@ -35,42 +33,6 @@ HmacMd5GetContextSize (
}
/**
- Allocates and initializes one HMAC_CTX context for subsequent HMAC-MD5 use.
-
- Return NULL to indicate this interface is not supported.
-
- @retval NULL This interface is not supported.
-
-**/
-VOID *
-EFIAPI
-HmacMd5New (
- VOID
- )
-{
- ASSERT (FALSE);
- return NULL;
-}
-
-/**
- Release the specified HMAC_CTX context.
-
- This function will do nothing.
-
- @param[in] HmacMd5Ctx Pointer to the HMAC_CTX context to be released.
-
-**/
-VOID
-EFIAPI
-HmacMd5Free (
- IN VOID *HmacMd5Ctx
- )
-{
- ASSERT (FALSE);
- return;
-}
-
-/**
Initializes user-supplied memory pointed by HmacMd5Context as HMAC-MD5 context for
subsequent use.