krb5_error_code krb5_c_string_to_key_with_params ( krb5_context context, krb5_enctype enctype, const krb5_data *string, const krb5_data *salt, const krb5_data *parsms, krb5_keyblock *key );
The context structure.
The encryption type.
The string form of the key.
The salt used in the encryption.
Special parameters used on the conversion.
The keyblock information.
This routine converts a string key into a keyblock.
This routine returns the following KRB5 status codes:
0
KRB5_CRYPTO_INTERNAL
Cryptosystem internal error.
ENOMEM
Insufficient memory.