HashFinal

Completes computation of the digest value.

Syntax

IppStatus ippsHashFinal(Ipp8u *pMD, IppsHashState *pCtx);

IppStatus ippsHashFinal_rmf(Ipp8u *pHash, ippsHashState_rmf *pCtx);

Include Files

ippcp.h

Parameters

pMD, pHash

Pointer to the resultant digest value.

pCtx

Pointer to the IppsHashState or IppsHashState_rmf context.

Description

The function completes calculation of the digest value and stores the result at the specified memory location, then re-initializes the pCtx context.

Note

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 is NULL.

ippStsContextMatchErr

Indicates an error condition if the context parameter does not match the operation.