Home
last modified time | relevance | path

Searched refs:mechlist (Results 1 – 11 of 11) sorted by relevance

/titanic_41/usr/src/lib/pkcs11/libpkcs11/common/
H A DmetaMechManager.c61 static mechlist_t *mechlist; variable
86 mechlist = calloc(INITIAL_MECHLIST_SIZE, sizeof (mechlist_t)); in meta_mechManager_initialize()
87 if (mechlist == NULL) in meta_mechManager_initialize()
109 free(mechlist[i].slots); in meta_mechManager_finalize()
112 free(mechlist); in meta_mechManager_finalize()
113 mechlist = NULL; in meta_mechManager_finalize()
164 mechlist[i].type)) { in meta_mechManager_get_mechs()
171 if (!mechlist[i].slots[j].initialized) in meta_mechManager_get_mechs()
174 if (mechlist[i].slots[j].supported) { in meta_mechManager_get_mechs()
184 list[num_found - 1] = mechlist[i].type; in meta_mechManager_get_mechs()
[all …]
/titanic_41/usr/src/cmd/keyserv/
H A Dkeylogin.c331 mechanism_t **mechlist; in main() local
354 if (mechlist = __nis_get_mechanisms(FALSE)) { in main()
355 while (mechlist[i]) { in main()
358 if (AUTH_DES_COMPAT_CHK(mechlist[i])) { in main()
364 if (VALID_ALIAS(mechlist[i]->alias)) in main()
365 alias = mechlist[i]->alias; in main()
369 if (getsecretkey_g(fullname, mechlist[i]->keylen, in main()
370 mechlist[i]->algtype, secret, in main()
371 (((mechlist[i]->keylen / 7) + in main()
389 mechlist[i]->keylen, NULL, 0, in main()
[all …]
/titanic_41/usr/src/lib/libsasl/lib/
H A Dserver.c121 static mech_list_t *mechlist = NULL; /* global var which holds the list */ variable
164 mech_list_t *mechlist = gctx == NULL ? NULL : gctx->mechlist; in sasl_setpass() local
166 if (!gctx->sasl_server_active || !mechlist) return SASL_NOTINIT; in sasl_setpass()
168 if (!_sasl_server_active || !mechlist) return SASL_NOTINIT; in sasl_setpass()
198 for (m = mechlist->mech_list; m; m = m->next) { in sasl_setpass()
306 mech_list_t *mechlist = gctx->mechlist; local
313 mechlist->mutex = sasl_MUTEX_ALLOC();
314 if(!mechlist->mutex) return SASL_FAIL;
327 mechlist->utils = newutils;
328 mechlist->mech_list=NULL;
[all …]
H A Dclient.c734 const char *mechlist, argument
761 if (mechlist == NULL)
793 list_len = strlen(mechlist);
798 while ((pos<list_len) && (isalnum((unsigned char)mechlist[pos])
799 || mechlist[pos] == '_'
800 || mechlist[pos] == '-')) {
801 name[place]=mechlist[pos];
806 while(pos<list_len && (isalnum((unsigned char)mechlist[pos])
807 || mechlist[pos] == '_'
808 || mechlist[pos] == '-'))
H A Dsaslint.h352 mech_list_t *mechlist; member
/titanic_41/usr/src/cmd/cmd-crypto/cryptoadm/
H A Dadm_metaslot.c58 mechlist_t *mechlist) in list_metaslot_info() argument
240 if (mechlist == NULL) { in list_metaslot_info()
268 rc = convert_mechlist(&pmech_list, &mech_count, mechlist); in list_metaslot_info()
360 disable_metaslot(mechlist_t *mechlist, boolean_t allflag, in disable_metaslot() argument
373 if ((mechlist == NULL) && (!auto_key_migrate_flag) && (!allflag)) { in disable_metaslot()
384 if ((mechlist == NULL) && (!allflag)) { in disable_metaslot()
403 rc = update_policylist(puent, mechlist, DELETE_MODE); in disable_metaslot()
411 rc = update_policylist(puent, mechlist, ADD_MODE); in disable_metaslot()
449 mechlist_t *mechlist, boolean_t allflag, boolean_t auto_key_migrate_flag) in enable_metaslot() argument
479 if (mechlist) { in enable_metaslot()
[all …]
H A Dcryptoadm.h69 typedef struct mechlist { struct
71 struct mechlist *next; argument
/titanic_41/usr/src/cmd/sendmail/src/
H A Dsrvrsmtp.c613 char *mechlist; local
866 mechlist = NULL;
907 n_mechs = saslmechs(conn, &mechlist);
1680 if (iteminlist(p, mechlist, " ") == NULL)
1997 mechlist = NULL;
2000 &mechlist);
2259 if (sasl_ok && mechlist != NULL && *mechlist != '\0')
2260 message("250-AUTH %s", mechlist);
4609 saslmechs(conn, mechlist) in saslmechs() argument
4611 char **mechlist;
[all …]
/titanic_41/usr/src/cmd/cmd-crypto/scripts/
H A Di.kcfconf33 # <provider_name>:supportedlist=<mechlist>
36 # <mechlist> ::= <mechanism>{,<mechanism>}*
/titanic_41/usr/src/lib/libsasl/include/
H A Dsasl.h909 const char *mechlist,
H A Dsaslplug.h684 const char **mechlist);