hu_AESMMOHash()

Updates an AES MMO hash context with the given data.

Synopsis:

#include "huaesmmo.h"
 
int hu_AESMMOHash(sb_Context hashContext, size_t messageLen, const unsigned char *messageData, sb_GlobalCtx sbCtx)

Since:

BlackBerry 10.0.0

Arguments:

hashContext

The AES MMO hash context object.

messageLen

The length (in bytes) of the data.

messageData

The data buffer.

sbCtx

A global context.

Library:

libhuapi (For the qcc command, use the -l huapi option to link against this library)

Description:

Returns:

SB_ERR_NULL_CONTEXT

The hashContext object is NULL.

SB_ERR_BAD_CONTEXT

The hashContext object is invalid.

SB_ERR_NULL_INPUT_BUF

The messageData data buffer is NULL.

SB_ERR_BAD_MESSAGE_LEN

The message length is too large. Total message size must be less than 65536 bits.

SB_SUCCESS

Success.

Last modified: 2014-05-14



Got questions about leaving a comment? Get answers from our Disqus FAQ.

comments powered by Disqus