| /src/crypto/krb5/src/lib/gssapi/mechglue/ |
| H A D | g_negoex.c | 52 gss_OID selected_mech, public_mech; in gssspi_query_meta_data() local 61 status = gssint_select_mech_type(minor_status, mech_oid, &selected_mech); in gssspi_query_meta_data() 64 public_mech = gssint_get_public_oid(selected_mech); in gssspi_query_meta_data() 66 mech = gssint_get_mechanism(selected_mech); in gssspi_query_meta_data() 73 internal_cred = gssint_get_mechanism_cred(cred, selected_mech); in gssspi_query_meta_data() 80 g_OID_equal(union_name->mech_type, selected_mech)) { in gssspi_query_meta_data() 83 status = gssint_import_internal_name(minor_status, selected_mech, in gssspi_query_meta_data() 103 status = gssint_create_union_context(minor_status, selected_mech, in gssspi_query_meta_data() 115 (void)gssint_release_internal_name(&minor, selected_mech, in gssspi_query_meta_data() 137 gss_OID selected_mech, public_mech; in gssspi_exchange_meta_data() local [all …]
|
| H A D | g_init_sec_context.c | 106 gss_OID selected_mech; in gss_init_sec_context() local 127 &selected_mech); in gss_init_sec_context() 138 mech = gssint_get_mechanism(selected_mech); in gss_init_sec_context() 151 g_OID_equal(union_name->mech_type, selected_mech)) { in gss_init_sec_context() 154 if ((status = gssint_import_internal_name(minor_status, selected_mech, in gss_init_sec_context() 168 status = gssint_create_union_context(minor_status, selected_mech, in gss_init_sec_context() 186 input_cred_handle = gssint_get_mechanism_cred(union_cred, selected_mech); in gss_init_sec_context() 197 gssint_get_public_oid(selected_mech), in gss_init_sec_context() 229 selected_mech, &internal_name); in gss_init_sec_context()
|
| H A D | g_accept_sec_context.c | 149 gss_OID selected_mech = GSS_C_NO_OID; in gss_accept_sec_context() local 196 selected_mech = &uc->mechs_array[i]; in gss_accept_sec_context() 202 if (selected_mech == GSS_C_NO_OID) { in gss_accept_sec_context() 204 &selected_mech); in gss_accept_sec_context() 211 selected_mech = union_ctx_id->mech_type; in gss_accept_sec_context() 218 status = gssint_create_union_context(minor_status, selected_mech, in gss_accept_sec_context() 230 selected_mech); in gss_accept_sec_context() 236 } else if (!allow_mech_by_default(selected_mech)) { in gss_accept_sec_context() 246 mech = gssint_get_mechanism(selected_mech); in gss_accept_sec_context() 307 public_mech = gssint_get_public_oid(selected_mech); in gss_accept_sec_context() [all …]
|
| H A D | g_imp_cred.c | 99 gss_OID selected_mech; in gss_import_cred() local 133 &selected_mech); in gss_import_cred() 136 mech = gssint_get_mechanism(selected_mech); in gss_import_cred() 144 gssint_get_public_oid(selected_mech), in gss_import_cred() 156 elemcopy = malloc(selected_mech->length); in gss_import_cred() 162 memcpy(elemcopy, selected_mech->elements, selected_mech->length); in gss_import_cred() 163 cred->mechs_array[cred->count].length = selected_mech->length; in gss_import_cred()
|
| H A D | g_acquire_cred_imp_name.c | 338 gss_OID selected_mech = GSS_C_NO_OID; in gss_add_cred_impersonate_name() local 356 &selected_mech); in gss_add_cred_impersonate_name() 360 mech = gssint_get_mechanism(selected_mech); in gss_add_cred_impersonate_name() 377 if (gssint_get_mechanism_cred(union_cred, selected_mech) != in gss_add_cred_impersonate_name() 384 selected_mech); in gss_add_cred_impersonate_name() 391 g_OID_equal(union_name->mech_type, selected_mech)) in gss_add_cred_impersonate_name() 395 selected_mech, union_name, in gss_add_cred_impersonate_name() 416 gssint_get_public_oid(selected_mech), in gss_add_cred_impersonate_name() 464 malloc(selected_mech->length)) == NULL) in gss_add_cred_impersonate_name() 467 g_OID_copy(&new_mechs_array[union_cred->count], selected_mech); in gss_add_cred_impersonate_name() [all …]
|
| H A D | g_mech_invoke.c | 41 gss_OID selected_mech = GSS_C_NO_OID; in gssspi_mech_invoke() local 55 &selected_mech); in gssspi_mech_invoke() 59 mech = gssint_get_mechanism(selected_mech); in gssspi_mech_invoke() 65 gssint_get_public_oid(selected_mech), in gssspi_mech_invoke()
|
| H A D | g_acquire_cred_with_pw.c | 320 gss_OID selected_mech = GSS_C_NO_OID; in gss_add_cred_with_password() local 338 &selected_mech); in gss_add_cred_with_password() 342 mech = gssint_get_mechanism(selected_mech); in gss_add_cred_with_password() 359 if (gssint_get_mechanism_cred(union_cred, selected_mech) != in gss_add_cred_with_password() 367 g_OID_equal(union_name->mech_type, selected_mech)) in gss_add_cred_with_password() 371 selected_mech, union_name, in gss_add_cred_with_password() 392 gssint_get_public_oid(selected_mech), in gss_add_cred_with_password() 440 malloc(selected_mech->length)) == NULL) in gss_add_cred_with_password() 443 g_OID_copy(&new_mechs_array[union_cred->count], selected_mech); in gss_add_cred_with_password() 478 selected_mech, in gss_add_cred_with_password() [all …]
|
| H A D | g_imp_sec_context.c | 83 gss_OID selected_mech = GSS_C_NO_OID; in gss_import_sec_context() local 122 &selected_mech); in gss_import_sec_context() 126 mech = gssint_get_mechanism(selected_mech); in gss_import_sec_context() 133 status = gssint_create_union_context(minor_status, selected_mech, &ctx); in gss_import_sec_context() 138 public_mech = gssint_get_public_oid(selected_mech); in gss_import_sec_context()
|
| H A D | g_canon_name.c | 62 gss_OID selected_mech; in gss_canonicalize_name() local 72 &selected_mech); in gss_canonicalize_name() 85 g_OID_equal(in_union->mech_type, selected_mech)) in gss_canonicalize_name() 136 if ((major_status = generic_gss_copy_oid(minor_status, selected_mech, in gss_canonicalize_name() 143 gssint_import_internal_name(minor_status, selected_mech, in gss_canonicalize_name()
|
| H A D | g_inq_cred.c | 162 gss_OID selected_mech, public_mech; in gss_inquire_cred_by_mech() local 173 status = gssint_select_mech_type(minor_status, mech_type, &selected_mech); in gss_inquire_cred_by_mech() 177 mech = gssint_get_mechanism(selected_mech); in gss_inquire_cred_by_mech() 184 mech_cred = gssint_get_mechanism_cred(union_cred, selected_mech); in gss_inquire_cred_by_mech() 188 public_mech = gssint_get_public_oid(selected_mech); in gss_inquire_cred_by_mech()
|
| H A D | g_acquire_cred.c | 404 gss_OID selected_mech = GSS_C_NO_OID; in gss_add_cred_from() local 422 &selected_mech); in gss_add_cred_from() 426 mech = gssint_get_mechanism(selected_mech); in gss_add_cred_from() 435 selected_mech) != GSS_C_NO_CREDENTIAL) in gss_add_cred_from() 458 g_OID_equal(union_name->mech_type, selected_mech)) { in gss_add_cred_from() 461 if (gssint_import_internal_name(minor_status, selected_mech, in gss_add_cred_from() 483 target_mechs.elements = gssint_get_public_oid(selected_mech); in gss_add_cred_from() 536 oidbuf = malloc(selected_mech->length); in gss_add_cred_from() 540 g_OID_copy(&union_cred->mechs_array[union_cred->count], selected_mech); in gss_add_cred_from() 560 selected_mech, in gss_add_cred_from() [all …]
|
| H A D | g_store_cred.c | 120 gss_OID selected_mech; in gss_store_cred_into() local 147 &selected_mech); in gss_store_cred_into() 151 mech = gssint_get_mechanism(selected_mech); in gss_store_cred_into() 163 mech_cred = gssint_get_mechanism_cred(union_cred, selected_mech); in gss_store_cred_into() 169 selected_mech, in gss_store_cred_into()
|
| H A D | g_inq_names.c | 39 gss_OID selected_mech = GSS_C_NO_OID, public_mech; in gss_inquire_names_for_mech() local 64 &selected_mech); in gss_inquire_names_for_mech() 68 mech = gssint_get_mechanism(selected_mech); in gss_inquire_names_for_mech() 73 public_mech = gssint_get_public_oid(selected_mech); in gss_inquire_names_for_mech()
|
| H A D | g_mechattr.c | 162 gss_OID selected_mech, public_mech; in gss_inquire_attrs_for_mech() local 177 status = gssint_select_mech_type(minor, mech_oid, &selected_mech); in gss_inquire_attrs_for_mech() 181 mech = gssint_get_mechanism(selected_mech); in gss_inquire_attrs_for_mech() 186 public_mech = gssint_get_public_oid(selected_mech); in gss_inquire_attrs_for_mech()
|
| H A D | gssd_pname_to_uid.c | 126 gss_OID selected_mech = GSS_C_NO_OID, public_mech; in gss_localname() local 147 major = gssint_select_mech_type(minor, mech_type, &selected_mech); in gss_localname() 150 mech = gssint_get_mechanism(selected_mech); in gss_localname() 173 public_mech = gssint_get_public_oid(selected_mech); in gss_localname()
|
| H A D | g_saslname.c | 116 gss_OID selected_mech, public_mech; in gss_inquire_saslname_for_mech() local 140 &selected_mech); in gss_inquire_saslname_for_mech() 150 public_mech = gssint_get_public_oid(selected_mech); in gss_inquire_saslname_for_mech()
|