/freebsd/lib/libgssapi/ |
H A D | gss_init_sec_context.c | 41 _gss_mech_cred_find(gss_cred_id_t cred_handle, gss_OID mech_type) in _gss_mech_cred_find() argument 50 if (gss_oid_equal(mech_type, mc->gmc_mech_oid)) in _gss_mech_cred_find() 78 gss_OID mech_type = input_mech_type; in gss_init_sec_context() local 96 if (mech_type == GSS_C_NO_OID) { in gss_init_sec_context() 101 mech_type = &_gss_mech_oids->elements[0]; in gss_init_sec_context() 110 m = ctx->gc_mech = _gss_find_mech_switch(mech_type); in gss_init_sec_context() 118 mech_type = &ctx->gc_mech->gm_mech_oid; in gss_init_sec_context() 125 major_status = _gss_find_mn(minor_status, name, mech_type, &mn); in gss_init_sec_context() 135 cred_handle = _gss_mech_cred_find(initiator_cred_handle, mech_type); in gss_init_sec_context() 141 mech_type, in gss_init_sec_context()
|
H A D | gss_inquire_context.c | 41 gss_OID *mech_type, in gss_inquire_context() argument 63 if (mech_type) in gss_inquire_context() 64 *mech_type = GSS_C_NO_OID; in gss_inquire_context() 72 mech_type, in gss_inquire_context() 85 if (mech_type) in gss_inquire_context() 86 *mech_type = GSS_C_NO_OID; in gss_inquire_context() 97 if (mech_type) in gss_inquire_context() 98 *mech_type = GSS_C_NO_OID; in gss_inquire_context()
|
H A D | gss_canonicalize_name.c | 40 const gss_OID mech_type, in gss_canonicalize_name() argument 46 struct _gss_mech_switch *m = _gss_find_mech_switch(mech_type); in gss_canonicalize_name() 52 major_status = _gss_find_mn(minor_status, name, mech_type, &mn); in gss_canonicalize_name() 58 mn->gmn_name, mech_type, &new_canonical_name); in gss_canonicalize_name()
|
H A D | gss_inquire_cred_by_mech.c | 38 const gss_OID mech_type, in gss_inquire_cred_by_mech() argument 61 m = _gss_find_mech_switch(mech_type); in gss_inquire_cred_by_mech() 77 major_status = m->gm_inquire_cred_by_mech(minor_status, mc, mech_type, in gss_inquire_cred_by_mech()
|
/freebsd/crypto/heimdal/lib/gssapi/mech/ |
H A D | gss_init_sec_context.c | 32 _gss_mech_cred_find(gss_cred_id_t cred_handle, gss_OID mech_type) in _gss_mech_cred_find() argument 41 if (gss_oid_equal(mech_type, mc->gmc_mech_oid)) in _gss_mech_cred_find() 130 gss_OID mech_type = input_mech_type; in gss_init_sec_context() local 148 if (mech_type == NULL) in gss_init_sec_context() 149 mech_type = GSS_KRB5_MECHANISM; in gss_init_sec_context() 157 m = ctx->gc_mech = __gss_get_mechanism(mech_type); in gss_init_sec_context() 165 mech_type = &ctx->gc_mech->gm_mech_oid; in gss_init_sec_context() 172 major_status = _gss_find_mn(minor_status, name, mech_type, &mn); in gss_init_sec_context() 185 cred_handle = _gss_mech_cred_find(initiator_cred_handle, mech_type); in gss_init_sec_context() 191 mech_type, in gss_init_sec_context()
|
H A D | gss_inquire_context.c | 37 gss_OID *mech_type, in gss_inquire_context() argument 59 if (mech_type) in gss_inquire_context() 60 *mech_type = GSS_C_NO_OID; in gss_inquire_context() 68 mech_type, in gss_inquire_context() 81 if (mech_type) in gss_inquire_context() 82 *mech_type = GSS_C_NO_OID; in gss_inquire_context() 93 if (mech_type) in gss_inquire_context() 94 *mech_type = GSS_C_NO_OID; in gss_inquire_context()
|
H A D | gss_inquire_cred_by_mech.c | 34 const gss_OID mech_type, in gss_inquire_cred_by_mech() argument 57 m = __gss_get_mechanism(mech_type); in gss_inquire_cred_by_mech() 73 major_status = m->gm_inquire_cred_by_mech(minor_status, mc, mech_type, in gss_inquire_cred_by_mech()
|
H A D | gss_canonicalize_name.c | 58 const gss_OID mech_type, in gss_canonicalize_name() argument 70 major_status = _gss_find_mn(minor_status, name, mech_type, &mn); in gss_canonicalize_name() 76 mn->gmn_name, mech_type, &new_canonical_name); in gss_canonicalize_name()
|
H A D | gss_accept_sec_context.c | 151 gss_OID *mech_type, in gss_accept_sec_context() argument 169 if (mech_type) in gss_accept_sec_context() 170 *mech_type = GSS_C_NO_OID; in gss_accept_sec_context() 245 if (mech_type) in gss_accept_sec_context() 246 *mech_type = mech_ret_type; in gss_accept_sec_context()
|
H A D | gss_display_status.c | 141 const gss_OID mech_type, in gss_display_status() argument 150 major_status = _gss_mg_get_error(mech_type, status_type, in gss_display_status() 187 maj_junk = gss_oid_to_str(&min_junk, mech_type, &oid); in gss_display_status()
|
/freebsd/tools/regression/kgssapi/ |
H A D | gsstest.c | 108 gss_OID mech_type = GSS_C_NO_OID; in main() local 137 report_error(mech_type, maj_stat, min_stat); in main() 146 report_error(mech_type, maj_stat, min_stat); in main() 154 report_error(mech_type, maj_stat, min_stat); in main() 175 &mech_type, in main() 181 report_error(mech_type, maj_stat, min_stat); in main() 192 report_error(mech_type, res.maj_stat, in main() 208 report_error(mech_type, maj_stat, min_stat); in main() 217 report_error(mech_type, res.maj_stat, res.min_stat); in main() 225 report_error(mech_type, maj_stat, min_stat); in main() [all …]
|
/freebsd/sys/contrib/openzfs/module/icp/include/sys/crypto/ |
H A D | impl.h | 225 #define KCF_MECH2CLASS(mech_type) ((kcf_ops_class_t)((mech_type) >> 32)) argument 227 #define KCF_MECH2INDEX(mech_type) ((int)((mech_type) & 0xFFFFFFFF)) argument 229 #define KCF_TO_PROV_MECH_INDX(pd, mech_type) \ argument 230 ((pd)->pd_mech_indx[KCF_MECH2CLASS(mech_type)] \ 231 [KCF_MECH2INDEX(mech_type)]) 233 #define KCF_TO_PROV_MECHINFO(pd, mech_type) \ argument 234 ((pd)->pd_mechanisms[KCF_TO_PROV_MECH_INDX(pd, mech_type)]) 236 #define KCF_TO_PROV_MECHNUM(pd, mech_type) \ argument 237 (KCF_TO_PROV_MECHINFO(pd, mech_type).cm_mech_number)
|
/freebsd/sys/contrib/openzfs/module/icp/core/ |
H A D | kcf_mech_tabs.c | 307 crypto_mech_type_t mech_type; in kcf_remove_mech_provider() local 312 if ((mech_type = crypto_mech2id(mech_name)) == in kcf_remove_mech_provider() 322 if (kcf_get_mech_entry(mech_type, &mech_entry) != KCF_SUCCESS) { in kcf_remove_mech_provider() 362 kcf_get_mech_entry(crypto_mech_type_t mech_type, kcf_mech_entry_t **mep) in kcf_get_mech_entry() argument 370 class = KCF_MECH2CLASS(mech_type); in kcf_get_mech_entry() 378 index = KCF_MECH2INDEX(mech_type); in kcf_get_mech_entry()
|
H A D | kcf_callprov.c | 83 kcf_get_mech_provider(crypto_mech_type_t mech_type, kcf_mech_entry_t **mepp, in kcf_get_mech_provider() argument 93 class = KCF_MECH2CLASS(mech_type); in kcf_get_mech_provider() 100 index = KCF_MECH2INDEX(mech_type); in kcf_get_mech_provider()
|
/freebsd/crypto/heimdal/lib/gssapi/ntlm/ |
H A D | inquire_context.c | 43 gss_OID * mech_type, in _gss_ntlm_inquire_context() argument 58 if (mech_type) in _gss_ntlm_inquire_context() 59 *mech_type = GSS_NTLM_MECHANISM; in _gss_ntlm_inquire_context()
|
H A D | accept_sec_context.c | 75 gss_OID * mech_type, in _gss_ntlm_accept_sec_context() argument 100 if (mech_type) in _gss_ntlm_accept_sec_context() 101 *mech_type = GSS_C_NO_OID; in _gss_ntlm_accept_sec_context() 255 if (mech_type) in _gss_ntlm_accept_sec_context() 256 *mech_type = GSS_NTLM_MECHANISM; in _gss_ntlm_accept_sec_context()
|
/freebsd/sys/kgssapi/ |
H A D | gss_impl.c | 116 kgss_install_mech(gss_OID mech_type, const char *name, struct kobj_class *cls) in kgss_install_mech() argument 121 km->km_mech_type = mech_type; in kgss_install_mech() 128 kgss_uninstall_mech(gss_OID mech_type) in kgss_uninstall_mech() argument 133 if (kgss_oid_equal(km->km_mech_type, mech_type)) { in kgss_uninstall_mech() 168 kgss_create_context(gss_OID mech_type) in kgss_create_context() argument 174 if (kgss_oid_equal(km->km_mech_type, mech_type)) in kgss_create_context()
|
H A D | gss_accept_sec_context.c | 50 gss_OID *mech_type, in gss_accept_sec_context() argument 99 ctx = kgss_create_context(res.mech_type); in gss_accept_sec_context() 117 if (mech_type) in gss_accept_sec_context() 118 *mech_type = KGSS_MECH_TYPE(ctx); in gss_accept_sec_context()
|
H A D | gss_canonicalize_name.c | 45 const gss_OID mech_type, in gss_canonicalize_name() argument 60 args.mech_type = mech_type; in gss_canonicalize_name()
|
H A D | gss_display_status.c | 46 const gss_OID mech_type, in gss_display_status() argument 62 args.mech_type = mech_type; in gss_display_status()
|
H A D | gssapi_impl.h | 74 extern void kgss_install_mech(gss_OID mech_type, const char *name, 76 extern void kgss_uninstall_mech(gss_OID mech_type); 79 extern gss_ctx_id_t kgss_create_context(gss_OID mech_type);
|
H A D | gssd.x | 66 gss_OID mech_type; member 78 gss_OID mech_type; member 137 gss_OID mech_type; member 218 gss_OID mech_type; member
|
/freebsd/crypto/heimdal/lib/gssapi/krb5/ |
H A D | inquire_context.c | 42 gss_OID * mech_type, in _gsskrb5_inquire_context() argument 85 if (mech_type) in _gsskrb5_inquire_context() 86 *mech_type = GSS_KRB5_MECHANISM; in _gsskrb5_inquire_context()
|
H A D | display_status.c | 146 const gss_OID mech_type, in _gsskrb5_display_status() argument 159 if (gss_oid_equal(mech_type, GSS_C_NO_OID) == 0 && in _gsskrb5_display_status() 160 gss_oid_equal(mech_type, GSS_KRB5_MECHANISM) == 0) { in _gsskrb5_display_status()
|
/freebsd/crypto/heimdal/lib/gssapi/spnego/ |
H A D | compat.c | 200 add_mech_type(gss_OID mech_type, in add_mech_type() argument 207 if (gss_oid_equal(mech_type, GSS_SPNEGO_MECHANISM)) in add_mech_type() 211 gss_oid_equal(mech_type, &_gss_spnego_krb5_mechanism_oid_desc)) { in add_mech_type() 223 ret = der_get_oid(mech_type->elements, mech_type->length, &mech, NULL); in add_mech_type()
|