Home
last modified time | relevance | path

Searched refs:mech_type (Results 1 – 25 of 30) sorted by relevance

12

/netbsd-src/crypto/external/bsd/heimdal/dist/lib/gssapi/mech/
H A Dgss_init_sec_context.c34 _gss_mech_cred_find(gss_const_cred_id_t cred_handle, gss_OID mech_type) in _gss_mech_cred_find() argument
43 if (gss_oid_equal(mech_type, mc->gmc_mech_oid)) in _gss_mech_cred_find()
132 gss_OID mech_type = input_mech_type; in gss_init_sec_context() local
150 if (mech_type == NULL) in gss_init_sec_context()
151 mech_type = GSS_KRB5_MECHANISM; in gss_init_sec_context()
159 m = ctx->gc_mech = __gss_get_mechanism(mech_type); in gss_init_sec_context()
167 mech_type = &ctx->gc_mech->gm_mech_oid; in gss_init_sec_context()
174 major_status = _gss_find_mn(minor_status, name, mech_type, &mn); in gss_init_sec_context()
187 cred_handle = _gss_mech_cred_find(initiator_cred_handle, mech_type); in gss_init_sec_context()
200 mech_type, in gss_init_sec_context()
H A Dgss_inquire_context.c39 gss_OID *mech_type, in gss_inquire_context() argument
61 if (mech_type) in gss_inquire_context()
62 *mech_type = GSS_C_NO_OID; in gss_inquire_context()
70 mech_type, in gss_inquire_context()
83 if (mech_type) in gss_inquire_context()
84 *mech_type = GSS_C_NO_OID; in gss_inquire_context()
95 if (mech_type) in gss_inquire_context()
96 *mech_type = GSS_C_NO_OID; in gss_inquire_context()
H A Dgss_pname_to_uid.c107 const gss_OID mech_type, in gss_localname() argument
116 if (mech_type != GSS_C_NO_OID) { in gss_localname()
117 major_status = _gss_find_mn(minor_status, name, mech_type, &mn); in gss_localname()
144 const gss_OID mech_type, in gss_pname_to_uid() argument
156 major = gss_localname(minor_status, pname, mech_type, &localname); in gss_pname_to_uid()
H A Dgss_accept_sec_context.c153 gss_OID *mech_type, in gss_accept_sec_context() argument
171 if (mech_type) in gss_accept_sec_context()
172 *mech_type = GSS_C_NO_OID; in gss_accept_sec_context()
247 if (mech_type) in gss_accept_sec_context()
248 *mech_type = mech_ret_type; in gss_accept_sec_context()
H A Dgss_canonicalize_name.c60 const gss_OID mech_type, in gss_canonicalize_name() argument
72 major_status = _gss_find_mn(minor_status, name, mech_type, &mn); in gss_canonicalize_name()
78 mn->gmn_name, mech_type, &new_canonical_name); in gss_canonicalize_name()
H A Dgss_inquire_cred_by_mech.c36 const gss_OID mech_type, in gss_inquire_cred_by_mech() argument
59 m = __gss_get_mechanism(mech_type); in gss_inquire_cred_by_mech()
75 major_status = m->gm_inquire_cred_by_mech(minor_status, mc, mech_type, in gss_inquire_cred_by_mech()
H A Dgss_display_status.c161 const gss_OID mech_type, in gss_display_status() argument
170 major_status = _gss_mg_get_error(mech_type, status_type, in gss_display_status()
207 maj_junk = gss_oid_to_str(&min_junk, mech_type, &oid); in gss_display_status()
H A Dgss_mo.c347 gss_OID *mech_type) in gss_inquire_mech_for_saslname() argument
356 *mech_type = NULL; in gss_inquire_mech_for_saslname()
367 *mech_type = &m->gm_mech_oid; in gss_inquire_mech_for_saslname()
378 mech_type); in gss_inquire_mech_for_saslname()
389 *mech_type = &m->gm_mech_oid; in gss_inquire_mech_for_saslname()
/netbsd-src/crypto/external/bsd/heimdal/dist/lib/gssapi/ntlm/
H A Dinquire_context.c45 gss_OID * mech_type, in _gss_ntlm_inquire_context() argument
60 if (mech_type) in _gss_ntlm_inquire_context()
61 *mech_type = GSS_NTLM_MECHANISM; in _gss_ntlm_inquire_context()
H A Daccept_sec_context.c77 gss_OID * mech_type, in _gss_ntlm_accept_sec_context() argument
102 if (mech_type) in _gss_ntlm_accept_sec_context()
103 *mech_type = GSS_C_NO_OID; in _gss_ntlm_accept_sec_context()
257 if (mech_type) in _gss_ntlm_accept_sec_context()
258 *mech_type = GSS_NTLM_MECHANISM; in _gss_ntlm_accept_sec_context()
H A Dcanonicalize_name.c42 const gss_OID mech_type, in _gss_ntlm_canonicalize_name() argument
H A Ddisplay_status.c43 const gss_OID mech_type, in _gss_ntlm_display_status() argument
H A Dinquire_cred_by_mech.c42 const gss_OID mech_type, in _gss_ntlm_inquire_cred_by_mech() argument
/netbsd-src/crypto/external/bsd/heimdal/dist/lib/gssapi/spnego/
H A Dcompat.c202 add_mech_type(gss_OID mech_type, in add_mech_type() argument
209 if (gss_oid_equal(mech_type, GSS_SPNEGO_MECHANISM)) in add_mech_type()
213 gss_oid_equal(mech_type, &_gss_spnego_krb5_mechanism_oid_desc)) { in add_mech_type()
225 ret = der_get_oid(mech_type->elements, mech_type->length, &mech, NULL); in add_mech_type()
H A Daccept_sec_context.c479 gss_OID * mech_type, in acceptor_start() argument
671 if (mech_type != NULL) in acceptor_start()
672 *mech_type = ctx->negotiated_mech_type; in acceptor_start()
698 gss_OID * mech_type, in acceptor_continue() argument
859 if (mech_type != NULL) in acceptor_continue()
860 *mech_type = ctx->negotiated_mech_type; in acceptor_continue()
885 gss_OID * mech_type, in _gss_spnego_accept_sec_context() argument
901 if (mech_type != NULL) in _gss_spnego_accept_sec_context()
902 *mech_type = GSS_C_NO_OID; in _gss_spnego_accept_sec_context()
919 src_name, mech_type, output_token, ret_flags, in _gss_spnego_accept_sec_context()
H A Dinit_sec_context.c185 const gss_OID mech_type, in spnego_initial() argument
382 const gss_OID mech_type, in spnego_reply() argument
622 const gss_OID mech_type, in _gss_spnego_init_sec_context() argument
638 mech_type, in _gss_spnego_init_sec_context()
652 mech_type, in _gss_spnego_init_sec_context()
H A Dcred_stubs.c177 const gss_OID mech_type, in _gss_spnego_inquire_cred_by_mech() argument
202 mech_type, in _gss_spnego_inquire_cred_by_mech()
/netbsd-src/crypto/external/bsd/heimdal/dist/lib/gssapi/krb5/
H A Dinquire_context.c44 gss_OID * mech_type, in _gsskrb5_inquire_context() argument
87 if (mech_type) in _gsskrb5_inquire_context()
88 *mech_type = GSS_KRB5_MECHANISM; in _gsskrb5_inquire_context()
H A Ddisplay_status.c147 const gss_OID mech_type, in _gsskrb5_display_status() argument
160 if (gss_oid_equal(mech_type, GSS_C_NO_OID) == 0 && in _gsskrb5_display_status()
161 gss_oid_equal(mech_type, GSS_KRB5_MECHANISM) == 0) { in _gsskrb5_display_status()
H A Daccept_sec_context.c357 gss_OID * mech_type, in gsskrb5_acceptor_start() argument
657 if (mech_type) in gsskrb5_acceptor_start()
658 *mech_type = GSS_KRB5_MECHANISM; in gsskrb5_acceptor_start()
703 gss_OID * mech_type, in acceptor_wait_for_dcestyle() argument
866 gss_OID * mech_type, in _gsskrb5_accept_sec_context() argument
883 if (mech_type) in _gsskrb5_accept_sec_context()
884 *mech_type = GSS_KRB5_MECHANISM; in _gsskrb5_accept_sec_context()
915 mech_type, in _gsskrb5_accept_sec_context()
929 mech_type, in _gsskrb5_accept_sec_context()
H A Dinit_sec_context.c384 const gss_OID mech_type, in init_auth() argument
729 const gss_OID mech_type, in repl_mutual() argument
852 const gss_OID mech_type, in _gsskrb5_init_sec_context() argument
890 if (mech_type != GSS_C_NO_OID && in _gsskrb5_init_sec_context()
891 !gss_oid_equal(mech_type, GSS_KRB5_MECHANISM)) in _gsskrb5_init_sec_context()
928 mech_type, in _gsskrb5_init_sec_context()
956 mech_type, in _gsskrb5_init_sec_context()
H A Dcanonicalize_name.c41 const gss_OID mech_type, in _gsskrb5_canonicalize_name() argument
H A Dinquire_cred_by_mech.c41 const gss_OID mech_type, in _gsskrb5_inquire_cred_by_mech() argument
H A Dpname_to_uid.c40 const gss_OID mech_type, in _gsskrb5_localname() argument
/netbsd-src/crypto/external/bsd/heimdal/dist/lib/hx509/
H A Dsoftp11.c438 CK_MECHANISM_TYPE mech_type; in add_cert() local
534 mech_type = CKM_RSA_X_509; in add_cert()
535 add_object_attribute(o, 0, CKA_KEY_GEN_MECHANISM, &mech_type, sizeof(mech_type)); in add_cert()
573 mech_type = CKM_RSA_X_509; in add_cert()
574 add_object_attribute(o, 0, CKA_KEY_GEN_MECHANISM, &mech_type, sizeof(mech_type)); in add_cert()

12