/freebsd/crypto/heimdal/lib/gssapi/mech/ |
H A D | gss_acquire_cred.c | 42 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 …]
|
H A D | gss_acquire_cred_ext.c | 121 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()
|
H A D | gss_mo.c | 450 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/lib/libgssapi/ |
H A D | gss_acquire_cred.c | 48 gss_OID_set mechs = desired_mechs; in gss_acquire_cred() local 72 if (mechs) { in gss_acquire_cred() 73 for (i = 0; i < mechs->count; i++) { in gss_acquire_cred() 76 &mechs->elements[i], _gss_mech_oids, &t); in gss_acquire_cred() 80 if (i == mechs->count) { in gss_acquire_cred() 85 mechs = _gss_mech_oids; in gss_acquire_cred() 106 for (i = 0; i < mechs->count; i++) { in gss_acquire_cred() 107 m = _gss_find_mech_switch(&mechs->elements[i]); in gss_acquire_cred() 113 &mechs->elements[i], &mn); in gss_acquire_cred() 128 set.elements = &mechs->elements[i]; in gss_acquire_cred()
|
/freebsd/tools/regression/rpcsec_gss/ |
H A D | rpctest.c | 88 const char **mechs; in test_client() local 113 mechs = rpc_gss_get_mechanisms(); in test_client() 115 while (*mechs) { in test_client() 121 *mechs, in test_client() 128 mechs++; in test_client() 284 const char **mechs; in test_server() local 299 mechs = rpc_gss_get_mechanisms(); in test_server() 300 while (*mechs) { in test_server() 301 if (!rpc_gss_set_svc_name(principal, *mechs, GSS_C_INDEFINITE, in test_server() 307 principal, *mechs, in test_server() [all …]
|
/freebsd/lib/librpcsec_gss/ |
H A D | rpcsec_gss_conf.c | 58 static struct mech_info_list mechs = SLIST_HEAD_INITIALIZER(mechs); variable 187 if (SLIST_FIRST(&mechs)) in _rpc_gss_load_mech() 220 SLIST_INSERT_HEAD(&mechs, info, link); in _rpc_gss_load_mech() 227 SLIST_FOREACH(info, &mechs, link) { in _rpc_gss_load_mech() 278 SLIST_FOREACH(minfo, &mechs, link) { in _rpc_gss_load_qop() 301 SLIST_FOREACH(info, &mechs, link) { in rpc_gss_mech_to_oid() 317 SLIST_FOREACH(info, &mechs, link) { in rpc_gss_oid_to_mech() 378 SLIST_FOREACH(info, &mechs, link) { in rpc_gss_get_mech_info() 412 SLIST_FOREACH(info, &mechs, link) in rpc_gss_is_installed()
|
/freebsd/crypto/heimdal/lib/hx509/ |
H A D | ks_p11.c | 60 } 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 …]
|
H A D | softp11.c | 1406 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()
|
H A D | ChangeLog | 1605 * ks_p11.c: save the mechs supported when initing the token, print
|
/freebsd/crypto/heimdal/lib/gssapi/spnego/ |
H A D | cred_stubs.c | 72 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()
|
H A D | context_stubs.c | 36 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()
|
H A D | accept_sec_context.c | 320 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/crypto/heimdal/lib/gssapi/ |
H A D | gsstool.c | 78 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()
|
H A D | gss-commands.in | 41 help = "Print the attributes for mechs"
|
H A D | ChangeLog | 81 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/crypto/openssh/ |
H A D | auth2-gss.c | 72 u_int mechs; in userauth_gssapi() local 77 if ((r = sshpkt_get_u32(ssh, &mechs)) != 0) in userauth_gssapi() 80 if (mechs == 0) { in userauth_gssapi() 83 } else if (mechs > SSH_GSSAPI_MAX_MECHS) { in userauth_gssapi() 84 logit_f("too many mechanisms requested %u > %u", mechs, in userauth_gssapi() 90 mechs--; in userauth_gssapi() 106 } while (mechs > 0 && !present); in userauth_gssapi()
|
H A D | sshd.c | 1871 gss_OID_set mechs; in main() local 1873 gss_indicate_mechs(&minor_status, &mechs); in main() 1874 gss_release_oid_set(&minor_status, &mechs); in main()
|
/freebsd/crypto/heimdal/appl/ftp/ftp/ |
H A D | security.c | 90 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/crypto/heimdal/appl/ftp/ftpd/ |
H A D | security.c | 90 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/sys/rpc/rpcsec_gss/ |
H A D | rpcsec_gss_conf.c | 123 SLIST_FOREACH(info, &mechs, link) {
|
/freebsd/crypto/heimdal/lib/gssapi/gssapi/ |
H A D | gssapi.h | 986 gss_OID_set *mechs);
|
/freebsd/crypto/heimdal/ |
H A D | ChangeLog.2005 | 289 krb5_krbhst_info into the pre-auth mechs
|
/freebsd/contrib/sendmail/ |
H A D | RELEASE_NOTES | 745 lines are read because servers may use "AUTH mechs" and 746 "AUTH=mechs"). Otherwise a malicious server may exhaust
|