krb5_error_code krb5_c_random_make_octets ( krb5_context context, krb5_data *data );
The context structure.
The random data.
This routine creates random data using entropy from the Operating System.
This routine returns the following KRB5 status codes:
KRB5_CRYPTO_INTERNAL
Cryptosystem internal error.