Computes the authentication tag and terminates the authentication process.
IppStatus ippsXCBCRijndael128Final(Ipp8u* pDstTag, Ipp32u tagLen, IppsXCBCRijndael128State* pState);
pDstTag |
Pointer to the authentication tag. |
tagLen |
Length of the tag (in bytes). |
pState |
Pointer to the IppsXCBCRijndael128State context. |
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.
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. |
Copyright © 2000 - 2010, Intel Corporation. All rights reserved.