AES_CCMMessageLen
AES_CCMMessageLen
Sets up the length of the message to be processed.
Syntax
IppStatus ippsAES_CCMMessageLen(Ipp64u
msgLen
, IppsAES_CCMState*
pState
);
Include Files
ippcp.h
Parameters
- msgLen
- Length of the message to be processed (in bytes).
- pState
- Pointer to theIppsAES_CCMStatecontext.
Description
The function assigns the value of
msgLen
to the length of the message to be processed 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 ifmsgLen=0.