Sets up the length of the required authentication tag.
IppStatus ippsRijndael128CCMTagLen(Ipp32u tagLen, IppsRijndael128CCMState* pState);
tagLen |
Length of the required authentication tag (in bytes). |
pState |
Pointer to the IppsRijndael128CCMState context. |
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.
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. |
Copyright © 2000 - 2011, Intel Corporation. All rights reserved.