Rijndael128CCMTagLen

Sets up the length of the required authentication tag.

Syntax

IppStatus ippsRijndael128CCMTagLen(Ipp32u tagLen, IppsRijndael128CCMState* pState);

Parameters

tagLen

Length of the required authentication tag (in bytes).

pState

Pointer to the IppsRijndael128CCMState context.

Description

This function is declared in the ippcp.h file. The function assigns the value of tagLen to the length of the required authentication tag in the *pState context.

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 tagLen < 4 or tagLen > 16 or taglen is odd.

Submit feedback on this help topic

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