XCBCRijndael128GetTag

Computes the authentication tag.

Syntax

IppStatus ippsXCBCRijndael128GetTag(Ipp8u* pDstTag, Ipp32u tagLen, const 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]. A call to ippsXCBCRijndael128GetTag does not stop the process of updating the authentication tag.

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.