silc_rng_get_rn_data

SYNOPSIS

    SilcBool silc_rng_get_rn_data(SilcRng rng, SilcUInt32 len,
                                  unsigned char *buf, SilcUInt32 buf_size);

DESCRIPTION

Returns random binary data of the length of `len' bytes to the `buf' of maximum size of `buf_size'. It is guaranteed the data buffer does not include any zero (0x00) bytes.