Generates the AES MMO hash message digest for the given data.
#include "huaesmmo.h"
int hu_AESMMOMsg(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 an AES MMO hash digest. The only acceptable value is SB_AESMMO_DIGEST_LEN.
Ignored.
The length (in bytes) of the data.
The data buffer.
The message digest buffer. The length (in bytes) of the buffer must be at least SB_AESMMO_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.
The length of the digest, messageLen, is invalid.
The messageData data buffer is NULL.
digest, the message digest buffer, is NULL.
The message length is too large. Total message size must be less than 65536 bits.
Success.