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