hu_MD5CtxReset()

Resets the given MD5 context so it can be reused.

Synopsis:

#include "humd5.h"
 
int hu_MD5CtxReset(sb_Context hashContext, sb_GlobalCtx sbCtx)

Since:

BlackBerry 10.0.0

Arguments:

hashContext

An MD5 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_MD5Begin().

Returns:

SB_ERR_NULL_CONTEXT

The hashContext object is NULL.

SB_ERR_BAD_CONTEXT

The hashContext object is invalid.

SB_SUCCESS

Success.