XCBCRijndael128Final

Computes the authentication tag and terminates the authentication process.

Syntax

IppStatus ippsXCBCRijndael128Final(Ipp8u* pDstTag, Ipp32u tagLen, IppsXCBCRijndael128State* pState);

Parameters

pDstTag

Pointer to the authentication tag.

tagLen

Length of the tag (in bytes).

pState

Pointer to the IppsXCBCRijndael128State context.

Description

This function is declared in the ippcp.h file. The function computes the authentication tag based on the current context as specified in [RFC 3566]. Additionally ippsXCBCRijndael128Final reinitializes the internal state to enable computation of the authentication tag for another message.

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 tagLen < 1 or tagLen > 16.

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.