Generates a MAC tag of the specified length for the given data using HMAC-SHA-224.
#include "husha2.h"
int hu_HMACSHA224Msg(size_t keyLen, const unsigned char *key, sb_YieldCtx yieldCtx, size_t dataBlkLen, const unsigned char *dataBlk, size_t tagLen, unsigned char *tag, sb_GlobalCtx sbCtx)
BlackBerry 10.0.0
The length (in bytes) of the key.
The key value.
Ignored.
The length (in bytes) of the data.
The data buffer.
The length (in bytes) of MAC tag. This value must be between SB_HMAC_SHA224_112_TAG_LEN and SB_HMAC_SHA224_224_TAG_LEN, inclusive.
The MAC tag buffer.
A global context.
Note: Yielding is not supported for message digest operations.
Note: This function should only be called for data that can be stored entirely in memory.
The key value is NULL.
The data buffer, dataBlk, is NULL.
The length of the tag buffer is invalid.
The tag buffer is NULL.
Memory allocation failure.
Success.