/macosx-10.10/Heimdal-398.1.2/lib/gssapi/mech/ |
H A D | gss_acquire_cred.c | 44 gss_OID_set mechs = desired_mechs; local 67 if (mechs) { 68 for (i = 0; i < mechs->count; i++) { 71 &mechs->elements[i], _gss_mech_oids, &t); 75 if (i == mechs->count) { 96 if (mechs == GSS_C_NO_OID_SET) 97 mechs = _gss_mech_oids; 101 for (i = 0; i < mechs->count; i++) { 104 m = __gss_get_mechanism(&mechs->elements[i]); 110 &mechs [all...] |
H A D | gss_iter_cred.c | 88 * Now that we reach the end of this mechs credentials, 115 gss_OID_set mechs; local 128 mechs = _gss_mech_oids; 142 for (i = 0; i < mechs->count; i++) { 144 if (mech && !gss_oid_equal(mech, &mechs->elements[i])) 147 m = __gss_get_mechanism(&mechs->elements[i]);
|
H A D | gss_acquire_cred_ext.c | 130 gss_OID_set_desc set, *mechs; local 149 mechs = &set; 151 mechs = _gss_mech_oids; 166 for (i = 0; i < mechs->count; i++) { 172 m = __gss_get_mechanism(&mechs->elements[i]); 178 &mechs->elements[i], &mn);
|
H A D | gss_mo.c | 496 gss_OID_set *mechs) 503 major = gss_create_empty_oid_set(minor_status, mechs); 531 major = gss_add_oid_set_member(minor_status, &mi->gm_mech_oid, mechs); 492 gss_indicate_mechs_by_attrs(OM_uint32 * minor_status, gss_const_OID_set desired_mech_attrs, gss_const_OID_set except_mech_attrs, gss_const_OID_set critical_mech_attrs, gss_OID_set *mechs) argument
|
/macosx-10.10/tcl-105/tcl_ext/tcllib/tcllib/examples/sasl/ |
H A D | saslclient.tcl | 82 variable mechs 85 if {![info exists mechs]} {set mechs {}} 96 set mechs {} 106 puts "SASL mechanisms: $mechs\ncan do $supported" 107 foreach mech $mechs { 122 set mechs [concat $mechs [split $line]] 196 variable mechs ; set mechs {} [all...] |
/macosx-10.10/passwordserver_sasl-193/cyrus_sasl/java/Test/ |
H A D | jimtest.java | 80 String mechs[]; 90 mechs = parsecapabilities(line); 101 return mechs; 104 static SaslClient start_sasl(String[] mechs, String remoteserver, String localaddr, int minssf, int maxssf) argument 116 conn = Sasl.createSaslClient(mechs, 230 String[] mechs; 286 mechs = askcapabilities(); 289 mechs = new String[1]; 290 mechs[0]=onemech; 293 conn = start_sasl(mechs,servernam [all...] |
/macosx-10.10/Heimdal-398.1.2/lib/hx509/ |
H A D | ks_p11.c | 64 } mechs; member in struct:p11_slot 260 slot->mechs.list = calloc(i, sizeof(slot->mechs.list[0])); 261 if (slot->mechs.list == NULL) { 266 slot->mechs.num = i; 267 ret = P11FUNC(p, GetMechanismList, (slot->id, slot->mechs.list, &i)); 274 assert(i == slot->mechs.num); 276 slot->mechs.infos = calloc(i, sizeof(*slot->mechs.infos)); 277 if (slot->mechs [all...] |
H A D | softp11.c | 1402 const CK_MECHANISM_TYPE *mechs, int mechs_len, 1421 if (mechs[i] == pMechanism->mechanism) 1465 CK_MECHANISM_TYPE mechs[] = { CKM_RSA_PKCS }; local 1478 mechs, sizeof(mechs)/sizeof(mechs[0]), 1598 CK_MECHANISM_TYPE mechs[] = { CKM_RSA_PKCS }; local 1611 mechs, sizeof(mechs)/sizeof(mechs[ 1401 commonInit(CK_ATTRIBUTE *attr_match, int attr_match_len, const CK_MECHANISM_TYPE *mechs, int mechs_len, const CK_MECHANISM_PTR pMechanism, CK_OBJECT_HANDLE hKey, struct st_object **o) argument [all...] |
/macosx-10.10/OpenSSH-189/openssh/ |
H A D | auth2-gss.c | 98 int mechs; local 108 mechs = packet_get_int(); 109 if (mechs == 0) { 116 mechs--; 133 } while (mechs > 0 && !present);
|
H A D | gss-genr.c | 100 char *mechs, *encoded; local 161 mechs = xmalloc(buffer_len(&buf)); 162 buffer_get(&buf, mechs, buffer_len(&buf)); 165 if (strlen(mechs) == 0) { 166 xfree(mechs); 167 mechs = NULL; 170 return (mechs);
|
H A D | kexgsss.c | 78 char *mechs; local 87 if ((mechs = ssh_gssapi_server_mechanisms())) 88 xfree(mechs);
|
/macosx-10.10/Heimdal-398.1.2/lib/gssapi/ |
H A D | test_gss_fuzzer.c | 339 gss_OID_set mechs = GSS_C_NULL_OID_SET; local 358 maj_stat = gss_create_empty_oid_set(&min_stat, &mechs); 363 maj_stat = gss_add_oid_set_member(&min_stat, credoid, &mechs); 369 maj_stat = gss_acquire_cred(&min_stat, cname, 0, mechs, 375 if (mechs != GSS_C_NULL_OID_SET) 376 gss_release_oid_set(&min_stat, &mechs);
|
H A D | gsstool.c | 94 gss_OID_set mechs; local 98 maj_stat = gss_indicate_mechs(&min_stat, &mechs); 117 for (i = 0; i < mechs->count; i++) { 121 maj_stat = gss_oid_to_str(&min_stat, &mechs->elements[i], &str); 129 name = gss_oid_to_name(&mechs->elements[i]); 135 maj_stat = gss_inquire_saslname_for_mech(&min_stat, &mechs->elements[i], &str, NULL, NULL); 148 gss_mo_list(&mechs->elements[i], &options); 154 maj_stat = gss_mo_name(&mechs->elements[i], &options->elements[n], &oname); 162 ena = gss_mo_get(&mechs->elements[i], &options->elements[n], NULL); 170 gss_release_oid_set(&min_stat, &mechs); [all...] |
H A D | test_context.c | 814 gss_OID_set mechs = GSS_C_NULL_OID_SET; local 817 maj_stat = gss_create_empty_oid_set(&min_stat, &mechs); 822 maj_stat = gss_add_oid_set_member(&min_stat, credoid, &mechs); 828 maj_stat = gss_acquire_cred(&min_stat, cname, 0, mechs, 834 if (mechs != GSS_C_NULL_OID_SET) 835 gss_release_oid_set(&min_stat, &mechs);
|
/macosx-10.10/OpenLDAP-499.27/OpenLDAP/libraries/libldap/ |
H A D | sasl.c | 356 /* we need to query the server for supported mechs anyway */ 416 LDAP_CONST char *mechs, 448 if( mechs == NULL || *mechs == '\0' ) { 449 mechs = ld->ld_options.ldo_def_sasl_mech; 453 if( mechs == NULL || *mechs == '\0' ) { 466 mechs = smechs; 471 mechs, 0, 0 ); 474 rc = ldap_int_sasl_bind( ld, dn, mechs, 413 ldap_sasl_interactive_bind( LDAP *ld, LDAP_CONST char *dn, LDAP_CONST char *mechs, LDAPControl **serverControls, LDAPControl **clientControls, unsigned flags, LDAP_SASL_INTERACT_PROC *interact, void *defaults, LDAPMessage *result, const char **rmech, int *msgid ) argument 496 ldap_sasl_interactive_bind_s( LDAP *ld, LDAP_CONST char *dn, LDAP_CONST char *mechs, LDAPControl **serverControls, LDAPControl **clientControls, unsigned flags, LDAP_SASL_INTERACT_PROC *interact, void *defaults ) argument [all...] |
H A D | cyrus.c | 394 const char *mechs, 413 mechs ? mechs : "<null>", 0, 0 ); 543 mechs, 1261 const char *mechs, 391 ldap_int_sasl_bind( LDAP *ld, const char *dn, const char *mechs, LDAPControl **sctrls, LDAPControl **cctrls, unsigned flags, LDAP_SASL_INTERACT_PROC *interact, void *defaults, LDAPMessage *result, const char **rmech, int *msgid ) argument 1258 ldap_int_sasl_bind( LDAP *ld, const char *dn, const char *mechs, LDAPControl **sctrls, LDAPControl **cctrls, unsigned flags, LDAP_SASL_INTERACT_PROC *interact, void *defaults, LDAPMessage *result, const char **rmech, int *msgid ) argument
|
/macosx-10.10/Heimdal-398.1.2/lib/gssapi/spnego/ |
H A D | context_stubs.c | 36 spnego_supported_mechs(OM_uint32 *minor_status, gss_OID_set *mechs) argument 46 ret = gss_create_empty_oid_set(minor_status, mechs); 56 ret = gss_add_oid_set_member(minor_status, &m->elements[i], mechs); 59 gss_release_oid_set(&junk, mechs); 566 gss_OID_set mechs, names, n; local 572 ret = spnego_supported_mechs(minor_status, &mechs); 580 for (i = 0; i < mechs->count; i++) { 582 &mechs->elements[i], 598 gss_release_oid_set(&junk, &mechs);
|
/macosx-10.10/passwordserver_sasl-193/cyrus_sasl/lib/ |
H A D | client.c | 497 sasl_seterror(*pconn, 0, "No worthy mechs found"); 575 char *list, *listp, *mechs; local 581 mechs = _sasl_sort_mechlist(utils, unordered_mechs); // APPLE: presort mechlist to match plugin order mech_compare(), 15938147 583 if (mechs == NULL || mechs[0] == '\0') 586 mechslen = strlen(mechs); 606 if (!ismechchar(mechs[i])) { 607 const char *mechp = &mechs[start]; 632 if (mechs) 633 utils->free(mechs); [all...] |
/macosx-10.10/KerberosHelper-151/Source/ |
H A D | KerberosHelper.c | 1669 CFMutableDictionaryRef dict = NULL, mechs = NULL; local 1721 mechs = CFDictionaryCreateMutable(alloc, mechtypes->len, 1723 if (mechs == NULL) 1726 CFDictionaryAddValue(dict, kSPNEGONegTokenInitMechs, mechs); 1727 CFRelease(mechs); /* dict have a ref */ 1742 CFDictionaryAddValue(mechs, s, empty); 1765 if (mechs) { 1766 if (CFDictionaryGetValue(mechs, kGSSAPIMechSupportsAppleLKDC)) 1787 CFMutableDictionaryRef mechs; local 1793 mechs [all...] |
H A D | na.c | 114 CFArrayRef mechs; member in struct:NAHData 292 } mechs[] = { variable in typeref:struct:__anon2703 310 for (n = 0; n < sizeof(mechs) / sizeof(mechs[0]); n++) { 311 if (CFStringCompare(mechs[n].name, name, kCFCompareCaseInsensitive) == kCFCompareEqualTo) 312 return mechs[n].mech; 325 for (n = 0; n < sizeof(mechs) / sizeof(mechs[0]); n++) { 326 if (CFStringCompare(mechs[n].name, name, kCFCompareCaseInsensitive) == kCFCompareEqualTo) 327 return mechs[ [all...] |
/macosx-10.10/curl-83.1.2/curl/tests/ |
H A D | ftpserver.pl | 743 my $mechs; 750 if(!$mechs) { 751 $mechs = "$am"; 754 $mechs .= " $am"; 758 if($mechs) { 759 push @data, "AUTH $mechs"; 1623 my $mechs; 1632 if(!$mechs) { 1633 $mechs = "$am"; 1636 $mechs [all...] |
/macosx-10.10/Heimdal-398.1.2/appl/ftp/ftp/ |
H A D | security.c | 90 static struct sec_server_mech *mechs[] = { variable in typeref:struct:sec_server_mech 101 static struct sec_client_mech *mechs[] = { variable in typeref:struct:sec_client_mech 437 for(i = 0; (mech = mechs[i]) != NULL; i++){ 812 for(m = mechs; *m && (*m)->name; m++) {
|
/macosx-10.10/passwordserver_sasl-193/cyrus_sasl/plugins/ |
H A D | gs2.c | 343 gss_OID_set_desc mechs; local 379 mechs.count = 1; 380 mechs.elements = (gss_OID)text->mechanism; 386 &mechs, 1525 gss_OID_set_desc mechs; local 1529 mechs.count = 1; 1530 mechs.elements = (gss_OID)text->mechanism; 1599 &mechs, 1655 &mechs, 1687 &mechs, [all...] |
/macosx-10.10/curl-83.1.2/curl/lib/ |
H A D | security.c | 112 static const struct Curl_sec_client_mech * const mechs[] = { variable 493 for(mech = mechs; (*mech); ++mech) {
|
/macosx-10.10/Heimdal-398.1.2/lib/gssapi/cf/ |
H A D | item.c | 551 gss_OID_set mechs = GSS_C_NO_OID_SET; local 572 maj_stat = gss_create_empty_oid_set(&min_stat, &mechs); 579 maj_stat = gss_add_oid_set_member(&min_stat, mechoid, &mechs); 582 gss_release_oid_set(&min_stat, &mechs); 587 maj_stat = gss_acquire_cred(&min_stat, name, GSS_C_INDEFINITE, mechs, 589 gss_release_oid_set(&min_stat, &mechs);
|