Home
last modified time | relevance | path

Searched refs:algname (Results 1 – 3 of 3) sorted by relevance

/titanic_44/usr/src/lib/libc/port/gen/
H A Dcrypt.c112 static struct crypt_alg_s *getalgbyname(const char *algname, boolean_t *found);
115 static boolean_t alg_valid(const char *algname,
149 char *algname; in crypt() local
176 if ((algname = getalgfromsalt(salt)) == NULL) { in crypt()
181 alg = getalgbyname(algname, &found); in crypt()
196 if (algname != NULL) in crypt()
197 free(algname); in crypt()
223 char *algname = NULL; in crypt_gensalt() local
238 algname = getalgfromsalt(oldsalt); in crypt_gensalt()
239 if (!alg_valid(algname, policy)) { in crypt_gensalt()
[all …]
/titanic_44/usr/src/cmd/lofiadm/
H A Dmain.c1714 lofi_compress_select(const char *algname) in lofi_compress_select() argument
1719 if (strcmp(lofi_compress_table[i].l_name, algname) == 0) in lofi_compress_select()
1726 check_algorithm_validity(const char *algname, int *compress_index) in check_algorithm_validity() argument
1728 *compress_index = lofi_compress_select(algname); in check_algorithm_validity()
1730 die(gettext("invalid algorithm name: %s\n"), algname); in check_algorithm_validity()
1805 const char *algname = COMPRESS_ALGORITHM; in main() local
1851 algname = argv[optind]; in main()
1854 check_algorithm_validity(algname, &compress_index); in main()
/titanic_44/usr/src/cmd/cmd-inet/usr.sbin/ifconfig/
H A Difconfig.c1138 parsealg(char *algname, int proto_num) in parsealg() argument
1143 if (algname == NULL) { in parsealg()
1153 if (strcasecmp("none", algname) == 0) { in parsealg()
1157 if ((strcasecmp("any", algname) == 0) && (proto_num == IPSEC_PROTO_AH)) in parsealg()
1160 alg = getipsecalgbyname(algname, proto_num, NULL); in parsealg()
1171 invalue = parsenum(algname); in parsealg()
1177 "Encryption" : "Authentication", algname); in parsealg()