/titanic_41/usr/src/uts/common/gssapi/ |
H A D | gssapi.h | 77 #if sizeof (gss_uint32) != sizeof (OM_uint32) 78 #error Incompatible definition of OM_uint32 from xom.h 91 typedef gss_uint32 OM_uint32; typedef 94 OM_uint32 length; 107 OM_uint32 length; 118 OM_uint32 initiator_addrtype; 120 OM_uint32 acceptor_addrtype; 128 typedef OM_uint32 gss_qop_t; 218 #define GSS_C_INDEFINITE ((OM_uint32) 0xfffffffful) 306 #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 …]
|
/titanic_41/usr/src/lib/gss_mechs/mech_dh/backend/mech/ |
H A D | dh_gssapi.h | 148 OM_uint32 seqno; /* Last seqno seen */ 165 OM_uint32 flags; /* GSS context flags */ 168 OM_uint32 next_seqno; /* Next seqno to send */ 187 OM_uint32 188 __dh_gss_acquire_cred(void *, OM_uint32*, gss_name_t, OM_uint32, gss_OID_set, 189 gss_cred_usage_t, gss_cred_id_t *, gss_OID_set *, OM_uint32 *); 191 OM_uint32 192 __dh_gss_release_cred(void *, OM_uint32 *, gss_cred_id_t *); 194 OM_uint32 195 __dh_gss_init_sec_context(void *, OM_uint32 *, gss_cred_id_t, gss_ctx_id_t *, [all …]
|
H A D | seq.c | 64 static OM_uint32 65 __context_debug_set_next_seqno(OM_uint32 *minor, gss_ctx_id_t cntx, void *argp) in __context_debug_set_next_seqno() 68 OM_uint32 seqno = (OM_uint32)(intptr_t)argp; in __context_debug_set_next_seqno() 88 static OM_uint32 89 __context_debug_get_next_seqno(OM_uint32 *minor, gss_ctx_id_t cntx, void *argp) in __context_debug_get_next_seqno() 101 *(OM_uint32 *)argp = ctx->next_seqno; in __context_debug_get_next_seqno() 107 static OM_uint32 108 __context_debug_set_last_seqno(OM_uint32 *minor, gss_ctx_id_t cntx, void *argp) in __context_debug_set_last_seqno() 111 OM_uint32 seqno = (OM_uint32)(intptr_t)argp; in __context_debug_set_last_seqno() 132 static OM_uint32 [all …]
|
H A D | context.c | 55 OM_uint32 57 OM_uint32 * minor, /* GSS minor status */ in __dh_gss_context_time() 59 OM_uint32* time_remaining /* Time remaining */) in __dh_gss_context_time() 95 OM_uint32 97 OM_uint32 *minor, /* Mechanism status */ in __dh_gss_delete_sec_context() 159 OM_uint32 161 __dh_gss_export_sec_context(void *ctx, OM_uint32 *minor, in __dh_gss_export_sec_context() 167 OM_uint32 169 __dh_gss_import_sec_context(void * ctx, OM_uint32 *minor, in __dh_gss_import_sec_context() 179 OM_uint32 [all …]
|
H A D | name.c | 65 OM_uint32 67 OM_uint32 *minor, /* Mechanism status */ in __dh_gss_compare_name() 94 OM_uint32 96 OM_uint32* minor, /* Mechanism status */ in __dh_gss_display_name() 147 static OM_uint32 148 do_netname_nametype(OM_uint32 *minor, char *input, gss_name_t *output) in do_netname_nametype() 167 static OM_uint32 168 do_uid_nametype(OM_uint32 *minor, uid_t uid, gss_name_t *output) in do_uid_nametype() 195 static OM_uint32 196 do_username_nametype(OM_uint32 *minor, char *uname, gss_name_t *output) in do_username_nametype() [all …]
|
/titanic_41/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 …]
|
/titanic_41/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 | 102 extern unsigned int gssint_der_length_size(OM_uint32); 103 extern int gssint_get_der_length(unsigned char **, OM_uint32, OM_uint32*); 104 extern int gssint_put_der_length(OM_uint32, unsigned char **, OM_uint32); 117 static gss_OID get_mech_oid(OM_uint32 *, unsigned char **, size_t); 119 static gss_OID_set get_mech_set(OM_uint32 *, unsigned char **, unsigned int); 120 static OM_uint32 get_req_flags(unsigned char **, OM_uint32, OM_uint32 *); 121 static OM_uint32 get_available_mechs(OM_uint32 *, gss_name_t, 129 static int put_negResult(unsigned char **, OM_uint32, unsigned int); 131 static OM_uint32 132 process_mic(OM_uint32 *, gss_buffer_t, spnego_gss_ctx_id_t, [all …]
|
/titanic_41/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 …]
|
/titanic_41/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 | 126 OM_uint32 value; 145 static OM_uint32 display_calling(minor_status, code, status_string) in display_calling() 146 OM_uint32 *minor_status; in display_calling() 147 OM_uint32 code; 170 static OM_uint32 display_routine(minor_status, code, status_string) in display_routine() 171 OM_uint32 *minor_status; in display_routine() 172 OM_uint32 code; 195 static OM_uint32 display_bit(minor_status, code, status_string) in display_bit() 196 OM_uint32 *minor_status; in display_bit() 197 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 …]
|
/titanic_41/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 …]
|
/titanic_41/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 | 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 …]
|
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 …]
|
/titanic_41/usr/src/lib/gss_mechs/mech_dummy/mech/ |
H A D | dmech.c | 114 static OM_uint32 dummy_flags; 194 OM_uint32 199 OM_uint32 *minor_status; 201 OM_uint32 time_req; 206 OM_uint32 *time_rec; 231 OM_uint32 234 OM_uint32 *minor_status; 247 OM_uint32 254 OM_uint32 *minor_status; 259 OM_uint32 req_flags; [all …]
|
/titanic_41/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 …]
|
/titanic_41/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 …]
|
H A D | wrap_size_limit.c | 100 OM_uint32 103 OM_uint32 *minor_status; in krb5_gss_wrap_size_limit() 107 OM_uint32 req_output_size; 108 OM_uint32 *max_input_size; 111 OM_uint32 data_size, conflen; 112 OM_uint32 ohlen; 127 *minor_status = (OM_uint32) G_UNKNOWN_QOP; 135 *minor_status = (OM_uint32) G_VALIDATE_FAILED; 148 OM_uint32 sz = req_output_size; 183 data_size = (conflen + data_size + 8) & (~(OM_uint32)7); [all …]
|