SM3Duplicate

Copies one IppsSM3State context to another.

Syntax

IppStatus ippsSM3Duplicate(const IppsSM3State* pSrcCtx, IppsSM3State* pDstCtx);

Include Files

ippcp.h

Parameters

pSrcCtx

Pointer to the source IppsSM3State context to be cloned.

pDstCtx

Pointer to the destination IppsSM3State context.

Description

The function copies one IppsSM3State 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.