move krb5_generate_subkey to deprecated and provide doxygen
This commit is contained in:
@@ -33,13 +33,18 @@
|
|||||||
|
|
||||||
#include <krb5_locl.h>
|
#include <krb5_locl.h>
|
||||||
|
|
||||||
krb5_error_code KRB5_LIB_FUNCTION
|
/**
|
||||||
krb5_generate_subkey(krb5_context context,
|
* Generate subkey, from keyblock
|
||||||
const krb5_keyblock *key,
|
*
|
||||||
krb5_keyblock **subkey)
|
* @param context kerberos context
|
||||||
{
|
* @param key session key
|
||||||
return krb5_generate_subkey_extended(context, key, key->keytype, subkey);
|
* @param etype encryption type of subkey, if ETYPE_NULL, use key's enctype
|
||||||
}
|
* @param subkey returned new, free with krb5_free_keyblock().
|
||||||
|
*
|
||||||
|
* @return 0 on success or a Kerberos 5 error code
|
||||||
|
*
|
||||||
|
* @ingroup krb5_crypto
|
||||||
|
*/
|
||||||
|
|
||||||
krb5_error_code KRB5_LIB_FUNCTION
|
krb5_error_code KRB5_LIB_FUNCTION
|
||||||
krb5_generate_subkey_extended(krb5_context context,
|
krb5_generate_subkey_extended(krb5_context context,
|
||||||
|
Reference in New Issue
Block a user