Home
last modified time | relevance | path

Searched refs:mechs_array (Results 1 – 14 of 14) sorted by relevance

/freebsd/crypto/krb5/src/lib/gssapi/mechglue/
H A Dg_acquire_cred.c207 major = gssint_make_public_oid_set(minor_status, creds->mechs_array, in gss_acquire_cred_from()
336 ncred->mechs_array = calloc(cred->count, sizeof (*ncred->mechs_array)); in copy_union_cred()
338 if (ncred->mechs_array == NULL || ncred->cred_array == NULL) in copy_union_cred()
344 ncred->mechs_array[i].elements = malloc(cred->mechs_array[i].length); in copy_union_cred()
345 if (ncred->mechs_array[i].elements == NULL) in copy_union_cred()
347 g_OID_copy(&ncred->mechs_array[i], &cred->mechs_array[i]); in copy_union_cred()
351 &cred->mechs_array[i], &ncred->cred_array[i]); in copy_union_cred()
513 newptr = realloc(union_cred->mechs_array, in gss_add_cred_from()
519 union_cred->mechs_array = newptr; in gss_add_cred_from()
539 union_cred->mechs_array[union_cred->count].elements = oidbuf; in gss_add_cred_from()
[all …]
H A Dg_rel_cred.c67 mech = gssint_get_mechanism (&union_cred->mechs_array[j]); in gss_release_cred()
69 if (union_cred->mechs_array[j].elements) in gss_release_cred()
70 free(union_cred->mechs_array[j].elements); in gss_release_cred()
90 free(union_cred->mechs_array); in gss_release_cred()
H A Dg_imp_cred.c120 cred->mechs_array = calloc(count, sizeof(*cred->mechs_array)); in gss_import_cred()
121 if (cred->mechs_array == NULL) in gss_import_cred()
163 cred->mechs_array[cred->count].length = selected_mech->length; in gss_import_cred()
164 cred->mechs_array[cred->count].elements = elemcopy; in gss_import_cred()
H A Dg_set_cred_option.c67 &cred->mechs_array); in alloc_union_cred()
150 mech = gssint_get_mechanism(&union_cred->mechs_array[i]); in gss_set_cred_option()
H A Dg_acquire_cred_imp_name.c230 oids.elements = creds->mechs_array; in gss_acquire_cred_impersonate_name()
457 (void) memcpy(new_mechs_array, union_cred->mechs_array, in gss_add_cred_impersonate_name()
480 free(union_cred->mechs_array); in gss_add_cred_impersonate_name()
493 new_union_cred->mechs_array = new_mechs_array; in gss_add_cred_impersonate_name()
H A Dg_acquire_cred_with_pw.c205 major = gssint_make_public_oid_set(minor_status, creds->mechs_array, in gss_acquire_cred_with_password()
433 (void) memcpy(new_mechs_array, union_cred->mechs_array, in gss_add_cred_with_password()
456 free(union_cred->mechs_array); in gss_add_cred_with_password()
469 new_union_cred->mechs_array = new_mechs_array; in gss_add_cred_with_password()
H A Dg_accept_sec_context.c194 public_mech = gssint_get_public_oid(&uc->mechs_array[i]); in gss_accept_sec_context()
196 selected_mech = &uc->mechs_array[i]; in gss_accept_sec_context()
326 &d_u_cred->mechs_array); in gss_accept_sec_context()
H A Dg_inq_cred.c78 mech = gssint_get_mechanism(&union_cred->mechs_array[0]); in gss_inquire_cred()
121 union_cred->mechs_array, in gss_inquire_cred()
H A Dg_set_neg_mechs.c50 mech = gssint_get_mechanism(&union_cred->mechs_array[i]); in gss_set_neg_mechs()
H A Dg_export_cred.c80 mech_oid = &cred->mechs_array[i]; in gss_export_cred()
H A Dg_inq_cred_oid.c97 mech = gssint_get_mechanism(&union_cred->mechs_array[i]); in gss_inquire_cred_by_oid()
H A Dg_store_cred.c185 dmech = &union_cred->mechs_array[i]; in gss_store_cred_into()
H A Dg_glue.c453 if (g_OID_equal(mech_type, &union_cred->mechs_array[i])) in gssint_get_mechanism_cred()
H A DmglueP.h63 gss_OID mechs_array; member