.. _sm3final: SM3Final ======== Completes computation of the SM3 digest value. Syntax ------ IppStatus ippsSM3Final(Ipp8u \*pMD, IppsSM3State \*pCtx); Include Files ------------- ``ippcp.h`` Parameters ---------- .. list-table:: :header-rows: 0 * - pMD - Pointer to the resultant digest value. * - pCtx - Pointer to the IppsSM3State context. Description ----------- The function completes calculation of the digest value and stores the result into the specified memory. 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.