/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/mech/ |
H A D | inq_cred.c | 92 gss_OID_set mechs; local 160 &mechs)) || 164 &mechs))) || 168 &mechs)))) { 183 (void) gss_release_oid_set(minor_status, &mechs); 203 *mechanisms = mechs;
|
/illumos-gate/usr/src/lib/gss_mechs/mech_dh/backend/mech/ |
H A D | cred.c | 44 * the optional set of supported mechs and actual time left on the credential. 50 * set of mechs to NULL. 58 gss_OID_set desired_mechs, /* Set of desired mechs */ 61 gss_OID_set *mechs, /* The return set of mechs */ 75 if (mechs) 76 *mechs = GSS_C_NO_OID_SET; 123 * If mechs set it to the set that contains the appropriate 126 if (mechs && (*minor = __OID_to_OID_set(mechs, cnt 54 __dh_gss_acquire_cred(void *ctx, OM_uint32 *minor, gss_name_t principal, OM_uint32 expire_req, gss_OID_set desired_mechs, gss_cred_usage_t usage, gss_cred_id_t *cred, gss_OID_set *mechs, OM_uint32 *expire_rec ) argument [all...] |
/illumos-gate/usr/src/lib/libgss/ |
H A D | g_acquire_cred_with_pw.c | 107 gss_OID_set mechs; local 144 mechs = &default_OID_set; 150 mechs = desired_mechs; 152 if (mechs->count == 0) 164 for (i = 0; i < mechs->count; i++) { 168 &mechs->elements[i], 203 * setup the actual mechs output parameter
|
H A D | g_acquire_cred.c | 150 gss_OID_set mechs; local 181 mechs = &default_OID_set; 187 mechs = desired_mechs; 189 if (mechs->count == NULL) 201 for (i = 0; i < mechs->count; i++) { 204 &mechs->elements[i], 238 * setup the actual mechs output parameter
|
/illumos-gate/usr/src/lib/pam_modules/dhkeys/ |
H A D | dhkeys.c | 210 mechanism_t **mechs; local 263 if (mechs = __nis_get_mechanisms(FALSE)) { 265 for (mpp = mechs; *mpp; mpp++) { 287 __nis_release_mechanisms(mechs); 291 * No usable mechs found in security congifuration file thus 295 syslog(LOG_DEBUG, "pam_dhkeys: no valid mechs "
|
/illumos-gate/usr/src/cmd/mdb/common/modules/crypto/ |
H A D | impl.c | 357 prt_mechs(int count, crypto_mech_name_t *mechs) argument 365 (uintptr_t)((char *)mechs)) == -1) 371 mdb_printf("mechs[%d]=%-28s", i, name2); 373 mechs++;
|
/illumos-gate/usr/src/uts/common/inet/kssl/ |
H A D | kssl.c | 410 is_in_mechlist(char *name, crypto_mech_name_t *mechs, int count) argument 415 if (strncmp(name, mechs[i], CRYPTO_MAX_MECH_NAME) == 0) 435 crypto_mech_name_t *mechs; local 467 mechs = crypto_get_mech_list(&mech_count, KM_SLEEP); 468 if (mechs == NULL) 492 if (!is_in_mechlist(mc->name, mechs, mech_count)) { 535 crypto_free_mech_list(mechs, mech_count);
|
H A D | ksslioctl.c | 407 crypto_mech_name_t *mechs; local 437 mechs = crypto_get_mech_list(&mech_count, KM_SLEEP); 438 if (mechs != NULL) { 442 if (strncmp(SUN_CKM_RSA_X_509, mechs[i], 445 else if (strncmp(SUN_CKM_MD5_HMAC, mechs[i], 448 else if (strncmp(SUN_CKM_SHA1_HMAC, mechs[i], 451 else if (strncmp(SUN_CKM_RC4, mechs[i], 454 else if (strncmp(SUN_CKM_DES_CBC, mechs[i], 457 else if (strncmp(SUN_CKM_DES3_CBC, mechs[i], 460 else if (strncmp(SUN_CKM_AES_CBC, mechs[ [all...] |
/illumos-gate/usr/src/lib/libldap5/sources/ldap/common/ |
H A D | sasl.c | 649 const char *mechs, unsigned flags, 706 mechs, 648 nsldapi_sasl_do_bind( LDAP *ld, const char *dn, const char *mechs, unsigned flags, LDAP_SASL_INTERACT_PROC *callback, void *defaults, LDAPControl **sctrl, LDAPControl **cctrl ) argument
|
/illumos-gate/usr/src/cmd/keyserv/ |
H A D | chkey.c | 60 #define CURMECH mechs[mcount] 77 bool_t specmech = FALSE; /* Specific mechs requested */ 83 mechanism_t **mechs = NULL; /* List of DH mechanisms */ variable 161 if (mechs) { 207 assert(mechs && mechs[0]); 235 if (mechs) { 295 if (mechs) { 493 if (mechs) { 660 if (mechs) { [all...] |
H A D | keyserv.c | 145 mechanism_t **mechs; variable 351 for (i = 0; mechs[i]; i++) { 352 if ((AUTH_DES_COMPAT_CHK(mechs[i])) || 353 (mechs[i]->keylen < 0) || (mechs[i]->algtype < 0)) 355 create_cache_file(mechs[i]->keylen, mechs[i]->algtype,
|
H A D | setkey.c | 61 extern mechanism_t **mechs; 1845 * in the "list" of nis+ mechs so that the 192bit key always gets loaded so 1853 * Return ptr to mechs array on success, else NULL on memory errs. 1858 mechanism_t **mechs = __nis_get_mechanisms(FALSE); local 1863 if (mechs) { 1864 /* got some valid mechs and possibly the AUTH_DES compat one */ 1865 for (i = 0; mechs[i]; i++) { 1866 if (AUTH_DES_COMPAT_CHK(mechs[i])) 1867 return (mechs); 1874 if (mechs) [all...] |
/illumos-gate/usr/src/uts/common/crypto/core/ |
H A D | kcf_cryptoadm.c | 76 count_mechanisms(crypto_mech_name_t mechs[]) { argument 78 for (count = 0; mechs[count][0] != '\0'; ++count); 92 crypto_mech_name_t *mechs; member in struct:__anon4552 193 mech_count = count_mechanisms(p->mechs); 196 bcopy(p->mechs, mechsp, alloc_size);
|
/illumos-gate/usr/src/lib/libnsl/nis/gen/ |
H A D | nis_sec_mechs.c | 545 * 'mechs' is the "master" list of valid mechanisms from 550 static mechanism_t **mechs = NULL; local 554 mechanism_t **tmechs = NULL; /* temp mechs */ 555 mechanism_t **tmechs_no_dups = NULL; /* temp mechs sans dups */ 569 if (mechs) { 571 __nis_release_mechanisms(mechs); 575 mechs = mechs_no_dups = NULL; 619 mechs = tmechs; 626 return (mechs ? 629 (void **)mechs) 845 mechanism_t **mechs; /* array of mechanisms */ local 1002 static mfent_t **mechs = NULL; /* master mechs list */ local 1056 mfent_t **mechs = mf_get_mechs(); local [all...] |
/illumos-gate/usr/src/lib/gss_mechs/mech_spnego/mech/ |
H A D | spnego_mech.c | 390 * If the user did not specify a list of mechs, 392 * mechs for which creds are available. 402 * gss_acquire_creds will return the subset of mechs for 624 * Use the list of mechs included in the cred that we 1344 * Select the best match between the list of mechs 1375 * Input an OID set of mechs and output a string like so: 1495 * Select the best match between the list of mechs 1650 * If both mechs are kerb, we are done. 2742 * Can't use gss_indicate_mechs by itself to get available mechs for 2746 * all available mechs excep 2761 gss_OID_set mechs, goodmechs; local [all...] |
/illumos-gate/usr/src/uts/common/inet/ip/ |
H A D | spdsock.c | 3637 crypto_mech_name_t *mechs; local 3652 mechs = crypto_get_mech_list(&mech_count, KM_SLEEP); 3674 if (strncmp(alg->alg_mech_name, mechs[mech_idx], 3745 crypto_free_mech_list(mechs, mech_count);
|
H A D | spd.c | 5038 crypto_mech_name_t *mechs; local 5049 mechs = crypto_get_mech_list(&mech_count, KM_SLEEP); 5050 if (mechs == NULL) 5083 mechs[mech_idx], CRYPTO_MAX_MECH_NAME) == 0) 5122 crypto_free_mech_list(mechs, mech_count);
|