.. _sha512duplicate: SHA512Duplicate =============== Copies one IppsSHA512State context to another. Syntax ------ IppStatus ippsSHA512Duplicate(const IppsSHA512State\* pSrcCtx, IppsSHA512State\* pDstCtx); Include Files ------------- ``ippcp.h`` Parameters ---------- .. list-table:: :header-rows: 0 * - pSrcCtx - Pointer to the source IppsSHA512State context to be cloned. * - pDstCtx - Pointer to the destination IppsSHA512State context. Description ----------- The function copies one IppsSHA512State context to another. Return Values ------------- .. list-table:: :header-rows: 0 * - 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.