Home
last modified time | relevance | path

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

/illumos-gate/usr/src/lib/libnsl/nis/gen/
H A Dnis_sec_mechs.c88 char *mechname; member
261 if (mp->mechname) in sf_free_mech_ent()
470 if (!mp->mechname && !tp->mechname) in equal_entries()
473 if (!mp->mechname || !tp->mechname) in equal_entries()
475 if (strcmp(mp->mechname, tp->mechname) != 0) in equal_entries()
497 tp->mechname = mp->mechname ? strdup(mp->mechname) : NULL; in sf_copy_mech_ent()
676 (!strcasecmp(mechname, mp->mechname))) { in __nis_translate_mechanism()
724 (strcasecmp(mechname, mp->mechname) == 0)) { in __nis_mechname2alias()
960 tp->mechname = mp->mechname ? strdup(mp->mechname) : NULL; in mf_copy_ent()
1063 if (mp->mechname && strcasecmp(mechname, mp->mechname) == 0) { in mechfile_name2lib()
[all …]
/illumos-gate/usr/src/test/crypto-tests/tests/hmac/
H A Dmain.c21 extern char *mechname;
44 .mechname = mechname, in main()
H A Dhmac_sha1.c205 char *mechname = SUN_CKM_SHA1_HMAC; variable
/illumos-gate/usr/src/uts/common/crypto/core/
H A Dkcf_mech_tabs.c147 kcf_mech_hash_find(char *mechname) in kcf_mech_hash_find() argument
153 if (mod_hash_find(kcf_mech_hash, (mod_hash_key_t)mechname, &hv) == 0) { in kcf_mech_hash_find()
306 kcf_create_mech_entry(kcf_ops_class_t class, char *mechname) in kcf_create_mech_entry() argument
315 if ((mechname == NULL) || (mechname[0] == 0)) in kcf_create_mech_entry()
322 mt = kcf_mech_hash_find(mechname); in kcf_create_mech_entry()
336 (void) strncpy(me_tab[i].me_name, mechname, in kcf_create_mech_entry()
829 crypto_mech2id_common(char *mechname, boolean_t load_module) in crypto_mech2id_common() argument
840 mt = kcf_mech_hash_find(mechname); in crypto_mech2id_common()
864 if (get_sw_provider_for_mech(mechname, &module_name) in crypto_mech2id_common()
/illumos-gate/usr/src/lib/libnsl/include/rpcsvc/
H A Dnis_dhext.h74 char *mechname; member
94 #define NIS_SEC_CF_GSS_MECH(mp) ((mp)->mechname != NULL)
110 #define VALID_MECH_ENTRY(mp) (VALID_GSS_MECH((mp)->mechname) && \
/illumos-gate/usr/src/cmd/keyserv/
H A Dchkey_common.c467 ldap_attr_mod(ns_ldap_entry_t *entry, char *mechname, char *public, in ldap_attr_mod() argument
483 mechfilter = (char *)malloc(strlen(mechname) + 3); in ldap_attr_mod()
486 sprintf(mechfilter, "{%s}", mechname); in ldap_attr_mod()
719 ldap_update(char *mechname, char *netname, char *public, char *crypt, in ldap_update() argument
833 pkeyatval = (char *)malloc(strlen(mechname) + strlen(public) + 3); in ldap_update()
841 sprintf(pkeyatval, "{%s}%s", mechname, public); in ldap_update()
842 ckeyatval = (char *)malloc(strlen(mechname) + strlen(crypt) + 3); in ldap_update()
851 sprintf(ckeyatval, "{%s}%s", mechname, crypt); in ldap_update()
940 if (!ldap_attr_mod(&res->entry[0], mechname, in ldap_update()
H A Dchkey.c1005 if (realmechlist[i]->mechname) in addmechtolist()
1006 mechs[numspecmech - 1]->mechname = in addmechtolist()
1007 strdup(realmechlist[i]->mechname); in addmechtolist()
H A Dsetkey.c1876 desmech->mechname = NULL; in getmechwrap()
1951 if ((*mechpp)->mechname != NULL && in init_mechs()
1952 strncmp((*mechpp)->mechname, DHMECHSTR, in init_mechs()
1974 if ((*mechpp)->mechname == NULL && (*mechpp)->alias != NULL && in init_mechs()
/illumos-gate/usr/src/test/crypto-tests/tests/common/
H A Dcryptotest_kcf.c39 char *mechname; member
109 op->mechname = arg->mechname; in cryptotest_init()
146 get_number.pn_mechanism_string = op->mechname; in get_mech_info()
147 get_number.pn_mechanism_len = strlen(op->mechname) + 1; in get_mech_info()
152 op->mechname); in get_mech_info()
H A Dcryptotest_pkcs.c38 char *mechname; member
75 op->mechname = arg->mechname; in cryptotest_init()
113 rv = pkcs11_str2mech(op->mechname, &op->mech); in get_mech_info()
117 op->mechname); in get_mech_info()
H A Dcryptotest.h45 char *mechname; member
H A Dtestfuncs.c322 (void) fprintf(stderr, "%s: run %d\n", args->mechname, ++i); in run_test()
/illumos-gate/usr/src/cmd/cmd-crypto/cryptoadm/
H A Dadm_util.c89 is_in_list(char *mechname, mechlist_t *plist) in is_in_list() argument
93 if (mechname == NULL) { in is_in_list()
98 if (strcmp(plist->name, mechname) == 0) { in is_in_list()
H A Dadm_uef.c1099 is_in_policylist(midstr_t mechname, umechlist_t *plist) in is_in_policylist() argument
1103 if (mechname == NULL) { in is_in_policylist()
1108 if (strcmp(plist->name, mechname) == 0) { in is_in_policylist()
/illumos-gate/usr/src/test/crypto-tests/tests/modes/aes/cmac/
H A Daes_cmac.c40 .mechname = SUN_CKM_AES_CMAC, in main()
/illumos-gate/usr/src/test/crypto-tests/tests/modes/aes/ecb/
H A Daes_ecb.c39 .mechname = SUN_CKM_AES_ECB in main()
/illumos-gate/usr/src/test/crypto-tests/tests/modes/aes/cbc_pad/
H A Daes_cbc_pad.c46 .mechname = CBC_PAD, in main()
/illumos-gate/usr/src/test/crypto-tests/tests/modes/aes/cbc/
H A Daes_cbc.c38 .mechname = SUN_CKM_AES_CBC, in main()
/illumos-gate/usr/src/test/crypto-tests/tests/modes/aes/ctr/
H A Daes_ctr.c48 .mechname = SUN_CKM_AES_CTR, in main()
/illumos-gate/usr/src/test/crypto-tests/tests/modes/aes/gcm/
H A Daes_gcm.c46 .mechname = SUN_CKM_AES_GCM, in main()
/illumos-gate/usr/src/test/crypto-tests/tests/modes/aes/ccm/
H A Daes_ccm.c46 .mechname = SUN_CKM_AES_CCM, in main()
/illumos-gate/usr/src/uts/common/crypto/api/
H A Dkcf_miscapi.c83 crypto_mech2id(const char *mechname) in crypto_mech2id() argument
85 return (crypto_mech2id_common((char *)mechname, B_TRUE)); in crypto_mech2id()
/illumos-gate/usr/src/test/crypto-tests/tests/digest/
H A Dparser_runner.c317 .mechname = mech_name, in digest_runner()
/illumos-gate/usr/src/lib/libsasl/lib/
H A Dserver.c335 static int load_mech(_sasl_global_context_t *gctx, const char *mechname) argument
352 len = strlen(mechname);
358 !strncasecmp(mlist, mechname, len))
/illumos-gate/usr/src/lib/libcryptoutil/
H A DREADME157 extern umechlist_t *create_umech(char *mechname);