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