This function will generate random data and store it to output
buffer. The value of level should be one of GNUTLS_RND_NONCE ,
GNUTLS_RND_RANDOM and GNUTLS_RND_KEY . See the manual and
gnutls_rnd_level_t for detailed information.