MD5Duplicate

Copies one IppsMD5State context to another (deprecated).

Syntax

IppStatus ippsMD5Duplicate(const IppsMD5State* pSrcCtx, IppsMD5State* pDstCtx);

Include Files

ippcp.h

Parameters

pSrcCtx

Pointer to the source IppsMD5State context to be cloned.

pDstCtx

Pointer to the destination 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 copies one IppsMD5State context to another.

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.