Returns the share corresponding to the index.
#include "huks.h"
int hu_KSGetShare(sb_Context ksContext, size_t index, size_t *shareLen, unsigned char *share, sb_GlobalCtx sbCtx)
BlackBerry 10.0.0
A Key Split context.
Index of share. Index must be greater than zero.
Size of share in bytes.
Value of share.
A global context.
The size of output buffer specified in share must be sufficiently large, and the size must be indicated in shareLen.
If NULL is passed in as the value of share, this function will return the buffer length required to store the requested share. The size/length of the output buffer will be returned in shareLen.
index is zero.
Key Split context is NULL.
Key Split context is invalid.
shareLen is NULL.
Insufficient output buffer.
Success.