Generates the message digest from the data that has been updated to the given SHA-512 context.
#include "husha2.h"
int hu_SHA512DigestGet(sb_Context hashContext, unsigned char *digest, sb_GlobalCtx sbCtx)
BlackBerry 10.0.0
A SHA-512 context object.
The message digest buffer. The length (in bytes) of the buffer must be at least SB_SHA512_DIGEST_LEN.
A global context.
This function does not change the state of the context object.
The hashContext object is NULL.
The hashContext object is invalid.
The message digest buffer is NULL.
Success.