/illumos-gate/usr/src/lib/libnsl/nis/gen/ |
H A D | nis_sec_mechs.c | 88 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 D | main.c | 21 extern char *mechname; 44 .mechname = mechname, in main()
|
H A D | hmac_sha1.c | 205 char *mechname = SUN_CKM_SHA1_HMAC; variable
|
/illumos-gate/usr/src/uts/common/crypto/core/ |
H A D | kcf_mech_tabs.c | 147 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 D | nis_dhext.h | 74 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 D | chkey_common.c | 467 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 D | chkey.c | 1005 if (realmechlist[i]->mechname) in addmechtolist() 1006 mechs[numspecmech - 1]->mechname = in addmechtolist() 1007 strdup(realmechlist[i]->mechname); in addmechtolist()
|
H A D | setkey.c | 1876 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 D | cryptotest_kcf.c | 39 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 D | cryptotest_pkcs.c | 38 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 D | cryptotest.h | 45 char *mechname; member
|
H A D | testfuncs.c | 322 (void) fprintf(stderr, "%s: run %d\n", args->mechname, ++i); in run_test()
|
/illumos-gate/usr/src/cmd/cmd-crypto/cryptoadm/ |
H A D | adm_util.c | 89 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 D | adm_uef.c | 1099 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 D | aes_cmac.c | 40 .mechname = SUN_CKM_AES_CMAC, in main()
|
/illumos-gate/usr/src/test/crypto-tests/tests/modes/aes/ecb/ |
H A D | aes_ecb.c | 39 .mechname = SUN_CKM_AES_ECB in main()
|
/illumos-gate/usr/src/test/crypto-tests/tests/modes/aes/cbc_pad/ |
H A D | aes_cbc_pad.c | 46 .mechname = CBC_PAD, in main()
|
/illumos-gate/usr/src/test/crypto-tests/tests/modes/aes/cbc/ |
H A D | aes_cbc.c | 38 .mechname = SUN_CKM_AES_CBC, in main()
|
/illumos-gate/usr/src/test/crypto-tests/tests/modes/aes/ctr/ |
H A D | aes_ctr.c | 48 .mechname = SUN_CKM_AES_CTR, in main()
|
/illumos-gate/usr/src/test/crypto-tests/tests/modes/aes/gcm/ |
H A D | aes_gcm.c | 46 .mechname = SUN_CKM_AES_GCM, in main()
|
/illumos-gate/usr/src/test/crypto-tests/tests/modes/aes/ccm/ |
H A D | aes_ccm.c | 46 .mechname = SUN_CKM_AES_CCM, in main()
|
/illumos-gate/usr/src/uts/common/crypto/api/ |
H A D | kcf_miscapi.c | 83 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 D | parser_runner.c | 317 .mechname = mech_name, in digest_runner()
|
/illumos-gate/usr/src/lib/libsasl/lib/ |
H A D | server.c | 335 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 D | README | 157 extern umechlist_t *create_umech(char *mechname);
|