hu_SHA384Hash()

Updates a SHA-384 context with the given data.

Synopsis:

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

Since:

BlackBerry 10.0.0

Arguments:

hashContext

A SHA-384 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 data buffer, messageData, is NULL.

SB_SUCCESS

Success.