Cryptography for Intel(R) Integrated Performance Primitives Developer Reference

ID 768738
Date 12/16/2022
Public
Document Table of Contents

HashDuplicate

Copies one IppsHashState or IppsHashState_rmf context to another.

Syntax

IppStatus ippsHashDuplicate(const IppsHashState* pSrcCtx, IppsHashState* pDstCtx);

IppStatus ippsHashDuplicate_rmf(const ippsHashState_rmf* pSrcCtx, ippsHashState_rmf* pDstCtx);

Include Files

ippcp.h

Parameters

pSrcCtx

Pointer to the input IppsHashState or IppsHashState_rmf context to be cloned.

pDstCtx

Pointer to the output IppsHashState or IppsHashState_rmf context.
Description

The function copies one IppsHashState or IppsHashState_rmf context to another.

NOTE:

This function has a reduced memory footprint version. To learn more, see Reduced Memory Footprint Functions.

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 any of the context parameters does not match the operation.

Did you find the information on this page useful?

Characters remaining:

Feedback Message