SHA1Duplicate

Copies one IppsSHA1State context to another.

Syntax

IppStatus ippsSHA1Duplicate(const IppsSHA1State* pSrcCtx, IppsSHA1State* pDstCtx);

Parameters

pSrcCtx

Pointer to the source IppsSHA1State context.

pDstCtx

Pointer to the IppsSHA1State context to be cloned.

Description

The function is declared in the ippcp.h file. The function copies one IppsSHA1State 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.

Submit feedback on this help topic

Copyright © 2000 - 2011, Intel Corporation. All rights reserved.