Generates a MAC tag without destroying the HMAC-SHA-384 context.
#include "husha2.h"
int hu_HMACSHA384TagGet(sb_Context hmacContext, size_t tagLen, unsigned char *tag, sb_GlobalCtx sbCtx)
BlackBerry 10.0.0
HMAC-SHA-384 context pointer.
MAC tag length in bytes. This value must be between SB_HMAC_SHA384_384_TAG_LEN (48) and SB_HMAC_SHA384_192_TAG_LEN (24) inclusive.
MAC tag buffer.
SB context or memory callback data.
Sufficient buffer space for MAC tag must be supplied.
Context is NULL.
Context is invalid.
Length of the tag buffer is greater than SB_HMAC_SHA384_384_TAG_LEN or less than SB_HMAC_SHA384_80_TAG_LEN.
Tag buffer is NULL.
Success.