Home
last modified time | relevance | path

Searched refs:mech_oid (Results 1 – 5 of 5) sorted by relevance

/netbsd-src/crypto/external/bsd/heimdal/dist/lib/gssapi/mech/
H A Dgss_import_sec_context.c41 gss_OID_desc mech_oid; in gss_import_sec_context() local
57 mech_oid.length = (p[0] << 8) | p[1]; in gss_import_sec_context()
58 if (len < mech_oid.length + 2) in gss_import_sec_context()
60 mech_oid.elements = p + 2; in gss_import_sec_context()
61 buf.length = len - 2 - mech_oid.length; in gss_import_sec_context()
62 buf.value = p + 2 + mech_oid.length; in gss_import_sec_context()
64 m = __gss_get_mechanism(&mech_oid); in gss_import_sec_context()
H A Dgss_accept_sec_context.c34 parse_header(const gss_buffer_t input_token, gss_OID mech_oid) in parse_header() argument
85 mech_oid->length = p[1]; in parse_header()
88 mech_oid->elements = p; in parse_header()
101 choose_mech(const gss_buffer_t input, gss_OID mech_oid) in choose_mech() argument
110 status = parse_header(input, mech_oid); in choose_mech()
121 *mech_oid = ntlm_mechanism; in choose_mech()
127 *mech_oid = krb5_mechanism; in choose_mech()
139 *mech_oid = spnego_mechanism; in choose_mech()
187 gss_OID_desc mech_oid; in gss_accept_sec_context() local
189 major_status = choose_mech(input_token, &mech_oid); in gss_accept_sec_context()
[all …]
H A Dgss_import_name.c42 gss_OID_desc mech_oid; in _gss_import_export_name() local
94 mech_oid.length = 0; in _gss_import_export_name()
96 mech_oid.length = (mech_oid.length << 8) | p[0]; in _gss_import_export_name()
102 mech_oid.length = p[0]; in _gss_import_export_name()
107 if (mech_oid.length != t) in _gss_import_export_name()
110 mech_oid.elements = p; in _gss_import_export_name()
124 m = __gss_get_mechanism(&mech_oid); in _gss_import_export_name()
H A Dgss_mech_switch.c240 gss_OID_desc mech_oid; in _gss_load_mech() local
286 if (_gss_string_to_oid(oid, &mech_oid)) in _gss_load_mech()
294 if (gss_oid_equal(&m->gm_mech.gm_mech_oid, &mech_oid)) { in _gss_load_mech()
296 free(mech_oid.elements); in _gss_load_mech()
322 m->gm_mech_oid = mech_oid; in _gss_load_mech()
324 m->gm_mech.gm_mech_oid = mech_oid; in _gss_load_mech()
395 major_status = mi(&minor_status, &mech_oid, in _gss_load_mech()
/netbsd-src/sys/fs/nfs/common/
H A Dnfs_commonkrpc.c397 char *srv_principal, gss_OID mech_oid, struct ucred *cred) in nfs_getauth() argument
406 if (!mech_oid) { in nfs_getauth()
407 if (!rpc_gss_mech_to_oid_call("kerberosv5", &mech_oid)) in nfs_getauth()
419 srv_principal, mech_oid, svc); in nfs_getauth()