Home
last modified time | relevance | path

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

/freebsd-12-stable/crypto/heimdal/lib/gssapi/mech/
Dgss_acquire_cred.c42 gss_OID_set mechs = desired_mechs; in gss_acquire_cred() local
65 if (mechs) { in gss_acquire_cred()
66 for (i = 0; i < mechs->count; i++) { in gss_acquire_cred()
69 &mechs->elements[i], _gss_mech_oids, &t); in gss_acquire_cred()
73 if (i == mechs->count) { in gss_acquire_cred()
95 if (mechs == GSS_C_NO_OID_SET) in gss_acquire_cred()
96 mechs = _gss_mech_oids; in gss_acquire_cred()
100 for (i = 0; i < mechs->count; i++) { in gss_acquire_cred()
103 m = __gss_get_mechanism(&mechs->elements[i]); in gss_acquire_cred()
109 &mechs->elements[i], &mn); in gss_acquire_cred()
[all …]
Dgss_acquire_cred_ext.c121 gss_OID_set_desc set, *mechs; in _gss_acquire_cred_ext() local
140 mechs = &set; in _gss_acquire_cred_ext()
142 mechs = _gss_mech_oids; in _gss_acquire_cred_ext()
152 for (i = 0; i < mechs->count; i++) { in _gss_acquire_cred_ext()
157 m = __gss_get_mechanism(&mechs->elements[i]); in _gss_acquire_cred_ext()
163 &mechs->elements[i], &mn); in _gss_acquire_cred_ext()
Dgss_mo.c450 gss_OID_set *mechs) in gss_indicate_mechs_by_attrs() argument
457 major = gss_create_empty_oid_set(minor_status, mechs); in gss_indicate_mechs_by_attrs()
485 major = gss_add_oid_set_member(minor_status, &mi->gm_mech_oid, mechs); in gss_indicate_mechs_by_attrs()
/freebsd-12-stable/lib/libgssapi/
Dgss_acquire_cred.c50 gss_OID_set mechs = desired_mechs; in gss_acquire_cred() local
74 if (mechs) { in gss_acquire_cred()
75 for (i = 0; i < mechs->count; i++) { in gss_acquire_cred()
78 &mechs->elements[i], _gss_mech_oids, &t); in gss_acquire_cred()
82 if (i == mechs->count) { in gss_acquire_cred()
87 mechs = _gss_mech_oids; in gss_acquire_cred()
108 for (i = 0; i < mechs->count; i++) { in gss_acquire_cred()
109 m = _gss_find_mech_switch(&mechs->elements[i]); in gss_acquire_cred()
115 &mechs->elements[i], &mn); in gss_acquire_cred()
130 set.elements = &mechs->elements[i]; in gss_acquire_cred()
/freebsd-12-stable/tools/regression/rpcsec_gss/
Drpctest.c90 const char **mechs; in test_client() local
115 mechs = rpc_gss_get_mechanisms(); in test_client()
117 while (*mechs) { in test_client()
123 *mechs, in test_client()
130 mechs++; in test_client()
286 const char **mechs; in test_server() local
301 mechs = rpc_gss_get_mechanisms(); in test_server()
302 while (*mechs) { in test_server()
303 if (!rpc_gss_set_svc_name(principal, *mechs, GSS_C_INDEFINITE, in test_server()
309 principal, *mechs, in test_server()
[all …]
/freebsd-12-stable/crypto/heimdal/lib/hx509/
Dks_p11.c60 } mechs; member
283 slot->mechs.list = calloc(i, sizeof(slot->mechs.list[0])); in p11_mech_info()
284 if (slot->mechs.list == NULL) { in p11_mech_info()
289 slot->mechs.num = i; in p11_mech_info()
290 ret = P11FUNC(p, GetMechanismList, (slot->id, slot->mechs.list, &i)); in p11_mech_info()
297 assert(i == slot->mechs.num); in p11_mech_info()
299 slot->mechs.infos = calloc(i, sizeof(*slot->mechs.infos)); in p11_mech_info()
300 if (slot->mechs.list == NULL) { in p11_mech_info()
306 for (i = 0; i < slot->mechs.num; i++) { in p11_mech_info()
307 slot->mechs.infos[i] = calloc(1, sizeof(*(slot->mechs.infos[0]))); in p11_mech_info()
[all …]
Dsoftp11.c1406 const CK_MECHANISM_TYPE *mechs, int mechs_len, in commonInit() argument
1425 if (mechs[i] == pMechanism->mechanism) in commonInit()
1469 CK_MECHANISM_TYPE mechs[] = { CKM_RSA_PKCS }; in C_SignInit() local
1482 mechs, sizeof(mechs)/sizeof(mechs[0]), in C_SignInit()
1602 CK_MECHANISM_TYPE mechs[] = { CKM_RSA_PKCS }; in C_VerifyInit() local
1615 mechs, sizeof(mechs)/sizeof(mechs[0]), in C_VerifyInit()
DChangeLog1605 * ks_p11.c: save the mechs supported when initing the token, print
/freebsd-12-stable/lib/librpcsec_gss/
Drpcsec_gss_conf.c60 static struct mech_info_list mechs = SLIST_HEAD_INITIALIZER(mechs); variable
189 if (SLIST_FIRST(&mechs)) in _rpc_gss_load_mech()
222 SLIST_INSERT_HEAD(&mechs, info, link); in _rpc_gss_load_mech()
229 SLIST_FOREACH(info, &mechs, link) { in _rpc_gss_load_mech()
280 SLIST_FOREACH(minfo, &mechs, link) { in _rpc_gss_load_qop()
303 SLIST_FOREACH(info, &mechs, link) { in rpc_gss_mech_to_oid()
319 SLIST_FOREACH(info, &mechs, link) { in rpc_gss_oid_to_mech()
380 SLIST_FOREACH(info, &mechs, link) { in rpc_gss_get_mech_info()
414 SLIST_FOREACH(info, &mechs, link) in rpc_gss_is_installed()
/freebsd-12-stable/crypto/heimdal/lib/gssapi/spnego/
Dcred_stubs.c72 gss_OID_set mechs; in _gss_spnego_acquire_cred() local
84 ret = gss_indicate_mechs(minor_status, &mechs); in _gss_spnego_acquire_cred()
91 actual_desired_mechs.count = mechs->count; in _gss_spnego_acquire_cred()
100 for (i = 0, j = 0; i < mechs->count; i++) { in _gss_spnego_acquire_cred()
101 if (gss_oid_equal(&mechs->elements[i], GSS_SPNEGO_MECHANISM)) in _gss_spnego_acquire_cred()
104 actual_desired_mechs.elements[j] = mechs->elements[i]; in _gss_spnego_acquire_cred()
119 gss_release_oid_set(&tmp, &mechs); in _gss_spnego_acquire_cred()
Dcontext_stubs.c36 spnego_supported_mechs(OM_uint32 *minor_status, gss_OID_set *mechs) in spnego_supported_mechs() argument
46 ret = gss_create_empty_oid_set(minor_status, mechs); in spnego_supported_mechs()
56 ret = gss_add_oid_set_member(minor_status, &m->elements[i], mechs); in spnego_supported_mechs()
59 gss_release_oid_set(&junk, mechs); in spnego_supported_mechs()
566 gss_OID_set mechs, names, n; in _gss_spnego_inquire_names_for_mech() local
572 ret = spnego_supported_mechs(minor_status, &mechs); in _gss_spnego_inquire_names_for_mech()
580 for (i = 0; i < mechs->count; i++) { in _gss_spnego_inquire_names_for_mech()
582 &mechs->elements[i], in _gss_spnego_inquire_names_for_mech()
598 gss_release_oid_set(&junk, &mechs); in _gss_spnego_inquire_names_for_mech()
Daccept_sec_context.c320 gss_OID_set mechs; in select_mech() local
348 ret = gss_indicate_mechs(&junk, &mechs); in select_mech()
352 for (i = 0; i < mechs->count; i++) in select_mech()
353 if (gss_oid_equal(&mechs->elements[i], oidp)) in select_mech()
356 if (i == mechs->count) { in select_mech()
357 gss_release_oid_set(&junk, &mechs); in select_mech()
360 gss_release_oid_set(&junk, &mechs); in select_mech()
/freebsd-12-stable/crypto/heimdal/lib/gssapi/
Dgsstool.c78 gss_OID_set mechs; in supported_mechanisms() local
82 maj_stat = gss_indicate_mechs(&min_stat, &mechs); in supported_mechanisms()
98 for (i = 0; i < mechs->count; i++) { in supported_mechanisms()
101 maj_stat = gss_oid_to_str(&min_stat, &mechs->elements[i], &str); in supported_mechanisms()
110 &mechs->elements[i], in supported_mechanisms()
127 gss_release_oid_set(&min_stat, &mechs); in supported_mechanisms()
Dgss-commands.in41 help = "Print the attributes for mechs"
DChangeLog81 everything except other stackable mechs
796 supported mechs list and make sure we don't select that for the
1323 * mech/gss_set_cred_option.c (gss_set_cred_option): laod mechs
1362 NO_OID_SET, there is a need to load the mechs, so always do that.
/freebsd-12-stable/crypto/openssh/
Dauth2-gss.c69 u_int mechs; in userauth_gssapi() local
74 if ((r = sshpkt_get_u32(ssh, &mechs)) != 0) in userauth_gssapi()
77 if (mechs == 0) { in userauth_gssapi()
83 mechs--; in userauth_gssapi()
99 } while (mechs > 0 && !present); in userauth_gssapi()
Dsshd.c2237 gss_OID_set mechs; local
2239 gss_indicate_mechs(&minor_status, &mechs);
2240 gss_release_oid_set(&minor_status, &mechs);
/freebsd-12-stable/sys/kgssapi/
Dgsstest.c887 const char **mechs; in gsstest_4() local
893 mechs = rpc_gss_get_mechanisms(); in gsstest_4()
894 while (*mechs) { in gsstest_4()
895 if (!rpc_gss_set_svc_name(principal, *mechs, GSS_C_INDEFINITE, in gsstest_4()
901 principal, *mechs, in gsstest_4()
904 mechs++; in gsstest_4()
/freebsd-12-stable/crypto/heimdal/appl/ftp/ftp/
Dsecurity.c90 static struct sec_server_mech *mechs[] = { variable
101 static struct sec_client_mech *mechs[] = { variable
437 for(i = 0; (mech = mechs[i]) != NULL; i++){ in auth()
812 for(m = mechs; *m && (*m)->name; m++) { in sec_login()
/freebsd-12-stable/crypto/heimdal/appl/ftp/ftpd/
Dsecurity.c90 static struct sec_server_mech *mechs[] = { variable
101 static struct sec_client_mech *mechs[] = { variable
437 for(i = 0; (mech = mechs[i]) != NULL; i++){ in auth()
812 for(m = mechs; *m && (*m)->name; m++) { in sec_login()
/freebsd-12-stable/sys/rpc/rpcsec_gss/
Drpcsec_gss_conf.c126 SLIST_FOREACH(info, &mechs, link) {
/freebsd-12-stable/crypto/heimdal/lib/gssapi/gssapi/
Dgssapi.h986 gss_OID_set *mechs);
/freebsd-12-stable/contrib/subversion/subversion/libsvn_ra_svn/
Dprotocol101 greeting: ( minver:number maxver:number mechs:list ( cap:word ... ) )
104 versions supported by the server. mechs is present for historical
/freebsd-12-stable/crypto/heimdal/
DChangeLog.2005289 krb5_krbhst_info into the pre-auth mechs
/freebsd-12-stable/contrib/sendmail/
DRELEASE_NOTES570 lines are read because servers may use "AUTH mechs" and
571 "AUTH=mechs"). Otherwise a malicious server may exhaust