Generates the message authentication tag in the CCM mode.
IppStatus ippsRijndael128CCMGetTag (Ipp8u* pTag, Ipp32u tagLen, const IppsRijndael128CCMState* pState);
pTag |
Pointer to the authentication tag. |
tagLen |
Length of the authentication tag *pTag (in bytes). |
pState |
Pointer to the IppsRijndael128CCMState context. |
This function is declared in the ippcp.h file. The function generates and computes the authentication tag of length tagLen bytes in the CCM mode as specified in [NIST SP 800-38C]. The ippsRijndael128GCMGetTag function does not stop the encryption/decryption and authentication process.
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 < 1 or tagLen does not exceed the tag length specified in the previous call to Rijndael128CCMStart . |
Copyright © 2000 - 2011, Intel Corporation. All rights reserved.