silc_rng_alloc

SYNOPSIS

    SilcRng silc_rng_alloc(void);

DESCRIPTION

Allocates new SILC random number generator and returns context to it. After the RNG is allocated it must be initialized by calling silc_rng_init before it actually can be used to produce any random number. This function returns NULL if RNG could not allocated.