AES_CCMTagLen
AES_CCMTagLen
Sets up the length of the required authentication tag.
Syntax
IppStatus ippsAES_CCMTagLen(int
tagLen
, IppsAES_CCMState*
pState
);
Include Files
ippcp.h
Parameters
- tagLen
- Length of the required authentication tag (in bytes).
- pState
- Pointer to theIppsAES_CCMStatecontext.
Description
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 isNULL.
- ippStsContextMatchErr
- Indicates an error condition if the context parameter does not match the operation.
- ippStsLengthErr
- Indicates an error condition iftagLen< 4 ortagLen> 16 ortaglenis odd.