]>
git.proxmox.com Git - mirror_edk2.git/blob - CryptoPkg/Library/BaseCryptLib/Hash/CryptMd4Null.c
610c61c713744f485a507818e4302477797fdfc2
2 MD4 Digest Wrapper Implementation which does not provide real capabilities.
4 Copyright (c) 2012 - 2018, Intel Corporation. All rights reserved.<BR>
5 SPDX-License-Identifier: BSD-2-Clause-Patent
9 #include "InternalCryptLib.h"
12 Retrieves the size, in bytes, of the context buffer required for MD4 hash
15 Return zero to indicate this interface is not supported.
17 @retval 0 This interface is not supported.
31 Initializes user-supplied memory pointed by Md4Context as MD4 hash context for
34 Return FALSE to indicate this interface is not supported.
36 @param[out] Md4Context Pointer to MD4 context being initialized.
38 @retval FALSE This interface is not supported.
52 Makes a copy of an existing MD4 context.
54 Return FALSE to indicate this interface is not supported.
56 @param[in] Md4Context Pointer to MD4 context being copied.
57 @param[out] NewMd4Context Pointer to new MD4 context.
59 @retval FALSE This interface is not supported.
65 IN CONST VOID
*Md4Context
,
66 OUT VOID
*NewMd4Context
74 Digests the input data and updates MD4 context.
76 Return FALSE to indicate this interface is not supported.
78 @param[in, out] Md4Context Pointer to the MD4 context.
79 @param[in] Data Pointer to the buffer containing the data to be hashed.
80 @param[in] DataSize Size of Data buffer in bytes.
82 @retval FALSE This interface is not supported.
88 IN OUT VOID
*Md4Context
,
98 Completes computation of the MD4 digest value.
100 Return FALSE to indicate this interface is not supported.
102 @param[in, out] Md4Context Pointer to the MD4 context.
103 @param[out] HashValue Pointer to a buffer that receives the MD4 digest
106 @retval FALSE This interface is not supported.
112 IN OUT VOID
*Md4Context
,
121 Computes the MD4 message digest of a input data buffer.
123 Return FALSE to indicate this interface is not supported.
125 @param[in] Data Pointer to the buffer containing the data to be hashed.
126 @param[in] DataSize Size of Data buffer in bytes.
127 @param[out] HashValue Pointer to a buffer that receives the MD4 digest
130 @retval FALSE This interface is not supported.