hu_SHA224CtxReset()

Resets the given SHA-224 context so it can be reused.

Synopsis:

#include "husha2.h"
 
int hu_SHA224CtxReset(sb_Context hashContext, sb_GlobalCtx sbCtx)

Since:

BlackBerry 10.0.0

Arguments:

hashContext

SHA-224 context object.

sbCtx

A global context.

Library:

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

Description:

This function returns the state of the context to the same state as a context created after a call to hu_SHA224Begin.

Returns:

SB_ERR_NULL_CONTEXT

The hashContext object is NULL.

SB_ERR_BAD_CONTEXT

The hashContext object is invalid.

SB_SUCCESS

Success.