]>
git.proxmox.com Git - mirror_edk2.git/blob - CryptoPkg/Library/BaseCryptLib/Hmac/CryptHmacMd5Null.c
2 HMAC-MD5 Wrapper Implementation which does not provide real capabilities.
4 Copyright (c) 2012, Intel Corporation. All rights reserved.<BR>
5 This program and the accompanying materials
6 are licensed and made available under the terms and conditions of the BSD License
7 which accompanies this distribution. The full text of the license may be found at
8 http://opensource.org/licenses/bsd-license.php
10 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
11 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
15 #include "InternalCryptLib.h"
18 Retrieves the size, in bytes, of the context buffer required for HMAC-MD5 operations.
20 Return zero to indicate this interface is not supported.
22 @retval 0 This interface is not supported.
27 HmacMd5GetContextSize (
36 Initializes user-supplied memory pointed by HmacMd5Context as HMAC-MD5 context for
39 Return FALSE to indicate this interface is not supported.
41 @param[out] HmacMd5Context Pointer to HMAC-MD5 context being initialized.
42 @param[in] Key Pointer to the user-supplied key.
43 @param[in] KeySize Key size in bytes.
45 @retval FALSE This interface is not supported.
51 OUT VOID
*HmacMd5Context
,
61 Makes a copy of an existing HMAC-MD5 context.
63 Return FALSE to indicate this interface is not supported.
65 @param[in] HmacMd5Context Pointer to HMAC-MD5 context being copied.
66 @param[out] NewHmacMd5Context Pointer to new HMAC-MD5 context.
68 @retval FALSE This interface is not supported.
74 IN CONST VOID
*HmacMd5Context
,
75 OUT VOID
*NewHmacMd5Context
83 Digests the input data and updates HMAC-MD5 context.
85 Return FALSE to indicate this interface is not supported.
87 @param[in, out] HmacMd5Context Pointer to the HMAC-MD5 context.
88 @param[in] Data Pointer to the buffer containing the data to be digested.
89 @param[in] DataSize Size of Data buffer in bytes.
91 @retval FALSE This interface is not supported.
97 IN OUT VOID
*HmacMd5Context
,
107 Completes computation of the HMAC-MD5 digest value.
109 Return FALSE to indicate this interface is not supported.
111 @param[in, out] HmacMd5Context Pointer to the HMAC-MD5 context.
112 @param[out] HmacValue Pointer to a buffer that receives the HMAC-MD5 digest
115 @retval FALSE This interface is not supported.
121 IN OUT VOID
*HmacMd5Context
,