1/* This is a generated file */ 2#ifndef __krb5_private_h__ 3#define __krb5_private_h__ 4 5#include <stdarg.h> 6 7void KRB5_LIB_FUNCTION 8_krb5_aes_cts_encrypt ( 9 const unsigned char */*in*/, 10 unsigned char */*out*/, 11 size_t /*len*/, 12 const AES_KEY */*key*/, 13 unsigned char */*ivec*/, 14 const int /*encryptp*/); 15 16krb5_error_code 17_krb5_cc_allocate ( 18 krb5_context /*context*/, 19 const krb5_cc_ops */*ops*/, 20 krb5_ccache */*id*/); 21 22void 23_krb5_crc_init_table (void); 24 25uint32_t 26_krb5_crc_update ( 27 const char */*p*/, 28 size_t /*len*/, 29 uint32_t /*res*/); 30 31krb5_error_code 32_krb5_dh_group_ok ( 33 krb5_context /*context*/, 34 unsigned long /*bits*/, 35 heim_integer */*p*/, 36 heim_integer */*g*/, 37 heim_integer */*q*/, 38 struct krb5_dh_moduli **/*moduli*/, 39 char **/*name*/); 40 41krb5_error_code KRB5_LIB_FUNCTION 42_krb5_enctype_to_oid ( 43 krb5_context /*context*/, 44 krb5_enctype /*etype*/, 45 heim_oid */*oid*/); 46 47krb5_error_code 48_krb5_expand_default_cc_name ( 49 krb5_context /*context*/, 50 const char */*str*/, 51 char **/*res*/); 52 53int 54_krb5_extract_ticket ( 55 krb5_context /*context*/, 56 krb5_kdc_rep */*rep*/, 57 krb5_creds */*creds*/, 58 krb5_keyblock */*key*/, 59 krb5_const_pointer /*keyseed*/, 60 krb5_key_usage /*key_usage*/, 61 krb5_addresses */*addrs*/, 62 unsigned /*nonce*/, 63 unsigned /*flags*/, 64 krb5_decrypt_proc /*decrypt_proc*/, 65 krb5_const_pointer /*decryptarg*/); 66 67void 68_krb5_free_krbhst_info (krb5_krbhst_info */*hi*/); 69 70void 71_krb5_free_moduli (struct krb5_dh_moduli **/*moduli*/); 72 73krb5_error_code 74_krb5_get_default_principal_local ( 75 krb5_context /*context*/, 76 krb5_principal */*princ*/); 77 78krb5_error_code KRB5_LIB_FUNCTION 79_krb5_get_host_realm_int ( 80 krb5_context /*context*/, 81 const char */*host*/, 82 krb5_boolean /*use_dns*/, 83 krb5_realm **/*realms*/); 84 85krb5_error_code 86_krb5_get_init_creds_opt_copy ( 87 krb5_context /*context*/, 88 const krb5_get_init_creds_opt */*in*/, 89 krb5_get_init_creds_opt **/*out*/); 90 91void KRB5_LIB_FUNCTION 92_krb5_get_init_creds_opt_free_krb5_error (krb5_get_init_creds_opt */*opt*/); 93 94void KRB5_LIB_FUNCTION 95_krb5_get_init_creds_opt_free_pkinit (krb5_get_init_creds_opt */*opt*/); 96 97void KRB5_LIB_FUNCTION 98_krb5_get_init_creds_opt_set_krb5_error ( 99 krb5_context /*context*/, 100 krb5_get_init_creds_opt */*opt*/, 101 const KRB_ERROR */*error*/); 102 103krb5_ssize_t KRB5_LIB_FUNCTION 104_krb5_get_int ( 105 void */*buffer*/, 106 unsigned long */*value*/, 107 size_t /*size*/); 108 109krb5_error_code 110_krb5_get_krbtgt ( 111 krb5_context /*context*/, 112 krb5_ccache /*id*/, 113 krb5_realm /*realm*/, 114 krb5_creds **/*cred*/); 115 116krb5_error_code 117_krb5_kcm_chmod ( 118 krb5_context /*context*/, 119 krb5_ccache /*id*/, 120 uint16_t /*mode*/); 121 122krb5_error_code 123_krb5_kcm_chown ( 124 krb5_context /*context*/, 125 krb5_ccache /*id*/, 126 uint32_t /*uid*/, 127 uint32_t /*gid*/); 128 129krb5_error_code 130_krb5_kcm_get_initial_ticket ( 131 krb5_context /*context*/, 132 krb5_ccache /*id*/, 133 krb5_principal /*server*/, 134 krb5_keyblock */*key*/); 135 136krb5_error_code 137_krb5_kcm_get_ticket ( 138 krb5_context /*context*/, 139 krb5_ccache /*id*/, 140 krb5_kdc_flags /*flags*/, 141 krb5_enctype /*enctype*/, 142 krb5_principal /*server*/); 143 144krb5_boolean 145_krb5_kcm_is_running (krb5_context /*context*/); 146 147krb5_error_code 148_krb5_kcm_noop ( 149 krb5_context /*context*/, 150 krb5_ccache /*id*/); 151 152krb5_error_code 153_krb5_kdc_retry ( 154 krb5_context /*context*/, 155 krb5_sendto_ctx /*ctx*/, 156 void */*data*/, 157 const krb5_data */*reply*/, 158 int */*action*/); 159 160krb5_error_code KRB5_LIB_FUNCTION 161_krb5_krb_cr_err_reply ( 162 krb5_context /*context*/, 163 const char */*name*/, 164 const char */*inst*/, 165 const char */*realm*/, 166 uint32_t /*time_ws*/, 167 uint32_t /*e*/, 168 const char */*e_string*/, 169 krb5_data */*data*/); 170 171krb5_error_code KRB5_LIB_FUNCTION 172_krb5_krb_create_auth_reply ( 173 krb5_context /*context*/, 174 const char */*pname*/, 175 const char */*pinst*/, 176 const char */*prealm*/, 177 int32_t /*time_ws*/, 178 int /*n*/, 179 uint32_t /*x_date*/, 180 unsigned char /*kvno*/, 181 const krb5_data */*cipher*/, 182 krb5_data */*data*/); 183 184krb5_error_code KRB5_LIB_FUNCTION 185_krb5_krb_create_ciph ( 186 krb5_context /*context*/, 187 const krb5_keyblock */*session*/, 188 const char */*service*/, 189 const char */*instance*/, 190 const char */*realm*/, 191 uint32_t /*life*/, 192 unsigned char /*kvno*/, 193 const krb5_data */*ticket*/, 194 uint32_t /*kdc_time*/, 195 const krb5_keyblock */*key*/, 196 krb5_data */*enc_data*/); 197 198krb5_error_code KRB5_LIB_FUNCTION 199_krb5_krb_create_ticket ( 200 krb5_context /*context*/, 201 unsigned char /*flags*/, 202 const char */*pname*/, 203 const char */*pinstance*/, 204 const char */*prealm*/, 205 int32_t /*paddress*/, 206 const krb5_keyblock */*session*/, 207 int16_t /*life*/, 208 int32_t /*life_sec*/, 209 const char */*sname*/, 210 const char */*sinstance*/, 211 const krb5_keyblock */*key*/, 212 krb5_data */*enc_data*/); 213 214krb5_error_code KRB5_LIB_FUNCTION 215_krb5_krb_decomp_ticket ( 216 krb5_context /*context*/, 217 const krb5_data */*enc_ticket*/, 218 const krb5_keyblock */*key*/, 219 const char */*local_realm*/, 220 char **/*sname*/, 221 char **/*sinstance*/, 222 struct _krb5_krb_auth_data */*ad*/); 223 224krb5_error_code KRB5_LIB_FUNCTION 225_krb5_krb_dest_tkt ( 226 krb5_context /*context*/, 227 const char */*tkfile*/); 228 229void KRB5_LIB_FUNCTION 230_krb5_krb_free_auth_data ( 231 krb5_context /*context*/, 232 struct _krb5_krb_auth_data */*ad*/); 233 234time_t KRB5_LIB_FUNCTION 235_krb5_krb_life_to_time ( 236 int /*start*/, 237 int /*life_*/); 238 239krb5_error_code KRB5_LIB_FUNCTION 240_krb5_krb_rd_req ( 241 krb5_context /*context*/, 242 krb5_data */*authent*/, 243 const char */*service*/, 244 const char */*instance*/, 245 const char */*local_realm*/, 246 int32_t /*from_addr*/, 247 const krb5_keyblock */*key*/, 248 struct _krb5_krb_auth_data */*ad*/); 249 250krb5_error_code KRB5_LIB_FUNCTION 251_krb5_krb_tf_setup ( 252 krb5_context /*context*/, 253 struct credentials */*v4creds*/, 254 const char */*tkfile*/, 255 int /*append*/); 256 257int KRB5_LIB_FUNCTION 258_krb5_krb_time_to_life ( 259 time_t /*start*/, 260 time_t /*end*/); 261 262krb5_error_code 263_krb5_krbhost_info_move ( 264 krb5_context /*context*/, 265 krb5_krbhst_info */*from*/, 266 krb5_krbhst_info **/*to*/); 267 268krb5_error_code 269_krb5_mk_req_internal ( 270 krb5_context /*context*/, 271 krb5_auth_context */*auth_context*/, 272 const krb5_flags /*ap_req_options*/, 273 krb5_data */*in_data*/, 274 krb5_creds */*in_creds*/, 275 krb5_data */*outbuf*/, 276 krb5_key_usage /*checksum_usage*/, 277 krb5_key_usage /*encrypt_usage*/); 278 279krb5_error_code KRB5_LIB_FUNCTION 280_krb5_n_fold ( 281 const void */*str*/, 282 size_t /*len*/, 283 void */*key*/, 284 size_t /*size*/); 285 286krb5_error_code KRB5_LIB_FUNCTION 287_krb5_oid_to_enctype ( 288 krb5_context /*context*/, 289 const heim_oid */*oid*/, 290 krb5_enctype */*etype*/); 291 292krb5_error_code 293_krb5_pac_sign ( 294 krb5_context /*context*/, 295 krb5_pac /*p*/, 296 time_t /*authtime*/, 297 krb5_principal /*principal*/, 298 const krb5_keyblock */*server_key*/, 299 const krb5_keyblock */*priv_key*/, 300 krb5_data */*data*/); 301 302krb5_error_code 303_krb5_parse_moduli ( 304 krb5_context /*context*/, 305 const char */*file*/, 306 struct krb5_dh_moduli ***/*moduli*/); 307 308krb5_error_code 309_krb5_parse_moduli_line ( 310 krb5_context /*context*/, 311 const char */*file*/, 312 int /*lineno*/, 313 char */*p*/, 314 struct krb5_dh_moduli **/*m*/); 315 316void KRB5_LIB_FUNCTION 317_krb5_pk_allow_proxy_certificate ( 318 struct krb5_pk_identity */*id*/, 319 int /*boolean*/); 320 321void KRB5_LIB_FUNCTION 322_krb5_pk_cert_free (struct krb5_pk_cert */*cert*/); 323 324krb5_error_code KRB5_LIB_FUNCTION 325_krb5_pk_load_id ( 326 krb5_context /*context*/, 327 struct krb5_pk_identity **/*ret_id*/, 328 const char */*user_id*/, 329 const char */*anchor_id*/, 330 char * const */*chain_list*/, 331 char * const */*revoke_list*/, 332 krb5_prompter_fct /*prompter*/, 333 void */*prompter_data*/, 334 char */*password*/); 335 336krb5_error_code KRB5_LIB_FUNCTION 337_krb5_pk_mk_ContentInfo ( 338 krb5_context /*context*/, 339 const krb5_data */*buf*/, 340 const heim_oid */*oid*/, 341 struct ContentInfo */*content_info*/); 342 343krb5_error_code KRB5_LIB_FUNCTION 344_krb5_pk_mk_padata ( 345 krb5_context /*context*/, 346 void */*c*/, 347 const KDC_REQ_BODY */*req_body*/, 348 unsigned /*nonce*/, 349 METHOD_DATA */*md*/); 350 351krb5_error_code 352_krb5_pk_octetstring2key ( 353 krb5_context /*context*/, 354 krb5_enctype /*type*/, 355 const void */*dhdata*/, 356 size_t /*dhsize*/, 357 const heim_octet_string */*c_n*/, 358 const heim_octet_string */*k_n*/, 359 krb5_keyblock */*key*/); 360 361krb5_error_code KRB5_LIB_FUNCTION 362_krb5_pk_rd_pa_reply ( 363 krb5_context /*context*/, 364 const char */*realm*/, 365 void */*c*/, 366 krb5_enctype /*etype*/, 367 const krb5_krbhst_info */*hi*/, 368 unsigned /*nonce*/, 369 const krb5_data */*req_buffer*/, 370 PA_DATA */*pa*/, 371 krb5_keyblock **/*key*/); 372 373krb5_error_code KRB5_LIB_FUNCTION 374_krb5_pk_verify_sign ( 375 krb5_context /*context*/, 376 const void */*data*/, 377 size_t /*length*/, 378 struct krb5_pk_identity */*id*/, 379 heim_oid */*contentType*/, 380 krb5_data */*content*/, 381 struct krb5_pk_cert **/*signer*/); 382 383krb5_error_code 384_krb5_plugin_find ( 385 krb5_context /*context*/, 386 enum krb5_plugin_type /*type*/, 387 const char */*name*/, 388 struct krb5_plugin **/*list*/); 389 390void 391_krb5_plugin_free (struct krb5_plugin */*list*/); 392 393struct krb5_plugin * 394_krb5_plugin_get_next (struct krb5_plugin */*p*/); 395 396void * 397_krb5_plugin_get_symbol (struct krb5_plugin */*p*/); 398 399krb5_error_code KRB5_LIB_FUNCTION 400_krb5_principal2principalname ( 401 PrincipalName */*p*/, 402 const krb5_principal /*from*/); 403 404krb5_error_code KRB5_LIB_FUNCTION 405_krb5_principalname2krb5_principal ( 406 krb5_context /*context*/, 407 krb5_principal */*principal*/, 408 const PrincipalName /*from*/, 409 const Realm /*realm*/); 410 411krb5_ssize_t KRB5_LIB_FUNCTION 412_krb5_put_int ( 413 void */*buffer*/, 414 unsigned long /*value*/, 415 size_t /*size*/); 416 417krb5_error_code KRB5_LIB_FUNCTION 418_krb5_rd_req_out_ctx_alloc ( 419 krb5_context /*context*/, 420 krb5_rd_req_out_ctx */*ctx*/); 421 422krb5_error_code KRB5_LIB_FUNCTION 423_krb5_s4u2self_to_checksumdata ( 424 krb5_context /*context*/, 425 const PA_S4U2Self */*self*/, 426 krb5_data */*data*/); 427 428int 429_krb5_send_and_recv_tcp ( 430 int /*fd*/, 431 time_t /*tmout*/, 432 const krb5_data */*req*/, 433 krb5_data */*rep*/); 434 435int 436_krb5_xlock ( 437 krb5_context /*context*/, 438 int /*fd*/, 439 krb5_boolean /*exclusive*/, 440 const char */*filename*/); 441 442int 443_krb5_xunlock ( 444 krb5_context /*context*/, 445 int /*fd*/); 446 447#endif /* __krb5_private_h__ */ 448