CMACRijndael128Final

Completes computation of the MAC value.

Syntax

IppStatus ippsCMACRijndael128Final(Ipp8u *pMD, int mdLen, IppsCMACRijndael128State *pState);

Parameters

pMD

Pointer to the MAC value.

mdLen

Specified length of the MAC.

pState

Pointer to the IppsCMACRijndael128State context.

Description

This function is declared in the ippcp.h file. The function completes calculation of the digest value and stores the result into memory at the address of pMD.

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.

ippStsLengthErr

Indicates an error condition if mdLen is less than 1 or greater than cipher's data block length.

ippStsContextMatchErr

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

See Also

Submit feedback on this help topic

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