skip book previous and next navigation links
go up to top of book: HP Open Source Security for OpenVMS Volume 3:... HP Open Source Security for OpenVMS Volume 3:...
go to beginning of chapter: KRB5 (Kerberos V5) Application Programming Interface KRB5 (Kerberos V5) Application Programming Interface
go to previous page: krb5_c_random_make_octets  Create random data krb5_c_random_make_octets Create random data
go to next page: krb5_c_string_to_key  Convert a string to a keykrb5_c_string_to_key Convert a string to a key
end of book navigation links

krb5_c_random_seed -- Get a random seed 



C Prototype 

krb5_error_code Krb5_c_random_seed (
        krb5_context    context,
        krb5_data       *data );

Arguments 

context
(input/output)
 The context structure.
data (output) The random seed.

Description 

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:

0
Successful completion.
KRB5_CRYPTO_INTERNAL
Cryptosystem internal error.


go to previous page: krb5_c_random_make_octets  Create random data krb5_c_random_make_octets Create random data
go to next page: krb5_c_string_to_key  Convert a string to a keykrb5_c_string_to_key Convert a string to a key