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