HP Open Source Security for OpenVMS Volume 3: Kerberos > Chapter 6 KRB5 (Kerberos V5) Application Programming Interface

krb5_c_random_seed — Get a random seed

  Table of Contents



C Prototype

krb5_error_code Krb5_c_random_seed (
krb5_context context,
krb5_data *data );


context (input/output) 

The context structure.

data (output) 

The random seed.


This routine creates a random seed from sources of entropy available to the crypto routines.

Return Values

This routine returns the following KRB5 status codes:

0Successful completion.


Cryptosystem internal error.