1 /* $NetBSD: gsskrb5-private.h,v 1.3 2023/06/19 21:41:43 christos Exp $ */ 2 3 /* This is a generated file */ 4 #ifndef __gsskrb5_private_h__ 5 #define __gsskrb5_private_h__ 6 7 #include <stdarg.h> 8 9 gssapi_mech_interface 10 __gss_krb5_initialize (void); 11 12 OM_uint32 13 __gsskrb5_ccache_lifetime ( 14 OM_uint32 */*minor_status*/, 15 krb5_context /*context*/, 16 krb5_ccache /*id*/, 17 krb5_principal /*principal*/, 18 OM_uint32 */*lifetime*/); 19 20 OM_uint32 21 _gk_allocate_buffer ( 22 OM_uint32 */*minor_status*/, 23 gss_iov_buffer_desc */*buffer*/, 24 size_t /*size*/); 25 26 gss_iov_buffer_desc * 27 _gk_find_buffer ( 28 gss_iov_buffer_desc */*iov*/, 29 int /*iov_count*/, 30 OM_uint32 /*type*/); 31 32 OM_uint32 GSSAPI_CALLCONV 33 _gk_unwrap_iov ( 34 OM_uint32 */*minor_status*/, 35 gss_ctx_id_t /*context_handle*/, 36 int */*conf_state*/, 37 gss_qop_t */*qop_state*/, 38 gss_iov_buffer_desc */*iov*/, 39 int /*iov_count*/); 40 41 OM_uint32 42 _gk_verify_buffers ( 43 OM_uint32 */*minor_status*/, 44 const gsskrb5_ctx /*ctx*/, 45 const gss_iov_buffer_desc */*header*/, 46 const gss_iov_buffer_desc */*padding*/, 47 const gss_iov_buffer_desc */*trailer*/, 48 int /*block_cipher*/); 49 50 OM_uint32 GSSAPI_CALLCONV 51 _gk_wrap_iov ( 52 OM_uint32 * /*minor_status*/, 53 gss_ctx_id_t /*context_handle*/, 54 int /*conf_req_flag*/, 55 gss_qop_t /*qop_req*/, 56 int * /*conf_state*/, 57 gss_iov_buffer_desc */*iov*/, 58 int /*iov_count*/); 59 60 OM_uint32 GSSAPI_CALLCONV 61 _gk_wrap_iov_length ( 62 OM_uint32 * /*minor_status*/, 63 gss_ctx_id_t /*context_handle*/, 64 int /*conf_req_flag*/, 65 gss_qop_t /*qop_req*/, 66 int */*conf_state*/, 67 gss_iov_buffer_desc */*iov*/, 68 int /*iov_count*/); 69 70 OM_uint32 71 _gss_DES3_get_mic_compat ( 72 OM_uint32 */*minor_status*/, 73 gsskrb5_ctx /*ctx*/, 74 krb5_context /*context*/); 75 76 OM_uint32 77 _gssapi_decapsulate ( 78 OM_uint32 */*minor_status*/, 79 gss_buffer_t /*input_token_buffer*/, 80 krb5_data */*out_data*/, 81 const gss_OID mech ); 82 83 void 84 _gssapi_encap_length ( 85 size_t /*data_len*/, 86 size_t */*len*/, 87 size_t */*total_len*/, 88 const gss_OID /*mech*/); 89 90 OM_uint32 91 _gssapi_encapsulate ( 92 OM_uint32 */*minor_status*/, 93 const krb5_data */*in_data*/, 94 gss_buffer_t /*output_token*/, 95 const gss_OID mech ); 96 97 OM_uint32 98 _gssapi_get_mic_arcfour ( 99 OM_uint32 * /*minor_status*/, 100 const gsskrb5_ctx /*context_handle*/, 101 krb5_context /*context*/, 102 gss_qop_t /*qop_req*/, 103 const gss_buffer_t /*message_buffer*/, 104 gss_buffer_t /*message_token*/, 105 krb5_keyblock */*key*/); 106 107 void * 108 _gssapi_make_mech_header ( 109 void */*ptr*/, 110 size_t /*len*/, 111 const gss_OID /*mech*/); 112 113 OM_uint32 114 _gssapi_mic_cfx ( 115 OM_uint32 */*minor_status*/, 116 const gsskrb5_ctx /*ctx*/, 117 krb5_context /*context*/, 118 gss_qop_t /*qop_req*/, 119 const gss_buffer_t /*message_buffer*/, 120 gss_buffer_t /*message_token*/); 121 122 OM_uint32 123 _gssapi_msg_order_check ( 124 struct gss_msg_order */*o*/, 125 OM_uint32 /*seq_num*/); 126 127 OM_uint32 128 _gssapi_msg_order_create ( 129 OM_uint32 */*minor_status*/, 130 struct gss_msg_order **/*o*/, 131 OM_uint32 /*flags*/, 132 OM_uint32 /*seq_num*/, 133 OM_uint32 /*jitter_window*/, 134 int /*use_64*/); 135 136 OM_uint32 137 _gssapi_msg_order_destroy (struct gss_msg_order **/*m*/); 138 139 krb5_error_code 140 _gssapi_msg_order_export ( 141 krb5_storage */*sp*/, 142 struct gss_msg_order */*o*/); 143 144 OM_uint32 145 _gssapi_msg_order_f (OM_uint32 /*flags*/); 146 147 OM_uint32 148 _gssapi_msg_order_import ( 149 OM_uint32 */*minor_status*/, 150 krb5_storage */*sp*/, 151 struct gss_msg_order **/*o*/); 152 153 OM_uint32 154 _gssapi_unwrap_arcfour ( 155 OM_uint32 */*minor_status*/, 156 const gsskrb5_ctx /*context_handle*/, 157 krb5_context /*context*/, 158 const gss_buffer_t /*input_message_buffer*/, 159 gss_buffer_t /*output_message_buffer*/, 160 int */*conf_state*/, 161 gss_qop_t */*qop_state*/, 162 krb5_keyblock */*key*/); 163 164 OM_uint32 165 _gssapi_unwrap_cfx ( 166 OM_uint32 */*minor_status*/, 167 const gsskrb5_ctx /*ctx*/, 168 krb5_context /*context*/, 169 const gss_buffer_t /*input_message_buffer*/, 170 gss_buffer_t /*output_message_buffer*/, 171 int */*conf_state*/, 172 gss_qop_t */*qop_state*/); 173 174 OM_uint32 175 _gssapi_unwrap_cfx_iov ( 176 OM_uint32 */*minor_status*/, 177 gsskrb5_ctx /*ctx*/, 178 krb5_context /*context*/, 179 int */*conf_state*/, 180 gss_qop_t */*qop_state*/, 181 gss_iov_buffer_desc */*iov*/, 182 int /*iov_count*/); 183 184 OM_uint32 185 _gssapi_unwrap_iov_arcfour ( 186 OM_uint32 */*minor_status*/, 187 gsskrb5_ctx /*ctx*/, 188 krb5_context /*context*/, 189 int */*pconf_state*/, 190 gss_qop_t */*pqop_state*/, 191 gss_iov_buffer_desc */*iov*/, 192 int /*iov_count*/, 193 krb5_keyblock */*key*/); 194 195 OM_uint32 196 _gssapi_verify_mech_header ( 197 u_char **/*str*/, 198 size_t /*total_len*/, 199 gss_OID /*mech*/); 200 201 OM_uint32 202 _gssapi_verify_mic_arcfour ( 203 OM_uint32 * /*minor_status*/, 204 const gsskrb5_ctx /*context_handle*/, 205 krb5_context /*context*/, 206 const gss_buffer_t /*message_buffer*/, 207 const gss_buffer_t /*token_buffer*/, 208 gss_qop_t * /*qop_state*/, 209 krb5_keyblock */*key*/, 210 const char */*type*/); 211 212 OM_uint32 213 _gssapi_verify_mic_cfx ( 214 OM_uint32 */*minor_status*/, 215 const gsskrb5_ctx /*ctx*/, 216 krb5_context /*context*/, 217 const gss_buffer_t /*message_buffer*/, 218 const gss_buffer_t /*token_buffer*/, 219 gss_qop_t */*qop_state*/); 220 221 OM_uint32 222 _gssapi_verify_pad ( 223 gss_buffer_t /*wrapped_token*/, 224 size_t /*datalen*/, 225 size_t */*padlen*/); 226 227 OM_uint32 228 _gssapi_wrap_arcfour ( 229 OM_uint32 * /*minor_status*/, 230 const gsskrb5_ctx /*context_handle*/, 231 krb5_context /*context*/, 232 int /*conf_req_flag*/, 233 gss_qop_t /*qop_req*/, 234 const gss_buffer_t /*input_message_buffer*/, 235 int * /*conf_state*/, 236 gss_buffer_t /*output_message_buffer*/, 237 krb5_keyblock */*key*/); 238 239 OM_uint32 240 _gssapi_wrap_cfx ( 241 OM_uint32 */*minor_status*/, 242 const gsskrb5_ctx /*ctx*/, 243 krb5_context /*context*/, 244 int /*conf_req_flag*/, 245 const gss_buffer_t /*input_message_buffer*/, 246 int */*conf_state*/, 247 gss_buffer_t /*output_message_buffer*/); 248 249 OM_uint32 250 _gssapi_wrap_cfx_iov ( 251 OM_uint32 */*minor_status*/, 252 gsskrb5_ctx /*ctx*/, 253 krb5_context /*context*/, 254 int /*conf_req_flag*/, 255 int */*conf_state*/, 256 gss_iov_buffer_desc */*iov*/, 257 int /*iov_count*/); 258 259 OM_uint32 260 _gssapi_wrap_iov_arcfour ( 261 OM_uint32 */*minor_status*/, 262 gsskrb5_ctx /*ctx*/, 263 krb5_context /*context*/, 264 int /*conf_req_flag*/, 265 int */*conf_state*/, 266 gss_iov_buffer_desc */*iov*/, 267 int /*iov_count*/, 268 krb5_keyblock */*key*/); 269 270 OM_uint32 271 _gssapi_wrap_iov_length_arcfour ( 272 OM_uint32 */*minor_status*/, 273 gsskrb5_ctx /*ctx*/, 274 krb5_context /*context*/, 275 int /*conf_req_flag*/, 276 gss_qop_t /*qop_req*/, 277 int */*conf_state*/, 278 gss_iov_buffer_desc */*iov*/, 279 int /*iov_count*/); 280 281 OM_uint32 282 _gssapi_wrap_iov_length_cfx ( 283 OM_uint32 */*minor_status*/, 284 gsskrb5_ctx /*ctx*/, 285 krb5_context /*context*/, 286 int /*conf_req_flag*/, 287 gss_qop_t /*qop_req*/, 288 int */*conf_state*/, 289 gss_iov_buffer_desc */*iov*/, 290 int /*iov_count*/); 291 292 OM_uint32 293 _gssapi_wrap_size_arcfour ( 294 OM_uint32 */*minor_status*/, 295 const gsskrb5_ctx /*ctx*/, 296 krb5_context /*context*/, 297 int /*conf_req_flag*/, 298 gss_qop_t /*qop_req*/, 299 OM_uint32 /*req_output_size*/, 300 OM_uint32 */*max_input_size*/, 301 krb5_keyblock */*key*/); 302 303 OM_uint32 304 _gssapi_wrap_size_cfx ( 305 OM_uint32 */*minor_status*/, 306 const gsskrb5_ctx /*ctx*/, 307 krb5_context /*context*/, 308 int /*conf_req_flag*/, 309 gss_qop_t /*qop_req*/, 310 OM_uint32 /*req_output_size*/, 311 OM_uint32 */*max_input_size*/); 312 313 OM_uint32 GSSAPI_CALLCONV 314 _gsskrb5_accept_sec_context ( 315 OM_uint32 * /*minor_status*/, 316 gss_ctx_id_t * /*context_handle*/, 317 gss_const_cred_id_t /*acceptor_cred_handle*/, 318 const gss_buffer_t /*input_token_buffer*/, 319 const gss_channel_bindings_t /*input_chan_bindings*/, 320 gss_name_t * /*src_name*/, 321 gss_OID * /*mech_type*/, 322 gss_buffer_t /*output_token*/, 323 OM_uint32 * /*ret_flags*/, 324 OM_uint32 * /*time_rec*/, 325 gss_cred_id_t * /*delegated_cred_handle*/); 326 327 OM_uint32 GSSAPI_CALLCONV 328 _gsskrb5_acquire_cred ( 329 OM_uint32 * /*minor_status*/, 330 gss_const_name_t /*desired_name*/, 331 OM_uint32 /*time_req*/, 332 const gss_OID_set /*desired_mechs*/, 333 gss_cred_usage_t /*cred_usage*/, 334 gss_cred_id_t * /*output_cred_handle*/, 335 gss_OID_set * /*actual_mechs*/, 336 OM_uint32 * time_rec ); 337 338 OM_uint32 GSSAPI_CALLCONV 339 _gsskrb5_acquire_cred_ext ( 340 OM_uint32 * /*minor_status*/, 341 gss_const_name_t /*desired_name*/, 342 gss_const_OID /*credential_type*/, 343 const void */*credential_data*/, 344 OM_uint32 /*time_req*/, 345 gss_const_OID /*desired_mech*/, 346 gss_cred_usage_t /*cred_usage*/, 347 gss_cred_id_t * output_cred_handle ); 348 349 OM_uint32 GSSAPI_CALLCONV 350 _gsskrb5_add_cred ( 351 OM_uint32 */*minor_status*/, 352 gss_const_cred_id_t /*input_cred_handle*/, 353 gss_const_name_t /*desired_name*/, 354 const gss_OID /*desired_mech*/, 355 gss_cred_usage_t /*cred_usage*/, 356 OM_uint32 /*initiator_time_req*/, 357 OM_uint32 /*acceptor_time_req*/, 358 gss_cred_id_t */*output_cred_handle*/, 359 gss_OID_set */*actual_mechs*/, 360 OM_uint32 */*initiator_time_rec*/, 361 OM_uint32 */*acceptor_time_rec*/); 362 363 OM_uint32 GSSAPI_CALLCONV 364 _gsskrb5_authorize_localname ( 365 OM_uint32 */*minor_status*/, 366 gss_const_name_t /*input_name*/, 367 gss_const_buffer_t /*user_name*/, 368 gss_const_OID /*user_name_type*/); 369 370 OM_uint32 371 _gsskrb5_canon_name ( 372 OM_uint32 */*minor_status*/, 373 krb5_context /*context*/, 374 gss_const_name_t /*targetname*/, 375 krb5_principal */*out*/); 376 377 OM_uint32 GSSAPI_CALLCONV 378 _gsskrb5_canonicalize_name ( 379 OM_uint32 * /*minor_status*/, 380 gss_const_name_t /*input_name*/, 381 const gss_OID /*mech_type*/, 382 gss_name_t * output_name ); 383 384 void 385 _gsskrb5_clear_status (void); 386 387 OM_uint32 GSSAPI_CALLCONV 388 _gsskrb5_compare_name ( 389 OM_uint32 * /*minor_status*/, 390 gss_const_name_t /*name1*/, 391 gss_const_name_t /*name2*/, 392 int * name_equal ); 393 394 OM_uint32 GSSAPI_CALLCONV 395 _gsskrb5_context_time ( 396 OM_uint32 * /*minor_status*/, 397 gss_const_ctx_id_t /*context_handle*/, 398 OM_uint32 * time_rec ); 399 400 OM_uint32 401 _gsskrb5_create_8003_checksum ( 402 OM_uint32 */*minor_status*/, 403 const gss_channel_bindings_t /*input_chan_bindings*/, 404 OM_uint32 /*flags*/, 405 const krb5_data */*fwd_data*/, 406 Checksum */*result*/); 407 408 OM_uint32 409 _gsskrb5_create_ctx ( 410 OM_uint32 * /*minor_status*/, 411 gss_ctx_id_t * /*context_handle*/, 412 krb5_context /*context*/, 413 const gss_channel_bindings_t /*input_chan_bindings*/, 414 enum gss_ctx_id_t_state /*state*/); 415 416 OM_uint32 417 _gsskrb5_decapsulate ( 418 OM_uint32 */*minor_status*/, 419 gss_buffer_t /*input_token_buffer*/, 420 krb5_data */*out_data*/, 421 const void */*type*/, 422 gss_OID /*oid*/); 423 424 krb5_error_code 425 _gsskrb5_decode_be_om_uint32 ( 426 const void */*ptr*/, 427 OM_uint32 */*n*/); 428 429 krb5_error_code 430 _gsskrb5_decode_om_uint32 ( 431 const void */*ptr*/, 432 OM_uint32 */*n*/); 433 434 OM_uint32 GSSAPI_CALLCONV 435 _gsskrb5_delete_sec_context ( 436 OM_uint32 * /*minor_status*/, 437 gss_ctx_id_t * /*context_handle*/, 438 gss_buffer_t /*output_token*/); 439 440 OM_uint32 GSSAPI_CALLCONV 441 _gsskrb5_display_name ( 442 OM_uint32 * /*minor_status*/, 443 gss_const_name_t /*input_name*/, 444 gss_buffer_t /*output_name_buffer*/, 445 gss_OID * output_name_type ); 446 447 OM_uint32 GSSAPI_CALLCONV 448 _gsskrb5_display_status ( 449 OM_uint32 */*minor_status*/, 450 OM_uint32 /*status_value*/, 451 int /*status_type*/, 452 const gss_OID /*mech_type*/, 453 OM_uint32 */*message_context*/, 454 gss_buffer_t /*status_string*/); 455 456 OM_uint32 GSSAPI_CALLCONV 457 _gsskrb5_duplicate_name ( 458 OM_uint32 * /*minor_status*/, 459 gss_const_name_t /*src_name*/, 460 gss_name_t * dest_name ); 461 462 void 463 _gsskrb5_encap_length ( 464 size_t /*data_len*/, 465 size_t */*len*/, 466 size_t */*total_len*/, 467 const gss_OID /*mech*/); 468 469 OM_uint32 470 _gsskrb5_encapsulate ( 471 OM_uint32 */*minor_status*/, 472 const krb5_data */*in_data*/, 473 gss_buffer_t /*output_token*/, 474 const void */*type*/, 475 const gss_OID mech ); 476 477 krb5_error_code 478 _gsskrb5_encode_be_om_uint32 ( 479 OM_uint32 /*n*/, 480 u_char */*p*/); 481 482 krb5_error_code 483 _gsskrb5_encode_om_uint32 ( 484 OM_uint32 /*n*/, 485 u_char */*p*/); 486 487 OM_uint32 GSSAPI_CALLCONV 488 _gsskrb5_export_cred ( 489 OM_uint32 */*minor_status*/, 490 gss_cred_id_t /*cred_handle*/, 491 gss_buffer_t /*cred_token*/); 492 493 OM_uint32 GSSAPI_CALLCONV 494 _gsskrb5_export_name ( 495 OM_uint32 * /*minor_status*/, 496 gss_const_name_t /*input_name*/, 497 gss_buffer_t exported_name ); 498 499 OM_uint32 GSSAPI_CALLCONV 500 _gsskrb5_export_sec_context ( 501 OM_uint32 */*minor_status*/, 502 gss_ctx_id_t */*context_handle*/, 503 gss_buffer_t interprocess_token ); 504 505 ssize_t 506 _gsskrb5_get_mech ( 507 const u_char */*ptr*/, 508 size_t /*total_len*/, 509 const u_char **/*mech_ret*/); 510 511 OM_uint32 GSSAPI_CALLCONV 512 _gsskrb5_get_mic ( 513 OM_uint32 * /*minor_status*/, 514 gss_const_ctx_id_t /*context_handle*/, 515 gss_qop_t /*qop_req*/, 516 const gss_buffer_t /*message_buffer*/, 517 gss_buffer_t message_token ); 518 519 OM_uint32 520 _gsskrb5_get_tkt_flags ( 521 OM_uint32 */*minor_status*/, 522 gsskrb5_ctx /*ctx*/, 523 OM_uint32 */*tkt_flags*/); 524 525 OM_uint32 GSSAPI_CALLCONV 526 _gsskrb5_import_cred ( 527 OM_uint32 * /*minor_status*/, 528 gss_buffer_t /*cred_token*/, 529 gss_cred_id_t * /*cred_handle*/); 530 531 OM_uint32 GSSAPI_CALLCONV 532 _gsskrb5_import_name ( 533 OM_uint32 * /*minor_status*/, 534 const gss_buffer_t /*input_name_buffer*/, 535 const gss_OID /*input_name_type*/, 536 gss_name_t * output_name ); 537 538 OM_uint32 GSSAPI_CALLCONV 539 _gsskrb5_import_sec_context ( 540 OM_uint32 * /*minor_status*/, 541 const gss_buffer_t /*interprocess_token*/, 542 gss_ctx_id_t * context_handle ); 543 544 OM_uint32 GSSAPI_CALLCONV 545 _gsskrb5_indicate_mechs ( 546 OM_uint32 * /*minor_status*/, 547 gss_OID_set * mech_set ); 548 549 krb5_error_code 550 _gsskrb5_init (krb5_context */*context*/); 551 552 OM_uint32 GSSAPI_CALLCONV 553 _gsskrb5_init_sec_context ( 554 OM_uint32 * /*minor_status*/, 555 gss_const_cred_id_t /*cred_handle*/, 556 gss_ctx_id_t * /*context_handle*/, 557 gss_const_name_t /*target_name*/, 558 const gss_OID /*mech_type*/, 559 OM_uint32 /*req_flags*/, 560 OM_uint32 /*time_req*/, 561 const gss_channel_bindings_t /*input_chan_bindings*/, 562 const gss_buffer_t /*input_token*/, 563 gss_OID * /*actual_mech_type*/, 564 gss_buffer_t /*output_token*/, 565 OM_uint32 * /*ret_flags*/, 566 OM_uint32 * time_rec ); 567 568 OM_uint32 GSSAPI_CALLCONV 569 _gsskrb5_inquire_context ( 570 OM_uint32 * /*minor_status*/, 571 gss_const_ctx_id_t /*context_handle*/, 572 gss_name_t * /*src_name*/, 573 gss_name_t * /*targ_name*/, 574 OM_uint32 * /*lifetime_rec*/, 575 gss_OID * /*mech_type*/, 576 OM_uint32 * /*ctx_flags*/, 577 int * /*locally_initiated*/, 578 int * open_context ); 579 580 OM_uint32 GSSAPI_CALLCONV 581 _gsskrb5_inquire_cred ( 582 OM_uint32 * /*minor_status*/, 583 gss_const_cred_id_t /*cred_handle*/, 584 gss_name_t * /*output_name*/, 585 OM_uint32 * /*lifetime*/, 586 gss_cred_usage_t * /*cred_usage*/, 587 gss_OID_set * mechanisms ); 588 589 OM_uint32 GSSAPI_CALLCONV 590 _gsskrb5_inquire_cred_by_mech ( 591 OM_uint32 * /*minor_status*/, 592 gss_const_cred_id_t /*cred_handle*/, 593 const gss_OID /*mech_type*/, 594 gss_name_t * /*name*/, 595 OM_uint32 * /*initiator_lifetime*/, 596 OM_uint32 * /*acceptor_lifetime*/, 597 gss_cred_usage_t * cred_usage ); 598 599 OM_uint32 GSSAPI_CALLCONV 600 _gsskrb5_inquire_cred_by_oid ( 601 OM_uint32 * /*minor_status*/, 602 gss_const_cred_id_t /*cred_handle*/, 603 const gss_OID /*desired_object*/, 604 gss_buffer_set_t */*data_set*/); 605 606 OM_uint32 GSSAPI_CALLCONV 607 _gsskrb5_inquire_mechs_for_name ( 608 OM_uint32 * /*minor_status*/, 609 gss_const_name_t /*input_name*/, 610 gss_OID_set * mech_types ); 611 612 OM_uint32 GSSAPI_CALLCONV 613 _gsskrb5_inquire_names_for_mech ( 614 OM_uint32 * /*minor_status*/, 615 const gss_OID /*mechanism*/, 616 gss_OID_set * name_types ); 617 618 OM_uint32 GSSAPI_CALLCONV 619 _gsskrb5_inquire_sec_context_by_oid ( 620 OM_uint32 */*minor_status*/, 621 gss_const_ctx_id_t /*context_handle*/, 622 const gss_OID /*desired_object*/, 623 gss_buffer_set_t */*data_set*/); 624 625 OM_uint32 626 _gsskrb5_krb5_ccache_name ( 627 OM_uint32 */*minor_status*/, 628 const char */*name*/, 629 const char **/*out_name*/); 630 631 OM_uint32 632 _gsskrb5_krb5_import_cred ( 633 OM_uint32 */*minor_status*/, 634 krb5_ccache /*id*/, 635 krb5_principal /*keytab_principal*/, 636 krb5_keytab /*keytab*/, 637 gss_cred_id_t */*cred*/); 638 639 OM_uint32 640 _gsskrb5_lifetime_left ( 641 OM_uint32 */*minor_status*/, 642 krb5_context /*context*/, 643 OM_uint32 /*endtime*/, 644 OM_uint32 */*lifetime_rec*/); 645 646 OM_uint32 GSSAPI_CALLCONV 647 _gsskrb5_localname ( 648 OM_uint32 */*minor_status*/, 649 gss_const_name_t /*pname*/, 650 const gss_OID /*mech_type*/, 651 gss_buffer_t /*localname*/); 652 653 void * 654 _gsskrb5_make_header ( 655 void */*ptr*/, 656 size_t /*len*/, 657 const void */*type*/, 658 const gss_OID /*mech*/); 659 660 OM_uint32 GSSAPI_CALLCONV 661 _gsskrb5_process_context_token ( 662 OM_uint32 */*minor_status*/, 663 gss_const_ctx_id_t /*context_handle*/, 664 const gss_buffer_t token_buffer ); 665 666 OM_uint32 GSSAPI_CALLCONV 667 _gsskrb5_pseudo_random ( 668 OM_uint32 */*minor_status*/, 669 gss_ctx_id_t /*context_handle*/, 670 int /*prf_key*/, 671 const gss_buffer_t /*prf_in*/, 672 ssize_t /*desired_output_len*/, 673 gss_buffer_t /*prf_out*/); 674 675 OM_uint32 676 _gsskrb5_register_acceptor_identity ( 677 OM_uint32 */*min_stat*/, 678 const char */*identity*/); 679 680 OM_uint32 681 _gsskrb5_release_buffer ( 682 OM_uint32 * /*minor_status*/, 683 gss_buffer_t buffer ); 684 685 OM_uint32 GSSAPI_CALLCONV 686 _gsskrb5_release_cred ( 687 OM_uint32 * /*minor_status*/, 688 gss_cred_id_t * cred_handle ); 689 690 OM_uint32 GSSAPI_CALLCONV 691 _gsskrb5_release_name ( 692 OM_uint32 * /*minor_status*/, 693 gss_name_t * input_name ); 694 695 OM_uint32 GSSAPI_CALLCONV 696 _gsskrb5_set_cred_option ( 697 OM_uint32 */*minor_status*/, 698 gss_cred_id_t */*cred_handle*/, 699 const gss_OID /*desired_object*/, 700 const gss_buffer_t /*value*/); 701 702 OM_uint32 GSSAPI_CALLCONV 703 _gsskrb5_set_sec_context_option ( 704 OM_uint32 */*minor_status*/, 705 gss_ctx_id_t */*context_handle*/, 706 const gss_OID /*desired_object*/, 707 const gss_buffer_t /*value*/); 708 709 void 710 _gsskrb5_set_status ( 711 int /*ret*/, 712 const char */*fmt*/, 713 ...); 714 715 OM_uint32 GSSAPI_CALLCONV 716 _gsskrb5_store_cred ( 717 OM_uint32 */*minor_status*/, 718 gss_cred_id_t /*input_cred_handle*/, 719 gss_cred_usage_t /*cred_usage*/, 720 const gss_OID /*desired_mech*/, 721 OM_uint32 /*overwrite_cred*/, 722 OM_uint32 /*default_cred*/, 723 gss_OID_set */*elements_stored*/, 724 gss_cred_usage_t */*cred_usage_stored*/); 725 726 OM_uint32 GSSAPI_CALLCONV 727 _gsskrb5_unwrap ( 728 OM_uint32 * /*minor_status*/, 729 gss_const_ctx_id_t /*context_handle*/, 730 const gss_buffer_t /*input_message_buffer*/, 731 gss_buffer_t /*output_message_buffer*/, 732 int * /*conf_state*/, 733 gss_qop_t * qop_state ); 734 735 OM_uint32 736 _gsskrb5_verify_8003_checksum ( 737 OM_uint32 */*minor_status*/, 738 const gss_channel_bindings_t /*input_chan_bindings*/, 739 const Checksum */*cksum*/, 740 OM_uint32 */*flags*/, 741 krb5_data */*fwd_data*/); 742 743 OM_uint32 744 _gsskrb5_verify_header ( 745 u_char **/*str*/, 746 size_t /*total_len*/, 747 const void */*type*/, 748 gss_OID /*oid*/); 749 750 OM_uint32 GSSAPI_CALLCONV 751 _gsskrb5_verify_mic ( 752 OM_uint32 * /*minor_status*/, 753 gss_const_ctx_id_t /*context_handle*/, 754 const gss_buffer_t /*message_buffer*/, 755 const gss_buffer_t /*token_buffer*/, 756 gss_qop_t * qop_state ); 757 758 OM_uint32 759 _gsskrb5_verify_mic_internal ( 760 OM_uint32 * /*minor_status*/, 761 const gsskrb5_ctx /*ctx*/, 762 krb5_context /*context*/, 763 const gss_buffer_t /*message_buffer*/, 764 const gss_buffer_t /*token_buffer*/, 765 gss_qop_t * /*qop_state*/, 766 const char * type ); 767 768 OM_uint32 GSSAPI_CALLCONV 769 _gsskrb5_wrap ( 770 OM_uint32 * /*minor_status*/, 771 gss_const_ctx_id_t /*context_handle*/, 772 int /*conf_req_flag*/, 773 gss_qop_t /*qop_req*/, 774 const gss_buffer_t /*input_message_buffer*/, 775 int * /*conf_state*/, 776 gss_buffer_t output_message_buffer ); 777 778 OM_uint32 GSSAPI_CALLCONV 779 _gsskrb5_wrap_size_limit ( 780 OM_uint32 * /*minor_status*/, 781 gss_const_ctx_id_t /*context_handle*/, 782 int /*conf_req_flag*/, 783 gss_qop_t /*qop_req*/, 784 OM_uint32 /*req_output_size*/, 785 OM_uint32 * max_input_size ); 786 787 krb5_error_code 788 _gsskrb5cfx_wrap_length_cfx ( 789 krb5_context /*context*/, 790 krb5_crypto /*crypto*/, 791 int /*conf_req_flag*/, 792 int /*dce_style*/, 793 size_t /*input_length*/, 794 size_t */*output_length*/, 795 size_t */*cksumsize*/, 796 uint16_t */*padlength*/); 797 798 krb5_error_code 799 _gsskrb5i_address_to_krb5addr ( 800 krb5_context /*context*/, 801 OM_uint32 /*gss_addr_type*/, 802 gss_buffer_desc */*gss_addr*/, 803 int16_t /*port*/, 804 krb5_address */*address*/); 805 806 krb5_error_code 807 _gsskrb5i_get_acceptor_subkey ( 808 const gsskrb5_ctx /*ctx*/, 809 krb5_context /*context*/, 810 krb5_keyblock **/*key*/); 811 812 krb5_error_code 813 _gsskrb5i_get_initiator_subkey ( 814 const gsskrb5_ctx /*ctx*/, 815 krb5_context /*context*/, 816 krb5_keyblock **/*key*/); 817 818 OM_uint32 819 _gsskrb5i_get_token_key ( 820 const gsskrb5_ctx /*ctx*/, 821 krb5_context /*context*/, 822 krb5_keyblock **/*key*/); 823 824 void 825 _gsskrb5i_is_cfx ( 826 krb5_context /*context*/, 827 gsskrb5_ctx /*ctx*/, 828 int /*acceptor*/); 829 830 #endif /* __gsskrb5_private_h__ */ 831