Creates a SHA-256 context object.
#include "husha2.h"
int hu_SHA256Begin(size_t digestLen, sb_YieldCtx yieldCtx, sb_Context *hashContext, sb_GlobalCtx sbCtx)
BlackBerry 10.0.0
The length (in bytes) of a SHA-256 digest. The only acceptable value is SB_SHA256_DIGEST_LEN.
Ignored.
The SHA-256 context object pointer.
A global context.
Note: Yielding is not supported for message digest operations.
digestLen is an invalid digest length.
The hashContext object pointer is NULL.
Memory allocation failure.
Success.