]>
git.proxmox.com Git - mirror_edk2.git/blob - CryptoPkg/Library/BaseCryptLibRuntimeCryptProtocol/Hash/CryptMd5Null.c
2 MD5 Digest 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"
19 Retrieves the size, in bytes, of the context buffer required for MD5 hash operations.
21 Return zero to indicate this interface is not supported.
23 @retval 0 This interface is not supported.
38 Initializes user-supplied memory pointed by Md5Context as MD5 hash context for
41 Return FALSE to indicate this interface is not supported.
43 @param[out] Md5Context Pointer to MD5 context being initialized.
45 @retval FALSE This interface is not supported.
59 Makes a copy of an existing MD5 context.
61 Return FALSE to indicate this interface is not supported.
63 @param[in] Md5Context Pointer to MD5 context being copied.
64 @param[out] NewMd5Context Pointer to new MD5 context.
66 @retval FALSE This interface is not supported.
72 IN CONST VOID
*Md5Context
,
73 OUT VOID
*NewMd5Context
81 Digests the input data and updates MD5 context.
83 Return FALSE to indicate this interface is not supported.
85 @param[in, out] Md5Context Pointer to the MD5 context.
86 @param[in] Data Pointer to the buffer containing the data to be hashed.
87 @param[in] DataSize Size of Data buffer in bytes.
89 @retval FALSE This interface is not supported.
95 IN OUT VOID
*Md5Context
,
105 Completes computation of the MD5 digest value.
107 Return FALSE to indicate this interface is not supported.
109 @param[in, out] Md5Context Pointer to the MD5 context.
110 @param[out] HashValue Pointer to a buffer that receives the MD5 digest
113 @retval FALSE This interface is not supported.
119 IN OUT VOID
*Md5Context
,