Duplicates a SHA-1 context.
#include "husha1.h"
int hu_SHA1CtxDuplicate(sb_Context hashContext, sb_Context *newHashContext, sb_GlobalCtx sbCtx)
BlackBerry 10.0.0
The original SHA-1 context object.
The target SHA-1 context object pointer.
A global context.
This function can be used to compute the digest of multiple items of data with identical prefixes.
hashContext, the original SHA-1 context object, is NULL.
hashContext, the original SHA-1 context object, is invalid.
newHashContext, the target SHA-1 context object pointer, is NULL.
Memory allocation failure.
Success.