HMAC_Duplicate
HMAC_Duplicate
Copies one
IppsHMACState
or IppsHMACState_rmf
context to another.Syntax
IppStatus ippsHMAC_Duplicate(const IppsHMACState*
pSrcCtx
, IppsHMACState*
pDstCtx
);
IppStatus ippsHMACDuplicate_rmf(const IppsHMACState_rmf*
pSrcCtx
, IppsHMACState_rmf*
pDstCtx
);
Include Files
ippcp.h
Parameters
- pSrcCtx
- Pointer to the inputIppsHMACStateorIppsHMACState_rmfcontext to be cloned.
- pDstCtx
- Pointer to the outputIppsHMACStateorIppsHMACState_rmfcontext.
Description
The function copies one
IppsHMACState
or IppsHMACState_rmf
context to another.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 isNULL.
- ippStsContextMatchErr
- Indicates an error condition if any of the context parameters does not match the operation.