Generates the SHA-224 message digest for the given data.
#include "husha2.h"
int hu_SHA224Msg(size_t digestLen, sb_YieldCtx yieldCtx, size_t messageLen, const unsigned char *messageData, unsigned char *digest, sb_GlobalCtx sbCtx)
BlackBerry 10.0.0
The length (in bytes) of a SHA-224 digest. The only acceptable value is SB_SHA224_DIGEST_LEN.
Ignored.
The length (in bytes) of the data.
The data buffer.
Message digest buffer. The length (in bytes) of the buffer must be at least SB_SHA224_DIGEST_LEN.
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.
digestLen is an invalid digest length.
The data buffer, messageData, is NULL.
Message digest buffer is NULL.
Success.