MD5Final

Completes computation of the MD5 digest value (deprecated).

Syntax

IppStatus ippsMD5Final(Ipp8u *pMD, IppsMD5State *pCtx);

Include Files

ippcp.h

Parameters

pMD

Pointer to the resultant digest value.

pCtx

Pointer to the IppsMD5State context.

Description

Note

This algorithm is considered weak due to known attacks on it. The functionality remains in the library, but the implementation will no longer be optimized and no security patches will be applied.

The function completes calculation of the digest value and stores the result into the specified memory.

Return Values

ippStsNoErr

Indicates no error. Any other value indicates an error or warning.

ippStsNullPtrErr

Indicates an error condition if any of the specified pointers is NULL.

ippStsContextMatchErr

Indicates an error condition if the context parameter does not match the operation.