hu_HMACSHA1CtxReset()

Re-initializes the existing HMAC-SHA-1 context.

Synopsis:

#include "husha1.h"
 
int hu_HMACSHA1CtxReset(sb_Context hmacContext, sb_GlobalCtx sbCtx)

Since:

BlackBerry 10.0.0

Arguments:

hmacContext

HMAC-SHA-1 context.

sbCtx

SB context or memory callback data.

Library:

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

Description:

Returns:

SB_ERR_NULL_CONTEXT

Context is NULL.

SB_ERR_BAD_CONTEXT

Context is invalid.

SB_SUCCESS

Success.