hu_MACUpdate()
Updates the MAC context with a block of data.
Synopsis:
#include "humac.h"
int hu_MACUpdate(sb_Context macContext, size_t dataLen, const unsigned char *data, sb_GlobalCtx sbCtx)
Since:
BlackBerry 10.0.0
Arguments:
- macContext
The MAC context object.
- dataLen
The length (in bytes) of the data.
- data
The data value.
- sbCtx
A global context.
Library:libhuapi (For the qcc command, use the -l huapi option to link against this library)
Description:
This function can be called repeatedly with multiple blocks of data.
Returns:
- SB_ERR_NULL_CONTEXT
The macContext object is NULL.
- SB_ERR_BAD_CONTEXT
The macContext object is invalid.
- SB_ERR_NULL_INPUT_BUF
The data buffer is NULL.
Last modified: 2014-05-14
Got questions about leaving a comment? Get answers from our Disqus FAQ.comments powered by Disqus