Developer Reference for Intel® Integrated Performance Primitives Cryptography
Copies one IppsHMACState or IppsHMACState_rmf context to another.
IppStatus ippsHMAC_Duplicate(const IppsHMACState* pSrcCtx, IppsHMACState* pDstCtx);
IppStatus ippsHMACDuplicate_rmf(const IppsHMACState_rmf* pSrcCtx, IppsHMACState_rmf* pDstCtx);
ippcp.h
pSrcCtx |
Pointer to the input IppsHMACState or IppsHMACState_rmf context to be cloned. |
pDstCtx |
Pointer to the output IppsHMACState or IppsHMACState_rmf context. |
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.
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. |