hu_RngInitFunc

Prototype of user-provided callback function that performs initialization for a user-defined RNG context.

Synopsis:

#include "hurandom.h"
 
typedef int SB_CALLBACK_CALLCONV hu_RngInitFunc(void *initinput, void **rngctx, void *sbCtx);

Library:

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

Description:

This function is called by hu_CustomRngCreate() to allow users to create and initialize their own context. On completion, set *rngctx to the context structure you allocate.

This callback should be registered during custom RNG context creation.