SM3Final
SM3Final
Completes computation of the SM3 digest value.
Syntax
IppStatus ippsSM3Final(Ipp8u *
pMD
, IppsSM3State *
pCtx
);
Include Files
ippcp.h
Parameters
- pMD
- Pointer to the resultant digest value.
- pCtx
- Pointer to theIppsSM3Statecontext.
Description
The function completes calculation of the digest value and stores the result into the specified memory.
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 the context parameter does not match the operation.