/illumos-gate/usr/src/uts/common/gssapi/ |
H A D | gssapi.h | 75 #if sizeof (gss_uint32) != sizeof (OM_uint32) 76 #error Incompatible definition of OM_uint32 from xom.h 89 typedef gss_uint32 OM_uint32; typedef 92 OM_uint32 length; 105 OM_uint32 length; 116 OM_uint32 initiator_addrtype; 118 OM_uint32 acceptor_addrtype; 126 typedef OM_uint32 gss_qop_t; 216 #define GSS_C_INDEFINITE ((OM_uint32) 0xfffffffful) 304 #define GSS_C_CALLING_ERROR_MASK ((OM_uint32) 0377ul) [all …]
|
H A D | gssapi_ext.h | 82 OM_uint32 num; 86 OM_uint32 90 OM_uint32 *num /* output qop num */ 93 OM_uint32 96 OM_uint32 num, /* input qop num */ 100 OM_uint32 106 OM_uint32 113 OM_uint32 124 OM_uint32 130 OM_uint32 [all …]
|
H A D | gssd_clnt_stubs.c | 67 static OM_uint32 kgss_sign_wrapped(void *, OM_uint32 *, gss_ctx_id_t, int, 68 gss_buffer_t, gss_buffer_t, OM_uint32); 70 static OM_uint32 kgss_verify_wrapped(void *, OM_uint32 *, gss_ctx_id_t, 71 gss_buffer_t, gss_buffer_t, int *qop_state, OM_uint32); 73 static OM_uint32 kgss_seal_wrapped(void *, OM_uint32 *, gss_ctx_id_t, 74 int, int, gss_buffer_t, int *, gss_buffer_t, OM_uint32); 76 static OM_uint32 kgss_unseal_wrapped(void *, OM_uint32 *, gss_ctx_id_t, 78 OM_uint32); 80 static OM_uint32 kgss_delete_sec_context_wrapped(void *, OM_uint32 *, 81 gssd_ctx_id_t *, gss_buffer_t, OM_uint32); [all …]
|
/illumos-gate/usr/src/lib/gss_mechs/mech_dh/backend/mech/ |
H A D | dh_gssapi.h | 146 OM_uint32 seqno; /* Last seqno seen */ 163 OM_uint32 flags; /* GSS context flags */ 166 OM_uint32 next_seqno; /* Next seqno to send */ 185 OM_uint32 186 __dh_gss_acquire_cred(void *, OM_uint32*, gss_name_t, OM_uint32, gss_OID_set, 187 gss_cred_usage_t, gss_cred_id_t *, gss_OID_set *, OM_uint32 *); 189 OM_uint32 190 __dh_gss_release_cred(void *, OM_uint32 *, gss_cred_id_t *); 192 OM_uint32 193 __dh_gss_init_sec_context(void *, OM_uint32 *, gss_cred_id_t, gss_ctx_id_t *, [all …]
|
H A D | seq.c | 62 static OM_uint32 63 __context_debug_set_next_seqno(OM_uint32 *minor, gss_ctx_id_t cntx, void *argp) in __context_debug_set_next_seqno() 66 OM_uint32 seqno = (OM_uint32)(intptr_t)argp; in __context_debug_set_next_seqno() 86 static OM_uint32 87 __context_debug_get_next_seqno(OM_uint32 *minor, gss_ctx_id_t cntx, void *argp) in __context_debug_get_next_seqno() 99 *(OM_uint32 *)argp = ctx->next_seqno; in __context_debug_get_next_seqno() 105 static OM_uint32 106 __context_debug_set_last_seqno(OM_uint32 *minor, gss_ctx_id_t cntx, void *argp) in __context_debug_set_last_seqno() 109 OM_uint32 seqno = (OM_uint32)(intptr_t)argp; in __context_debug_set_last_seqno() 130 static OM_uint32 [all …]
|
H A D | context.c | 54 OM_uint32 56 OM_uint32 * minor, /* GSS minor status */ in __dh_gss_context_time() 58 OM_uint32* time_remaining /* Time remaining */) in __dh_gss_context_time() 94 OM_uint32 96 OM_uint32 *minor, /* Mechanism status */ in __dh_gss_delete_sec_context() 158 OM_uint32 160 __dh_gss_export_sec_context(void *ctx, OM_uint32 *minor, in __dh_gss_export_sec_context() 166 OM_uint32 168 __dh_gss_import_sec_context(void * ctx, OM_uint32 *minor, in __dh_gss_import_sec_context() 178 OM_uint32 [all …]
|
H A D | name.c | 63 OM_uint32 65 OM_uint32 *minor, /* Mechanism status */ in __dh_gss_compare_name() 92 OM_uint32 94 OM_uint32* minor, /* Mechanism status */ in __dh_gss_display_name() 145 static OM_uint32 146 do_netname_nametype(OM_uint32 *minor, char *input, gss_name_t *output) in do_netname_nametype() 165 static OM_uint32 166 do_uid_nametype(OM_uint32 *minor, uid_t uid, gss_name_t *output) in do_uid_nametype() 193 static OM_uint32 194 do_username_nametype(OM_uint32 *minor, char *uname, gss_name_t *output) in do_username_nametype() [all …]
|
/illumos-gate/usr/src/uts/common/gssapi/include/ |
H A D | gssapiP_dummy.h | 49 OM_uint32 last_stat; 109 OM_uint32 dummy_gss_acquire_cred 112 OM_uint32 *, /* minor_status */ 114 OM_uint32, /* time_req */ 119 OM_uint32 * /* time_rec */ 122 OM_uint32 dummy_gss_release_cred 125 OM_uint32 *, /* minor_status */ 129 OM_uint32 dummy_gss_init_sec_context 132 OM_uint32 *, /* minor_status */ 137 OM_uint32, /* req_flags */ [all …]
|
H A D | mechglueP.h | 101 OM_uint32 creation_time; 102 OM_uint32 time_rec; 117 typedef OM_uint32 (*gss_acquire_cred_with_password_sfct)( 119 OM_uint32 *, /* minor_status */ 122 OM_uint32, /* time_req */ 127 OM_uint32 * /* time_rec */ 162 OM_uint32 priority; 173 OM_uint32 (*gss_acquire_cred) 177 OM_uint32 *, /* minor_status */ 179 OM_uint32, /* time_req */ [all …]
|
/illumos-gate/usr/src/lib/gss_mechs/mech_spnego/mech/ |
H A D | gssapiP_spnego.h | 84 OM_uint32 magic_num; 96 OM_uint32 ctx_flags; 124 OM_uint32 spnego_gss_acquire_cred 126 OM_uint32 *, /* minor_status */ 128 OM_uint32, /* time_req */ 133 OM_uint32 * /* time_rec */ 136 OM_uint32 glue_spnego_gss_acquire_cred 139 OM_uint32 *, /* minor_status */ 141 OM_uint32, /* time_req */ 146 OM_uint32 * /* time_rec */ [all …]
|
H A D | spnego_mech.c | 101 extern unsigned int gssint_der_length_size(OM_uint32); 102 extern int gssint_get_der_length(unsigned char **, OM_uint32, OM_uint32*); 103 extern int gssint_put_der_length(OM_uint32, unsigned char **, OM_uint32); 116 static gss_OID get_mech_oid(OM_uint32 *, unsigned char **, size_t); 118 static gss_OID_set get_mech_set(OM_uint32 *, unsigned char **, unsigned int); 119 static OM_uint32 get_req_flags(unsigned char **, OM_uint32, OM_uint32 *); 120 static OM_uint32 get_available_mechs(OM_uint32 *, gss_name_t, 128 static int put_negResult(unsigned char **, OM_uint32, unsigned int); 130 static OM_uint32 131 process_mic(OM_uint32 *, gss_buffer_t, spnego_gss_ctx_id_t, [all …]
|
/illumos-gate/usr/src/uts/common/gssapi/mechs/krb5/include/ |
H A D | gssapiP_krb5.h | 184 OM_uint32 gss_flags; 241 OM_uint32 kg_get_defcred 242 (OM_uint32 *minor_status, 289 OM_uint32 kg_seal (OM_uint32 *minor_status, 298 OM_uint32 kg_unseal (OM_uint32 *minor_status, 306 OM_uint32 kg_seal_size (OM_uint32 *minor_status, 310 OM_uint32 output_size, 311 OM_uint32 *input_size); 327 OM_uint32 kg_sync_ccache_name (krb5_context context, OM_uint32 *minor_status); 329 OM_uint32 kg_caller_provided_ccache_name (OM_uint32 *minor_status, [all …]
|
H A D | gssapi_krb5.h | 118 OM_uint32 type; /* key encryption type */ 119 OM_uint32 length; /* length of key data */ 124 OM_uint32 sign_alg; /* signing algorthm */ 125 OM_uint32 seal_alg; /* seal/encrypt algorthm */ 132 OM_uint32 have_acceptor_subkey; 144 OM_uint32 version; /* Structure version number (1) 146 OM_uint32 initiate; /* Are we the initiator? */ 147 OM_uint32 endtime; /* expiration time of context */ 150 OM_uint32 protocol; /* 0: rfc1964, 167 OM_uint32 version; /* Structure version number */ [all …]
|
H A D | gssapiP_generic.h | 205 OM_uint32 g_display_major_status (OM_uint32 *minor_status, 206 OM_uint32 status_value, 207 OM_uint32 *message_context, 210 OM_uint32 g_display_com_err_status (OM_uint32 *minor_status, 211 OM_uint32 status_value, 232 OM_uint32 generic_gss_release_buffer 233 (OM_uint32*, /* minor_status */ 237 OM_uint32 generic_gss_release_oid_set 238 (OM_uint32*, /* minor_status */ 242 OM_uint32 generic_gss_release_oid [all …]
|
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/mech/ |
H A D | krb5_gss_glue.c | 36 static OM_uint32 k5glue_acquire_cred 37 (void *, OM_uint32*, /* minor_status */ 39 OM_uint32, /* time_req */ 44 OM_uint32* /* time_rec */ 47 static OM_uint32 k5glue_release_cred 48 (void *, OM_uint32*, /* minor_status */ 52 static OM_uint32 k5glue_init_sec_context 53 (void *, OM_uint32*, /* minor_status */ 58 OM_uint32, /* req_flags */ 59 OM_uint32, /* time_req */ [all …]
|
H A D | disp_major_status.c | 124 OM_uint32 value; 143 static OM_uint32 display_calling(minor_status, code, status_string) in display_calling() 144 OM_uint32 *minor_status; in display_calling() 145 OM_uint32 code; 168 static OM_uint32 display_routine(minor_status, code, status_string) in display_routine() 169 OM_uint32 *minor_status; in display_routine() 170 OM_uint32 code; 193 static OM_uint32 display_bit(minor_status, code, status_string) in display_bit() 194 OM_uint32 *minor_status; in display_bit() 195 OM_uint32 code; [all …]
|
H A D | disp_status.c | 33 compare_OM_uint32 (OM_uint32 a, OM_uint32 b) in compare_OM_uint32() 52 char *get_error_message(OM_uint32 minor_code) in get_error_message() 79 static int save_error_string_nocopy(OM_uint32 minor_code, char *msg) in save_error_string_nocopy() 122 void save_error_string(OM_uint32 minor_code, char *msg) in save_error_string() 130 void save_error_message(OM_uint32 minor_code, const char *format, ...) in save_error_message() 144 void krb5_gss_save_error_info(OM_uint32 minor_code, krb5_context ctx) in krb5_gss_save_error_info() 170 OM_uint32 173 OM_uint32 *minor_status; in krb5_gss_display_status() 174 OM_uint32 status_value; 177 OM_uint32 *message_context; [all …]
|
H A D | oid_ops.c | 43 OM_uint32 45 OM_uint32 *minor_status; in generic_gss_release_oid() 85 OM_uint32 87 OM_uint32 *minor_status; in generic_gss_copy_oid() 112 OM_uint32 114 OM_uint32 *minor_status; in generic_gss_create_empty_oid_set() 129 OM_uint32 131 OM_uint32 *minor_status; in generic_gss_add_oid_set_member() 180 OM_uint32 182 OM_uint32 *minor_status; in generic_gss_test_oid_set_member() [all …]
|
/illumos-gate/usr/src/uts/common/gssapi/mechs/krb5/ |
H A D | krb5mech.c | 42 static OM_uint32 k5glue_delete_sec_context 43 (void *, OM_uint32 *, /* minor_status */ 46 OM_uint32); 48 static OM_uint32 k5glue_sign 49 (void *, OM_uint32 *, /* minor_status */ 54 OM_uint32); 56 static OM_uint32 k5glue_verify 57 (void *, OM_uint32 *, /* minor_status */ 62 OM_uint32); 64 static OM_uint32 k5glue_seal [all …]
|
/illumos-gate/usr/src/lib/gss_mechs/mech_dummy/mech/ |
H A D | dmech.c | 115 static OM_uint32 dummy_flags; 195 OM_uint32 200 OM_uint32 *minor_status; 202 OM_uint32 time_req; 207 OM_uint32 *time_rec; 232 OM_uint32 235 OM_uint32 *minor_status; 248 OM_uint32 255 OM_uint32 *minor_status; 260 OM_uint32 req_flags; [all …]
|
/illumos-gate/usr/src/lib/libgss/ |
H A D | g_oid_ops.c | 41 OM_uint32 43 OM_uint32 *minor_status; in gss_create_empty_oid_set() 46 OM_uint32 status; 53 OM_uint32 55 OM_uint32 *minor_status; in gss_add_oid_set_member() 59 OM_uint32 status; 67 OM_uint32 69 OM_uint32 *minor_status; in gss_test_oid_set_member() 78 OM_uint32 80 OM_uint32 *minor_status; in gss_oid_to_str() [all …]
|
H A D | oid_ops.c | 51 OM_uint32 53 OM_uint32 *minor_status; in generic_gss_release_oid() 93 OM_uint32 95 OM_uint32 *minor_status; in generic_gss_copy_oid() 126 OM_uint32 128 OM_uint32 *minor_status; in generic_gss_create_empty_oid_set() 145 OM_uint32 147 OM_uint32 *minor_status; in generic_gss_add_oid_set_member() 197 OM_uint32 199 OM_uint32 *minor_status; in generic_gss_test_oid_set_member() [all …]
|
H A D | g_imp_sec_context.c | 38 static OM_uint32 40 OM_uint32 *minor_status, in val_imp_sec_ctx_args() 69 OM_uint32 74 OM_uint32 * minor_status; in gss_import_sec_context() 79 OM_uint32 length = 0; 80 OM_uint32 status; 104 if (interprocess_token->length >= sizeof (OM_uint32)) { 106 length = (OM_uint32)*p++; 107 length = (OM_uint32)(length << 8) + *p++; 108 length = (OM_uint32)(length << 8) + *p++; [all …]
|
/illumos-gate/usr/src/cmd/gss/gssd/ |
H A D | gssd_clnt_stubs.c | 61 #define DEFAULT_MINOR_STAT ((OM_uint32) ~0) 66 OM_uint32 77 OM_uint32 *minor_status; in kgss_acquire_cred_wrapped() 79 OM_uint32 time_req; 84 OM_uint32 *time_rec; 86 OM_uint32 *gssd_cred_verifier; 88 OM_uint32 minor_status_temp; 108 *minor_status = (OM_uint32) minor_status_temp; 110 return ((OM_uint32) GSS_S_FAILURE); 116 arg.uid = (OM_uint32)uid; [all …]
|
/illumos-gate/usr/src/uts/common/gssapi/mechs/krb5/mech/ |
H A D | gssapi_krb5.c | 168 OM_uint32 170 OM_uint32 *minor_status; in kg_get_defcred() 173 OM_uint32 major; 185 OM_uint32 186 kg_sync_ccache_name (krb5_context context, OM_uint32 *minor_status) in kg_sync_ccache_name() 188 OM_uint32 err = 0; in kg_sync_ccache_name() 211 OM_uint32 212 kg_caller_provided_ccache_name (OM_uint32 *minor_status, in kg_caller_provided_ccache_name() 224 OM_uint32 225 kg_get_ccache_name (OM_uint32 *minor_status, const char **out_name) in kg_get_ccache_name() [all …]
|