HMACMD5Final

Completes computation of the HMAC value.

Syntax

IppStatus ippsHMACMD5Final(Ipp8u *pMAC, int macLen, IppsHMACMD5State *pCtx);

Parameters

pMAC

Pointer to the resultant HMAC value.

macLen

Specified HMAC length.

pCtx

Pointer to the IppsHMACMD5State context.

Description

This function is declared in the ippcp.h file. The function completes calculation of the digest value and stores the result into the specified pMD 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 is NULL.

ippStsContextMatchErr

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

ippStsLengthErr

Indicates an error condition if macLen is less than one or greater than the length of the hash value.

See Also

Submit feedback on this help topic

Copyright © 2000 - 2010, Intel Corporation. All rights reserved.