Creates a SHA-512 context object.
#include "husha2.h"
int hu_SHA512Begin(size_t digestLen, sb_YieldCtx yieldCtx, sb_Context *hashContext, sb_GlobalCtx sbCtx)
BlackBerry 10.0.0
The length (in bytes) of a SHA-512 digest. The only acceptable value is SB_SHA512_DIGEST_LEN.
Ignored.
The SHA-512 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.