1ebfedea0SLionel Sambuc /* This is a generated file */ 2ebfedea0SLionel Sambuc #ifndef __krb5_private_h__ 3ebfedea0SLionel Sambuc #define __krb5_private_h__ 4ebfedea0SLionel Sambuc 5ebfedea0SLionel Sambuc #include <stdarg.h> 6ebfedea0SLionel Sambuc 7ebfedea0SLionel Sambuc #if !defined(__GNUC__) && !defined(__attribute__) 8ebfedea0SLionel Sambuc #define __attribute__(x) 9ebfedea0SLionel Sambuc #endif 10ebfedea0SLionel Sambuc 11*0a6a1f1dSLionel Sambuc #ifndef KRB5_DEPRECATED_FUNCTION 12*0a6a1f1dSLionel Sambuc #ifndef __has_extension 13*0a6a1f1dSLionel Sambuc #define __has_extension(x) 0 14*0a6a1f1dSLionel Sambuc #define KRB5_DEPRECATED_FUNCTIONhas_extension 1 15*0a6a1f1dSLionel Sambuc #endif 16*0a6a1f1dSLionel Sambuc #if __has_extension(attribute_deprecated_with_message) 17*0a6a1f1dSLionel Sambuc #define KRB5_DEPRECATED_FUNCTION(x) __attribute__((__deprecated__(x))) 18*0a6a1f1dSLionel Sambuc #elif defined(__GNUC__) && ((__GNUC__ > 3) || ((__GNUC__ == 3) && (__GNUC_MINOR__ >= 1 ))) 19*0a6a1f1dSLionel Sambuc #define KRB5_DEPRECATED_FUNCTION(X) __attribute__((__deprecated__)) 20*0a6a1f1dSLionel Sambuc #else 21*0a6a1f1dSLionel Sambuc #define KRB5_DEPRECATED_FUNCTION(X) 22*0a6a1f1dSLionel Sambuc #endif 23*0a6a1f1dSLionel Sambuc #ifdef KRB5_DEPRECATED_FUNCTIONhas_extension 24*0a6a1f1dSLionel Sambuc #undef __has_extension 25*0a6a1f1dSLionel Sambuc #undef KRB5_DEPRECATED_FUNCTIONhas_extension 26*0a6a1f1dSLionel Sambuc #endif 27*0a6a1f1dSLionel Sambuc #endif /* KRB5_DEPRECATED_FUNCTION */ 28*0a6a1f1dSLionel Sambuc 29*0a6a1f1dSLionel Sambuc 30ebfedea0SLionel Sambuc void 31ebfedea0SLionel Sambuc _heim_krb5_ipc_client_clear_target (void); 32ebfedea0SLionel Sambuc 33ebfedea0SLionel Sambuc void 34ebfedea0SLionel Sambuc _heim_krb5_ipc_client_set_target_uid (uid_t /*uid*/); 35ebfedea0SLionel Sambuc 36ebfedea0SLionel Sambuc void 37ebfedea0SLionel Sambuc _krb5_DES3_random_to_key ( 38ebfedea0SLionel Sambuc krb5_context /*context*/, 39ebfedea0SLionel Sambuc krb5_keyblock */*key*/, 40ebfedea0SLionel Sambuc const void */*data*/, 41ebfedea0SLionel Sambuc size_t /*size*/); 42ebfedea0SLionel Sambuc 43ebfedea0SLionel Sambuc krb5_error_code 44ebfedea0SLionel Sambuc _krb5_HMAC_MD5_checksum ( 45ebfedea0SLionel Sambuc krb5_context /*context*/, 46ebfedea0SLionel Sambuc struct _krb5_key_data */*key*/, 47ebfedea0SLionel Sambuc const void */*data*/, 48ebfedea0SLionel Sambuc size_t /*len*/, 49ebfedea0SLionel Sambuc unsigned /*usage*/, 50ebfedea0SLionel Sambuc Checksum */*result*/); 51ebfedea0SLionel Sambuc 52ebfedea0SLionel Sambuc krb5_error_code 53ebfedea0SLionel Sambuc _krb5_SP_HMAC_SHA1_checksum ( 54ebfedea0SLionel Sambuc krb5_context /*context*/, 55ebfedea0SLionel Sambuc struct _krb5_key_data */*key*/, 56ebfedea0SLionel Sambuc const void */*data*/, 57ebfedea0SLionel Sambuc size_t /*len*/, 58ebfedea0SLionel Sambuc unsigned /*usage*/, 59ebfedea0SLionel Sambuc Checksum */*result*/); 60ebfedea0SLionel Sambuc 61ebfedea0SLionel Sambuc KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 62ebfedea0SLionel Sambuc _krb5_build_authenticator ( 63ebfedea0SLionel Sambuc krb5_context /*context*/, 64ebfedea0SLionel Sambuc krb5_auth_context /*auth_context*/, 65ebfedea0SLionel Sambuc krb5_enctype /*enctype*/, 66ebfedea0SLionel Sambuc krb5_creds */*cred*/, 67ebfedea0SLionel Sambuc Checksum */*cksum*/, 68ebfedea0SLionel Sambuc krb5_data */*result*/, 69ebfedea0SLionel Sambuc krb5_key_usage /*usage*/); 70ebfedea0SLionel Sambuc 71ebfedea0SLionel Sambuc krb5_error_code 72ebfedea0SLionel Sambuc _krb5_cc_allocate ( 73ebfedea0SLionel Sambuc krb5_context /*context*/, 74ebfedea0SLionel Sambuc const krb5_cc_ops */*ops*/, 75ebfedea0SLionel Sambuc krb5_ccache */*id*/); 76ebfedea0SLionel Sambuc 77ebfedea0SLionel Sambuc KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 78ebfedea0SLionel Sambuc _krb5_config_copy ( 79ebfedea0SLionel Sambuc krb5_context /*context*/, 80ebfedea0SLionel Sambuc krb5_config_section */*c*/, 81ebfedea0SLionel Sambuc krb5_config_section **/*head*/); 82ebfedea0SLionel Sambuc 83ebfedea0SLionel Sambuc KRB5_LIB_FUNCTION const void * KRB5_LIB_CALL 84ebfedea0SLionel Sambuc _krb5_config_get ( 85ebfedea0SLionel Sambuc krb5_context /*context*/, 86ebfedea0SLionel Sambuc const krb5_config_section */*c*/, 87ebfedea0SLionel Sambuc int /*type*/, 88ebfedea0SLionel Sambuc ...); 89ebfedea0SLionel Sambuc 90ebfedea0SLionel Sambuc krb5_config_section * 91ebfedea0SLionel Sambuc _krb5_config_get_entry ( 92ebfedea0SLionel Sambuc krb5_config_section **/*parent*/, 93ebfedea0SLionel Sambuc const char */*name*/, 94ebfedea0SLionel Sambuc int /*type*/); 95ebfedea0SLionel Sambuc 96ebfedea0SLionel Sambuc KRB5_LIB_FUNCTION const void * KRB5_LIB_CALL 97ebfedea0SLionel Sambuc _krb5_config_get_next ( 98ebfedea0SLionel Sambuc krb5_context /*context*/, 99ebfedea0SLionel Sambuc const krb5_config_section */*c*/, 100ebfedea0SLionel Sambuc const krb5_config_binding **/*pointer*/, 101ebfedea0SLionel Sambuc int /*type*/, 102ebfedea0SLionel Sambuc ...); 103ebfedea0SLionel Sambuc 104ebfedea0SLionel Sambuc const void * 105ebfedea0SLionel Sambuc _krb5_config_vget ( 106ebfedea0SLionel Sambuc krb5_context /*context*/, 107ebfedea0SLionel Sambuc const krb5_config_section */*c*/, 108ebfedea0SLionel Sambuc int /*type*/, 109ebfedea0SLionel Sambuc va_list /*args*/); 110ebfedea0SLionel Sambuc 111ebfedea0SLionel Sambuc KRB5_LIB_FUNCTION const void * KRB5_LIB_CALL 112ebfedea0SLionel Sambuc _krb5_config_vget_next ( 113ebfedea0SLionel Sambuc krb5_context /*context*/, 114ebfedea0SLionel Sambuc const krb5_config_section */*c*/, 115ebfedea0SLionel Sambuc const krb5_config_binding **/*pointer*/, 116ebfedea0SLionel Sambuc int /*type*/, 117ebfedea0SLionel Sambuc va_list /*args*/); 118ebfedea0SLionel Sambuc 119ebfedea0SLionel Sambuc KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 120ebfedea0SLionel Sambuc _krb5_copy_send_to_kdc_func ( 121ebfedea0SLionel Sambuc krb5_context /*context*/, 122ebfedea0SLionel Sambuc krb5_context /*to*/); 123ebfedea0SLionel Sambuc 124ebfedea0SLionel Sambuc void 125ebfedea0SLionel Sambuc _krb5_crc_init_table (void); 126ebfedea0SLionel Sambuc 127ebfedea0SLionel Sambuc uint32_t 128ebfedea0SLionel Sambuc _krb5_crc_update ( 129ebfedea0SLionel Sambuc const char */*p*/, 130ebfedea0SLionel Sambuc size_t /*len*/, 131ebfedea0SLionel Sambuc uint32_t /*res*/); 132ebfedea0SLionel Sambuc 133ebfedea0SLionel Sambuc void KRB5_LIB_FUNCTION 134ebfedea0SLionel Sambuc _krb5_debug ( 135ebfedea0SLionel Sambuc krb5_context /*context*/, 136ebfedea0SLionel Sambuc int /*level*/, 137ebfedea0SLionel Sambuc const char */*fmt*/, 138ebfedea0SLionel Sambuc ...) 139ebfedea0SLionel Sambuc __attribute__((format (printf, 3, 4))); 140ebfedea0SLionel Sambuc 141*0a6a1f1dSLionel Sambuc void 142*0a6a1f1dSLionel Sambuc _krb5_debug_backtrace (krb5_context /*context*/); 143*0a6a1f1dSLionel Sambuc 144ebfedea0SLionel Sambuc krb5_error_code 145ebfedea0SLionel Sambuc _krb5_derive_key ( 146ebfedea0SLionel Sambuc krb5_context /*context*/, 147ebfedea0SLionel Sambuc struct _krb5_encryption_type */*et*/, 148ebfedea0SLionel Sambuc struct _krb5_key_data */*key*/, 149ebfedea0SLionel Sambuc const void */*constant*/, 150ebfedea0SLionel Sambuc size_t /*len*/); 151ebfedea0SLionel Sambuc 152ebfedea0SLionel Sambuc krb5_error_code 153ebfedea0SLionel Sambuc _krb5_des_checksum ( 154ebfedea0SLionel Sambuc krb5_context /*context*/, 155ebfedea0SLionel Sambuc const EVP_MD */*evp_md*/, 156ebfedea0SLionel Sambuc struct _krb5_key_data */*key*/, 157ebfedea0SLionel Sambuc const void */*data*/, 158ebfedea0SLionel Sambuc size_t /*len*/, 159ebfedea0SLionel Sambuc Checksum */*cksum*/); 160ebfedea0SLionel Sambuc 161ebfedea0SLionel Sambuc krb5_error_code 162ebfedea0SLionel Sambuc _krb5_des_verify ( 163ebfedea0SLionel Sambuc krb5_context /*context*/, 164ebfedea0SLionel Sambuc const EVP_MD */*evp_md*/, 165ebfedea0SLionel Sambuc struct _krb5_key_data */*key*/, 166ebfedea0SLionel Sambuc const void */*data*/, 167ebfedea0SLionel Sambuc size_t /*len*/, 168ebfedea0SLionel Sambuc Checksum */*C*/); 169ebfedea0SLionel Sambuc 170ebfedea0SLionel Sambuc krb5_error_code 171ebfedea0SLionel Sambuc _krb5_dh_group_ok ( 172ebfedea0SLionel Sambuc krb5_context /*context*/, 173ebfedea0SLionel Sambuc unsigned long /*bits*/, 174ebfedea0SLionel Sambuc heim_integer */*p*/, 175ebfedea0SLionel Sambuc heim_integer */*g*/, 176ebfedea0SLionel Sambuc heim_integer */*q*/, 177ebfedea0SLionel Sambuc struct krb5_dh_moduli **/*moduli*/, 178ebfedea0SLionel Sambuc char **/*name*/); 179ebfedea0SLionel Sambuc 180ebfedea0SLionel Sambuc krb5_error_code 181*0a6a1f1dSLionel Sambuc _krb5_einval ( 182*0a6a1f1dSLionel Sambuc krb5_context /*context*/, 183*0a6a1f1dSLionel Sambuc const char */*func*/, 184*0a6a1f1dSLionel Sambuc unsigned long /*argn*/); 185*0a6a1f1dSLionel Sambuc 186*0a6a1f1dSLionel Sambuc krb5_error_code 187ebfedea0SLionel Sambuc _krb5_erase_file ( 188ebfedea0SLionel Sambuc krb5_context /*context*/, 189ebfedea0SLionel Sambuc const char */*filename*/); 190ebfedea0SLionel Sambuc 191ebfedea0SLionel Sambuc void 192ebfedea0SLionel Sambuc _krb5_evp_cleanup ( 193ebfedea0SLionel Sambuc krb5_context /*context*/, 194ebfedea0SLionel Sambuc struct _krb5_key_data */*kd*/); 195ebfedea0SLionel Sambuc 196ebfedea0SLionel Sambuc krb5_error_code 197ebfedea0SLionel Sambuc _krb5_evp_encrypt ( 198ebfedea0SLionel Sambuc krb5_context /*context*/, 199ebfedea0SLionel Sambuc struct _krb5_key_data */*key*/, 200ebfedea0SLionel Sambuc void */*data*/, 201ebfedea0SLionel Sambuc size_t /*len*/, 202ebfedea0SLionel Sambuc krb5_boolean /*encryptp*/, 203ebfedea0SLionel Sambuc int /*usage*/, 204ebfedea0SLionel Sambuc void */*ivec*/); 205ebfedea0SLionel Sambuc 206ebfedea0SLionel Sambuc krb5_error_code 207ebfedea0SLionel Sambuc _krb5_evp_encrypt_cts ( 208ebfedea0SLionel Sambuc krb5_context /*context*/, 209ebfedea0SLionel Sambuc struct _krb5_key_data */*key*/, 210ebfedea0SLionel Sambuc void */*data*/, 211ebfedea0SLionel Sambuc size_t /*len*/, 212ebfedea0SLionel Sambuc krb5_boolean /*encryptp*/, 213ebfedea0SLionel Sambuc int /*usage*/, 214ebfedea0SLionel Sambuc void */*ivec*/); 215ebfedea0SLionel Sambuc 216ebfedea0SLionel Sambuc void 217ebfedea0SLionel Sambuc _krb5_evp_schedule ( 218ebfedea0SLionel Sambuc krb5_context /*context*/, 219ebfedea0SLionel Sambuc struct _krb5_key_type */*kt*/, 220ebfedea0SLionel Sambuc struct _krb5_key_data */*kd*/); 221ebfedea0SLionel Sambuc 222ebfedea0SLionel Sambuc krb5_error_code 223ebfedea0SLionel Sambuc _krb5_expand_default_cc_name ( 224ebfedea0SLionel Sambuc krb5_context /*context*/, 225ebfedea0SLionel Sambuc const char */*str*/, 226ebfedea0SLionel Sambuc char **/*res*/); 227ebfedea0SLionel Sambuc 228ebfedea0SLionel Sambuc KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 229ebfedea0SLionel Sambuc _krb5_expand_path_tokens ( 230ebfedea0SLionel Sambuc krb5_context /*context*/, 231ebfedea0SLionel Sambuc const char */*path_in*/, 232ebfedea0SLionel Sambuc char **/*ppath_out*/); 233ebfedea0SLionel Sambuc 234ebfedea0SLionel Sambuc int 235ebfedea0SLionel Sambuc _krb5_extract_ticket ( 236ebfedea0SLionel Sambuc krb5_context /*context*/, 237ebfedea0SLionel Sambuc krb5_kdc_rep */*rep*/, 238ebfedea0SLionel Sambuc krb5_creds */*creds*/, 239ebfedea0SLionel Sambuc krb5_keyblock */*key*/, 240ebfedea0SLionel Sambuc krb5_const_pointer /*keyseed*/, 241ebfedea0SLionel Sambuc krb5_key_usage /*key_usage*/, 242ebfedea0SLionel Sambuc krb5_addresses */*addrs*/, 243ebfedea0SLionel Sambuc unsigned /*nonce*/, 244ebfedea0SLionel Sambuc unsigned /*flags*/, 245ebfedea0SLionel Sambuc krb5_decrypt_proc /*decrypt_proc*/, 246ebfedea0SLionel Sambuc krb5_const_pointer /*decryptarg*/); 247ebfedea0SLionel Sambuc 248ebfedea0SLionel Sambuc struct _krb5_checksum_type * 249ebfedea0SLionel Sambuc _krb5_find_checksum (krb5_cksumtype /*type*/); 250ebfedea0SLionel Sambuc 251ebfedea0SLionel Sambuc struct _krb5_encryption_type * 252ebfedea0SLionel Sambuc _krb5_find_enctype (krb5_enctype /*type*/); 253ebfedea0SLionel Sambuc 254ebfedea0SLionel Sambuc void 255ebfedea0SLionel Sambuc _krb5_free_key_data ( 256ebfedea0SLionel Sambuc krb5_context /*context*/, 257ebfedea0SLionel Sambuc struct _krb5_key_data */*key*/, 258ebfedea0SLionel Sambuc struct _krb5_encryption_type */*et*/); 259ebfedea0SLionel Sambuc 260ebfedea0SLionel Sambuc void 261ebfedea0SLionel Sambuc _krb5_free_krbhst_info (krb5_krbhst_info */*hi*/); 262ebfedea0SLionel Sambuc 263ebfedea0SLionel Sambuc void 264ebfedea0SLionel Sambuc _krb5_free_moduli (struct krb5_dh_moduli **/*moduli*/); 265ebfedea0SLionel Sambuc 266ebfedea0SLionel Sambuc krb5_error_code 267ebfedea0SLionel Sambuc _krb5_get_cred_kdc_any ( 268ebfedea0SLionel Sambuc krb5_context /*context*/, 269ebfedea0SLionel Sambuc krb5_kdc_flags /*flags*/, 270ebfedea0SLionel Sambuc krb5_ccache /*ccache*/, 271ebfedea0SLionel Sambuc krb5_creds */*in_creds*/, 272ebfedea0SLionel Sambuc krb5_principal /*impersonate_principal*/, 273ebfedea0SLionel Sambuc Ticket */*second_ticket*/, 274ebfedea0SLionel Sambuc krb5_creds **/*out_creds*/, 275ebfedea0SLionel Sambuc krb5_creds ***/*ret_tgts*/); 276ebfedea0SLionel Sambuc 277ebfedea0SLionel Sambuc char * 278*0a6a1f1dSLionel Sambuc _krb5_get_default_cc_name_from_registry (krb5_context /*context*/); 279ebfedea0SLionel Sambuc 280ebfedea0SLionel Sambuc char * 281ebfedea0SLionel Sambuc _krb5_get_default_config_config_files_from_registry (void); 282ebfedea0SLionel Sambuc 283ebfedea0SLionel Sambuc krb5_error_code 284ebfedea0SLionel Sambuc _krb5_get_default_principal_local ( 285ebfedea0SLionel Sambuc krb5_context /*context*/, 286ebfedea0SLionel Sambuc krb5_principal */*princ*/); 287ebfedea0SLionel Sambuc 288ebfedea0SLionel Sambuc KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 289ebfedea0SLionel Sambuc _krb5_get_host_realm_int ( 290ebfedea0SLionel Sambuc krb5_context /*context*/, 291ebfedea0SLionel Sambuc const char */*host*/, 292ebfedea0SLionel Sambuc krb5_boolean /*use_dns*/, 293ebfedea0SLionel Sambuc krb5_realm **/*realms*/); 294ebfedea0SLionel Sambuc 295ebfedea0SLionel Sambuc KRB5_LIB_FUNCTION void KRB5_LIB_CALL 296ebfedea0SLionel Sambuc _krb5_get_init_creds_opt_free_pkinit (krb5_get_init_creds_opt */*opt*/); 297ebfedea0SLionel Sambuc 298ebfedea0SLionel Sambuc KRB5_LIB_FUNCTION krb5_ssize_t KRB5_LIB_CALL 299ebfedea0SLionel Sambuc _krb5_get_int ( 300ebfedea0SLionel Sambuc void */*buffer*/, 301ebfedea0SLionel Sambuc unsigned long */*value*/, 302ebfedea0SLionel Sambuc size_t /*size*/); 303ebfedea0SLionel Sambuc 304ebfedea0SLionel Sambuc krb5_error_code 305ebfedea0SLionel Sambuc _krb5_get_krbtgt ( 306ebfedea0SLionel Sambuc krb5_context /*context*/, 307ebfedea0SLionel Sambuc krb5_ccache /*id*/, 308ebfedea0SLionel Sambuc krb5_realm /*realm*/, 309ebfedea0SLionel Sambuc krb5_creds **/*cred*/); 310ebfedea0SLionel Sambuc 311ebfedea0SLionel Sambuc krb5_boolean KRB5_LIB_FUNCTION 312ebfedea0SLionel Sambuc _krb5_have_debug ( 313ebfedea0SLionel Sambuc krb5_context /*context*/, 314ebfedea0SLionel Sambuc int /*level*/); 315ebfedea0SLionel Sambuc 316ebfedea0SLionel Sambuc krb5_boolean 317ebfedea0SLionel Sambuc _krb5_homedir_access (krb5_context /*context*/); 318ebfedea0SLionel Sambuc 319*0a6a1f1dSLionel Sambuc KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 320*0a6a1f1dSLionel Sambuc _krb5_init_etype ( 321*0a6a1f1dSLionel Sambuc krb5_context /*context*/, 322*0a6a1f1dSLionel Sambuc krb5_pdu /*pdu_type*/, 323*0a6a1f1dSLionel Sambuc unsigned */*len*/, 324*0a6a1f1dSLionel Sambuc krb5_enctype **/*val*/, 325*0a6a1f1dSLionel Sambuc const krb5_enctype */*etypes*/); 326*0a6a1f1dSLionel Sambuc 327ebfedea0SLionel Sambuc krb5_error_code 328ebfedea0SLionel Sambuc _krb5_internal_hmac ( 329ebfedea0SLionel Sambuc krb5_context /*context*/, 330ebfedea0SLionel Sambuc struct _krb5_checksum_type */*cm*/, 331ebfedea0SLionel Sambuc const void */*data*/, 332ebfedea0SLionel Sambuc size_t /*len*/, 333ebfedea0SLionel Sambuc unsigned /*usage*/, 334ebfedea0SLionel Sambuc struct _krb5_key_data */*keyblock*/, 335ebfedea0SLionel Sambuc Checksum */*result*/); 336ebfedea0SLionel Sambuc 337*0a6a1f1dSLionel Sambuc KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 338ebfedea0SLionel Sambuc _krb5_kcm_get_initial_ticket ( 339ebfedea0SLionel Sambuc krb5_context /*context*/, 340ebfedea0SLionel Sambuc krb5_ccache /*id*/, 341ebfedea0SLionel Sambuc krb5_principal /*server*/, 342ebfedea0SLionel Sambuc krb5_keyblock */*key*/); 343ebfedea0SLionel Sambuc 344*0a6a1f1dSLionel Sambuc KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 345ebfedea0SLionel Sambuc _krb5_kcm_get_ticket ( 346ebfedea0SLionel Sambuc krb5_context /*context*/, 347ebfedea0SLionel Sambuc krb5_ccache /*id*/, 348ebfedea0SLionel Sambuc krb5_kdc_flags /*flags*/, 349ebfedea0SLionel Sambuc krb5_enctype /*enctype*/, 350ebfedea0SLionel Sambuc krb5_principal /*server*/); 351ebfedea0SLionel Sambuc 352*0a6a1f1dSLionel Sambuc KRB5_LIB_FUNCTION krb5_boolean KRB5_LIB_CALL 353ebfedea0SLionel Sambuc _krb5_kcm_is_running (krb5_context /*context*/); 354ebfedea0SLionel Sambuc 355*0a6a1f1dSLionel Sambuc KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 356ebfedea0SLionel Sambuc _krb5_kcm_noop ( 357ebfedea0SLionel Sambuc krb5_context /*context*/, 358ebfedea0SLionel Sambuc krb5_ccache /*id*/); 359ebfedea0SLionel Sambuc 360ebfedea0SLionel Sambuc krb5_error_code KRB5_CALLCONV 361ebfedea0SLionel Sambuc _krb5_kdc_retry ( 362ebfedea0SLionel Sambuc krb5_context /*context*/, 363ebfedea0SLionel Sambuc krb5_sendto_ctx /*ctx*/, 364ebfedea0SLionel Sambuc void */*data*/, 365ebfedea0SLionel Sambuc const krb5_data */*reply*/, 366ebfedea0SLionel Sambuc int */*action*/); 367ebfedea0SLionel Sambuc 368ebfedea0SLionel Sambuc krb5_error_code 369ebfedea0SLionel Sambuc _krb5_krbhost_info_move ( 370ebfedea0SLionel Sambuc krb5_context /*context*/, 371ebfedea0SLionel Sambuc krb5_krbhst_info */*from*/, 372ebfedea0SLionel Sambuc krb5_krbhst_info **/*to*/); 373ebfedea0SLionel Sambuc 374ebfedea0SLionel Sambuc const char * 375ebfedea0SLionel Sambuc _krb5_krbhst_get_realm (krb5_krbhst_handle /*handle*/); 376ebfedea0SLionel Sambuc 377ebfedea0SLionel Sambuc krb5_error_code 378ebfedea0SLionel Sambuc _krb5_kt_principal_not_found ( 379ebfedea0SLionel Sambuc krb5_context /*context*/, 380ebfedea0SLionel Sambuc krb5_error_code /*ret*/, 381ebfedea0SLionel Sambuc krb5_keytab /*id*/, 382ebfedea0SLionel Sambuc krb5_const_principal /*principal*/, 383ebfedea0SLionel Sambuc krb5_enctype /*enctype*/, 384ebfedea0SLionel Sambuc int /*kvno*/); 385ebfedea0SLionel Sambuc 386ebfedea0SLionel Sambuc krb5_error_code 387ebfedea0SLionel Sambuc _krb5_load_ccache_plugins (krb5_context /*context*/); 388ebfedea0SLionel Sambuc 389ebfedea0SLionel Sambuc void 390ebfedea0SLionel Sambuc _krb5_load_plugins ( 391ebfedea0SLionel Sambuc krb5_context /*context*/, 392ebfedea0SLionel Sambuc const char */*name*/, 393ebfedea0SLionel Sambuc const char **/*paths*/); 394ebfedea0SLionel Sambuc 395ebfedea0SLionel Sambuc krb5_error_code 396ebfedea0SLionel Sambuc _krb5_mk_req_internal ( 397ebfedea0SLionel Sambuc krb5_context /*context*/, 398ebfedea0SLionel Sambuc krb5_auth_context */*auth_context*/, 399ebfedea0SLionel Sambuc const krb5_flags /*ap_req_options*/, 400ebfedea0SLionel Sambuc krb5_data */*in_data*/, 401ebfedea0SLionel Sambuc krb5_creds */*in_creds*/, 402ebfedea0SLionel Sambuc krb5_data */*outbuf*/, 403ebfedea0SLionel Sambuc krb5_key_usage /*checksum_usage*/, 404ebfedea0SLionel Sambuc krb5_key_usage /*encrypt_usage*/); 405ebfedea0SLionel Sambuc 406ebfedea0SLionel Sambuc KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 407ebfedea0SLionel Sambuc _krb5_n_fold ( 408ebfedea0SLionel Sambuc const void */*str*/, 409ebfedea0SLionel Sambuc size_t /*len*/, 410ebfedea0SLionel Sambuc void */*key*/, 411ebfedea0SLionel Sambuc size_t /*size*/); 412ebfedea0SLionel Sambuc 413ebfedea0SLionel Sambuc krb5_error_code 414ebfedea0SLionel Sambuc _krb5_pac_sign ( 415ebfedea0SLionel Sambuc krb5_context /*context*/, 416ebfedea0SLionel Sambuc krb5_pac /*p*/, 417ebfedea0SLionel Sambuc time_t /*authtime*/, 418ebfedea0SLionel Sambuc krb5_principal /*principal*/, 419ebfedea0SLionel Sambuc const krb5_keyblock */*server_key*/, 420ebfedea0SLionel Sambuc const krb5_keyblock */*priv_key*/, 421ebfedea0SLionel Sambuc krb5_data */*data*/); 422ebfedea0SLionel Sambuc 423ebfedea0SLionel Sambuc krb5_error_code 424ebfedea0SLionel Sambuc _krb5_parse_moduli ( 425ebfedea0SLionel Sambuc krb5_context /*context*/, 426ebfedea0SLionel Sambuc const char */*file*/, 427ebfedea0SLionel Sambuc struct krb5_dh_moduli ***/*moduli*/); 428ebfedea0SLionel Sambuc 429ebfedea0SLionel Sambuc krb5_error_code 430ebfedea0SLionel Sambuc _krb5_parse_moduli_line ( 431ebfedea0SLionel Sambuc krb5_context /*context*/, 432ebfedea0SLionel Sambuc const char */*file*/, 433ebfedea0SLionel Sambuc int /*lineno*/, 434ebfedea0SLionel Sambuc char */*p*/, 435ebfedea0SLionel Sambuc struct krb5_dh_moduli **/*m*/); 436ebfedea0SLionel Sambuc 437ebfedea0SLionel Sambuc KRB5_LIB_FUNCTION void KRB5_LIB_CALL 438ebfedea0SLionel Sambuc _krb5_pk_cert_free (struct krb5_pk_cert */*cert*/); 439ebfedea0SLionel Sambuc 440ebfedea0SLionel Sambuc krb5_error_code 441ebfedea0SLionel Sambuc _krb5_pk_kdf ( 442ebfedea0SLionel Sambuc krb5_context /*context*/, 443ebfedea0SLionel Sambuc const struct AlgorithmIdentifier */*ai*/, 444ebfedea0SLionel Sambuc const void */*dhdata*/, 445ebfedea0SLionel Sambuc size_t /*dhsize*/, 446ebfedea0SLionel Sambuc krb5_const_principal /*client*/, 447ebfedea0SLionel Sambuc krb5_const_principal /*server*/, 448ebfedea0SLionel Sambuc krb5_enctype /*enctype*/, 449ebfedea0SLionel Sambuc const krb5_data */*as_req*/, 450ebfedea0SLionel Sambuc const krb5_data */*pk_as_rep*/, 451ebfedea0SLionel Sambuc const Ticket */*ticket*/, 452ebfedea0SLionel Sambuc krb5_keyblock */*key*/); 453ebfedea0SLionel Sambuc 454ebfedea0SLionel Sambuc KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 455ebfedea0SLionel Sambuc _krb5_pk_load_id ( 456ebfedea0SLionel Sambuc krb5_context /*context*/, 457ebfedea0SLionel Sambuc struct krb5_pk_identity **/*ret_id*/, 458ebfedea0SLionel Sambuc const char */*user_id*/, 459ebfedea0SLionel Sambuc const char */*anchor_id*/, 460ebfedea0SLionel Sambuc char * const */*chain_list*/, 461ebfedea0SLionel Sambuc char * const */*revoke_list*/, 462ebfedea0SLionel Sambuc krb5_prompter_fct /*prompter*/, 463ebfedea0SLionel Sambuc void */*prompter_data*/, 464ebfedea0SLionel Sambuc char */*password*/); 465ebfedea0SLionel Sambuc 466ebfedea0SLionel Sambuc KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 467ebfedea0SLionel Sambuc _krb5_pk_mk_ContentInfo ( 468ebfedea0SLionel Sambuc krb5_context /*context*/, 469ebfedea0SLionel Sambuc const krb5_data */*buf*/, 470ebfedea0SLionel Sambuc const heim_oid */*oid*/, 471ebfedea0SLionel Sambuc struct ContentInfo */*content_info*/); 472ebfedea0SLionel Sambuc 473ebfedea0SLionel Sambuc KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 474ebfedea0SLionel Sambuc _krb5_pk_mk_padata ( 475ebfedea0SLionel Sambuc krb5_context /*context*/, 476ebfedea0SLionel Sambuc void */*c*/, 477ebfedea0SLionel Sambuc int /*ic_flags*/, 478ebfedea0SLionel Sambuc int /*win2k*/, 479ebfedea0SLionel Sambuc const KDC_REQ_BODY */*req_body*/, 480ebfedea0SLionel Sambuc unsigned /*nonce*/, 481ebfedea0SLionel Sambuc METHOD_DATA */*md*/); 482ebfedea0SLionel Sambuc 483ebfedea0SLionel Sambuc krb5_error_code 484ebfedea0SLionel Sambuc _krb5_pk_octetstring2key ( 485ebfedea0SLionel Sambuc krb5_context /*context*/, 486ebfedea0SLionel Sambuc krb5_enctype /*type*/, 487ebfedea0SLionel Sambuc const void */*dhdata*/, 488ebfedea0SLionel Sambuc size_t /*dhsize*/, 489ebfedea0SLionel Sambuc const heim_octet_string */*c_n*/, 490ebfedea0SLionel Sambuc const heim_octet_string */*k_n*/, 491ebfedea0SLionel Sambuc krb5_keyblock */*key*/); 492ebfedea0SLionel Sambuc 493ebfedea0SLionel Sambuc KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 494ebfedea0SLionel Sambuc _krb5_pk_rd_pa_reply ( 495ebfedea0SLionel Sambuc krb5_context /*context*/, 496ebfedea0SLionel Sambuc const char */*realm*/, 497ebfedea0SLionel Sambuc void */*c*/, 498ebfedea0SLionel Sambuc krb5_enctype /*etype*/, 499ebfedea0SLionel Sambuc const krb5_krbhst_info */*hi*/, 500ebfedea0SLionel Sambuc unsigned /*nonce*/, 501ebfedea0SLionel Sambuc const krb5_data */*req_buffer*/, 502ebfedea0SLionel Sambuc PA_DATA */*pa*/, 503ebfedea0SLionel Sambuc krb5_keyblock **/*key*/); 504ebfedea0SLionel Sambuc 505ebfedea0SLionel Sambuc krb5_error_code 506ebfedea0SLionel Sambuc _krb5_plugin_find ( 507ebfedea0SLionel Sambuc krb5_context /*context*/, 508ebfedea0SLionel Sambuc enum krb5_plugin_type /*type*/, 509ebfedea0SLionel Sambuc const char */*name*/, 510ebfedea0SLionel Sambuc struct krb5_plugin **/*list*/); 511ebfedea0SLionel Sambuc 512ebfedea0SLionel Sambuc void 513ebfedea0SLionel Sambuc _krb5_plugin_free (struct krb5_plugin */*list*/); 514ebfedea0SLionel Sambuc 515ebfedea0SLionel Sambuc struct krb5_plugin * 516ebfedea0SLionel Sambuc _krb5_plugin_get_next (struct krb5_plugin */*p*/); 517ebfedea0SLionel Sambuc 518ebfedea0SLionel Sambuc void * 519ebfedea0SLionel Sambuc _krb5_plugin_get_symbol (struct krb5_plugin */*p*/); 520ebfedea0SLionel Sambuc 521ebfedea0SLionel Sambuc krb5_error_code 522ebfedea0SLionel Sambuc _krb5_plugin_run_f ( 523ebfedea0SLionel Sambuc krb5_context /*context*/, 524ebfedea0SLionel Sambuc const char */*module*/, 525ebfedea0SLionel Sambuc const char */*name*/, 526ebfedea0SLionel Sambuc int /*min_version*/, 527ebfedea0SLionel Sambuc int /*flags*/, 528ebfedea0SLionel Sambuc void */*userctx*/, 529ebfedea0SLionel Sambuc krb5_error_code (*/*func*/)(krb5_context, const void *, void *, void *)); 530ebfedea0SLionel Sambuc 531ebfedea0SLionel Sambuc KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 532ebfedea0SLionel Sambuc _krb5_principal2principalname ( 533ebfedea0SLionel Sambuc PrincipalName */*p*/, 534ebfedea0SLionel Sambuc const krb5_principal /*from*/); 535ebfedea0SLionel Sambuc 536ebfedea0SLionel Sambuc KRB5_LIB_FUNCTION krb5_boolean KRB5_LIB_CALL 537ebfedea0SLionel Sambuc _krb5_principal_compare_PrincipalName ( 538ebfedea0SLionel Sambuc krb5_context /*context*/, 539ebfedea0SLionel Sambuc krb5_const_principal /*princ1*/, 540ebfedea0SLionel Sambuc PrincipalName */*princ2*/); 541ebfedea0SLionel Sambuc 542ebfedea0SLionel Sambuc KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 543ebfedea0SLionel Sambuc _krb5_principalname2krb5_principal ( 544ebfedea0SLionel Sambuc krb5_context /*context*/, 545ebfedea0SLionel Sambuc krb5_principal */*principal*/, 546ebfedea0SLionel Sambuc const PrincipalName /*from*/, 547ebfedea0SLionel Sambuc const Realm /*realm*/); 548ebfedea0SLionel Sambuc 549ebfedea0SLionel Sambuc KRB5_LIB_FUNCTION krb5_ssize_t KRB5_LIB_CALL 550ebfedea0SLionel Sambuc _krb5_put_int ( 551ebfedea0SLionel Sambuc void */*buffer*/, 552ebfedea0SLionel Sambuc unsigned long /*value*/, 553ebfedea0SLionel Sambuc size_t /*size*/); 554ebfedea0SLionel Sambuc 555ebfedea0SLionel Sambuc KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 556ebfedea0SLionel Sambuc _krb5_s4u2self_to_checksumdata ( 557ebfedea0SLionel Sambuc krb5_context /*context*/, 558ebfedea0SLionel Sambuc const PA_S4U2Self */*self*/, 559ebfedea0SLionel Sambuc krb5_data */*data*/); 560ebfedea0SLionel Sambuc 561ebfedea0SLionel Sambuc int 562ebfedea0SLionel Sambuc _krb5_send_and_recv_tcp ( 563ebfedea0SLionel Sambuc krb5_socket_t /*fd*/, 564ebfedea0SLionel Sambuc time_t /*tmout*/, 565ebfedea0SLionel Sambuc const krb5_data */*req*/, 566ebfedea0SLionel Sambuc krb5_data */*rep*/); 567ebfedea0SLionel Sambuc 568*0a6a1f1dSLionel Sambuc int 569*0a6a1f1dSLionel Sambuc _krb5_set_default_cc_name_to_registry ( 570*0a6a1f1dSLionel Sambuc krb5_context /*context*/, 571*0a6a1f1dSLionel Sambuc krb5_ccache /*id*/); 572*0a6a1f1dSLionel Sambuc 573ebfedea0SLionel Sambuc void 574ebfedea0SLionel Sambuc _krb5_unload_plugins ( 575ebfedea0SLionel Sambuc krb5_context /*context*/, 576ebfedea0SLionel Sambuc const char */*name*/); 577ebfedea0SLionel Sambuc 578ebfedea0SLionel Sambuc krb5_error_code 579ebfedea0SLionel Sambuc _krb5_usage2arcfour ( 580ebfedea0SLionel Sambuc krb5_context /*context*/, 581ebfedea0SLionel Sambuc unsigned */*usage*/); 582ebfedea0SLionel Sambuc 583ebfedea0SLionel Sambuc int 584ebfedea0SLionel Sambuc _krb5_xlock ( 585ebfedea0SLionel Sambuc krb5_context /*context*/, 586ebfedea0SLionel Sambuc int /*fd*/, 587ebfedea0SLionel Sambuc krb5_boolean /*exclusive*/, 588ebfedea0SLionel Sambuc const char */*filename*/); 589ebfedea0SLionel Sambuc 590ebfedea0SLionel Sambuc void 591ebfedea0SLionel Sambuc _krb5_xor ( 592ebfedea0SLionel Sambuc DES_cblock */*key*/, 593ebfedea0SLionel Sambuc const unsigned char */*b*/); 594ebfedea0SLionel Sambuc 595ebfedea0SLionel Sambuc int 596ebfedea0SLionel Sambuc _krb5_xunlock ( 597ebfedea0SLionel Sambuc krb5_context /*context*/, 598ebfedea0SLionel Sambuc int /*fd*/); 599ebfedea0SLionel Sambuc 600*0a6a1f1dSLionel Sambuc #undef KRB5_DEPRECATED_FUNCTION 601*0a6a1f1dSLionel Sambuc #define KRB5_DEPRECATED_FUNCTION(X) 602*0a6a1f1dSLionel Sambuc 603ebfedea0SLionel Sambuc #endif /* __krb5_private_h__ */ 604