hu_ReseedCallbackFunc

Prototype of user-provided callback function that generates random seeds of the specified length.

Synopsis:

#include "hurandom.h"
 
typedef int SB_CALLBACK_CALLCONV hu_ReseedCallbackFunc(void *rsourceParam, size_t bufsize, unsigned char *buf, sb_GlobalCtx sbCtx);

Library:

libhuapi (For the qcc command, use the -l huapi option to link against this library)

Description:

This function should copy bufsize bytes of seed data into buf. This callback should be registered during RNG context creation.