Home
last modified time | relevance | path

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

123

/titanic_50/usr/src/cmd/ssh/libssh/common/
H A Dssh-gss.c62 static char *ssh_gssapi_make_kexalgs_list(gss_OID_set mechs,
72 ssh_gssapi_mech_oids_to_kexnames(const gss_OID_set mechs, char **kexname_list) in ssh_gssapi_mech_oids_to_kexnames() argument
82 if (mechs != GSS_C_NULL_OID_SET || kexname_list == NULL) { in ssh_gssapi_mech_oids_to_kexnames()
94 if (mechs == GSS_C_NULL_OID_SET && kexname_list == NULL) in ssh_gssapi_mech_oids_to_kexnames()
97 if (mechs) { in ssh_gssapi_mech_oids_to_kexnames()
101 (mechs->count + 1)); in ssh_gssapi_mech_oids_to_kexnames()
103 sizeof (ssh_gss_kex_mapping *) * (mechs->count + 1)); in ssh_gssapi_mech_oids_to_kexnames()
105 for (i = 0; i < mechs->count; i++) { in ssh_gssapi_mech_oids_to_kexnames()
106 mech = &mechs->elements[i]; in ssh_gssapi_mech_oids_to_kexnames()
117 ssh_gssapi_dup_oid(&mechs->elements[i]); in ssh_gssapi_mech_oids_to_kexnames()
[all …]
/titanic_50/usr/src/cmd/keyserv/
H A Dchkey.c60 #define CURMECH mechs[mcount]
83 mechanism_t **mechs = NULL; /* List of DH mechanisms */ variable
161 if (mechs) { in encryptkeys()
207 assert(mechs && mechs[0]); in initkeylist()
235 if (mechs) { in getpublics()
295 if (mechs) { in makenewkeys()
493 if (mechs) { in getsecrets()
660 if (mechs) { in keylogin()
878 if (mechs) { in storekeys()
991 if ((mechs = in addmechtolist()
[all …]
H A Dsetkey.c61 extern mechanism_t **mechs;
1858 mechanism_t **mechs = __nis_get_mechanisms(FALSE); in getmechwrap() local
1863 if (mechs) { in getmechwrap()
1865 for (i = 0; mechs[i]; i++) { in getmechwrap()
1866 if (AUTH_DES_COMPAT_CHK(mechs[i])) in getmechwrap()
1867 return (mechs); in getmechwrap()
1874 if (mechs) in getmechwrap()
1875 __nis_release_mechanisms(mechs); in getmechwrap()
1885 mechsbak = mechs; in getmechwrap()
1887 if ((mechs = (mechanism_t **)realloc(mechs, in getmechwrap()
[all …]
/titanic_50/usr/src/lib/libnsl/nis/gen/
H A Dnis_sec_mechs.c550 static mechanism_t **mechs = NULL; in __nis_get_mechanisms() local
569 if (mechs) { in __nis_get_mechanisms()
571 __nis_release_mechanisms(mechs); in __nis_get_mechanisms()
575 mechs = mechs_no_dups = NULL; in __nis_get_mechanisms()
619 mechs = tmechs; in __nis_get_mechanisms()
626 return (mechs ? in __nis_get_mechanisms()
629 (void **)mechs) : in __nis_get_mechanisms()
845 mechanism_t **mechs; /* array of mechanisms */ in __nis_keyalg2mechalias() local
858 if (mechs = __nis_get_mechanisms(FALSE)) { in __nis_keyalg2mechalias()
861 for (mpp = mechs; *mpp; mpp++) { in __nis_keyalg2mechalias()
[all …]
/titanic_50/usr/src/cmd/ssh/ssh/
H A Dgss-clnt.c54 gss_OID_set mechs = GSS_C_NULL_OID_SET; in ssh_gssapi_client_kex_hook() local
59 ssh_gssapi_client_mechs(kex->serverhost, &mechs); in ssh_gssapi_client_kex_hook()
60 ssh_gssapi_modify_kex(kex, mechs, proposal); in ssh_gssapi_client_kex_hook()
64 ssh_gssapi_client_mechs(const char *server_host, gss_OID_set *mechs) in ssh_gssapi_client_mechs() argument
76 if (!mechs) in ssh_gssapi_client_mechs()
78 *mechs = GSS_C_NULL_OID_SET; in ssh_gssapi_client_mechs()
147 *mechs = supported; in ssh_gssapi_client_mechs()
/titanic_50/usr/src/lib/gss_mechs/mech_dh/backend/mech/
H A Dcred.c61 gss_OID_set *mechs, /* The return set of mechs */ in __dh_gss_acquire_cred() argument
75 if (mechs) in __dh_gss_acquire_cred()
76 *mechs = GSS_C_NO_OID_SET; in __dh_gss_acquire_cred()
126 if (mechs && (*minor = __OID_to_OID_set(mechs, cntx->mech))) { in __dh_gss_acquire_cred()
178 gss_OID_set *mechs /* Set containing mech_dh */) in __dh_gss_inquire_cred() argument
226 if (mechs && in __dh_gss_inquire_cred()
227 (*minor = __OID_to_OID_set(mechs, cntx->mech)) != DH_SUCCESS) { in __dh_gss_inquire_cred()
/titanic_50/usr/src/lib/gss_mechs/mech_krb5/
H A DMakefile.com245 -I$(SRC)/uts/common/gssapi/mechs/krb5/include \
246 -I$(SRC)/uts/common/gssapi/mechs/krb5/crypto/des
319 objs/%.o pics/%.o: $(SRC)/uts/common/gssapi/mechs/krb5/mech/%.c
327 objs/%.o pics/%.o: $(SRC)/uts/common/gssapi/mechs/krb5/crypto/%.c
339 objs/%.o pics/%.o: $(SRC)/uts/common/gssapi/mechs/krb5/crypto/des/%.c
347 objs/%.o pics/%.o: $(SRC)/uts/common/gssapi/mechs/krb5/crypto/arcfour/%.c
359 objs/%.o pics/%.o: $(SRC)/uts/common/gssapi/mechs/krb5/crypto/dk/%.c
367 objs/%.o pics/%.o: $(SRC)/uts/common/gssapi/mechs/krb5/crypto/raw/%.c
371 objs/%.o pics/%.o: $(SRC)/uts/common/gssapi/mechs/krb5/crypto/crc32/%.c
379 objs/%.o pics/%.o: $(SRC)/uts/common/gssapi/mechs/krb5/crypto/sha1/%.c
[all …]
H A Dinc.flg8 find_files "s.*" usr/src/uts/common/gssapi/mechs/krb5
/titanic_50/usr/src/lib/gss_mechs/mech_krb5/mech/
H A Dinq_cred.c92 gss_OID_set mechs; local
160 &mechs)) ||
164 &mechs))) ||
168 &mechs)))) {
183 (void) gss_release_oid_set(minor_status, &mechs);
203 *mechanisms = mechs;
/titanic_50/usr/src/cmd/ssh/sshd/
H A Dgss-serv.c69 gss_OID_set mechs = GSS_C_NULL_OID_SET; in ssh_gssapi_server_kex_hook() local
74 ssh_gssapi_server_mechs(&mechs); in ssh_gssapi_server_kex_hook()
75 ssh_gssapi_modify_kex(kex, mechs, proposal); in ssh_gssapi_server_kex_hook()
79 ssh_gssapi_server_mechs(gss_OID_set *mechs) in ssh_gssapi_server_mechs() argument
87 if (!mechs) { in ssh_gssapi_server_mechs()
93 *mechs = supported; in ssh_gssapi_server_mechs()
97 *mechs = GSS_C_NULL_OID_SET; in ssh_gssapi_server_mechs()
140 *mechs = s; in ssh_gssapi_server_mechs()
H A Dauth2-gss.c120 int mechs, present = 0; in userauth_gssapi() local
131 mechs = packet_get_int(); in userauth_gssapi()
132 if (mechs == 0) { in userauth_gssapi()
141 mechs--; in userauth_gssapi()
163 } while (!present && (mechs > 0)); in userauth_gssapi()
/titanic_50/usr/src/cmd/ssh/include/
H A Dssh-gss.h96 void ssh_gssapi_server_mechs(gss_OID_set *mechs);
97 void ssh_gssapi_client_mechs(const char *server_host, gss_OID_set *mechs);
100 void ssh_gssapi_modify_kex(Kex *kex, gss_OID_set mechs, char **proposal);
106 void ssh_gssapi_mech_oids_to_kexnames(const gss_OID_set mechs,
/titanic_50/exception_lists/
H A Dcstyle764 usr/src/uts/common/gssapi/mechs/krb5/crypto/block_size.c
765 usr/src/uts/common/gssapi/mechs/krb5/crypto/checksum_length.c
766 usr/src/uts/common/gssapi/mechs/krb5/crypto/cksumtypes.c
767 usr/src/uts/common/gssapi/mechs/krb5/crypto/combine_keys.c
768 usr/src/uts/common/gssapi/mechs/krb5/crypto/crc32/crc32.c
769 usr/src/uts/common/gssapi/mechs/krb5/crypto/decrypt.c
770 usr/src/uts/common/gssapi/mechs/krb5/crypto/default_state.c
771 usr/src/uts/common/gssapi/mechs/krb5/crypto/des/d3_cbc.c
772 usr/src/uts/common/gssapi/mechs/krb5/crypto/des/f_cbc.c
773 usr/src/uts/common/gssapi/mechs/krb5/crypto/des/f_parity.c
[all …]
H A Dhdrchk227 usr/src/uts/common/gssapi/mechs/krb5/include/aes_s2k.h
228 usr/src/uts/common/gssapi/mechs/krb5/include/auth_con.h
229 usr/src/uts/common/gssapi/mechs/krb5/include/cksumtypes.h
230 usr/src/uts/common/gssapi/mechs/krb5/include/crc-32.h
231 usr/src/uts/common/gssapi/mechs/krb5/include/des_int.h
232 usr/src/uts/common/gssapi/mechs/krb5/include/dk.h
233 usr/src/uts/common/gssapi/mechs/krb5/include/enc_provider.h
234 usr/src/uts/common/gssapi/mechs/krb5/include/etypes.h
235 usr/src/uts/common/gssapi/mechs/krb5/include/gssapi_generic.h
236 usr/src/uts/common/gssapi/mechs/krb5/include/gssapi_krb5.h
[all …]
H A Dcopyright393 usr/src/uts/common/gssapi/mechs/krb5/crypto/block_size.c
394 usr/src/uts/common/gssapi/mechs/krb5/crypto/checksum_length.c
395 usr/src/uts/common/gssapi/mechs/krb5/crypto/des/f_parity.c
396 usr/src/uts/common/gssapi/mechs/krb5/crypto/des/weak_key.c
397 usr/src/uts/common/gssapi/mechs/krb5/crypto/encrypt_length.c
398 usr/src/uts/common/gssapi/mechs/krb5/crypto/hash_provider/hash_crc32.c
399 usr/src/uts/common/gssapi/mechs/krb5/include/aes_s2k.h
400 usr/src/uts/common/gssapi/mechs/krb5/include/auth_con.h
401 usr/src/uts/common/gssapi/mechs/krb5/include/cksumtypes.h
402 usr/src/uts/common/gssapi/mechs/krb5/include/crc-32.h
[all …]
/titanic_50/usr/src/uts/common/inet/kssl/
H A Dksslioctl.c407 crypto_mech_name_t *mechs; in create_kssl_entry() local
437 mechs = crypto_get_mech_list(&mech_count, KM_SLEEP); in create_kssl_entry()
438 if (mechs != NULL) { in create_kssl_entry()
442 if (strncmp(SUN_CKM_RSA_X_509, mechs[i], in create_kssl_entry()
445 else if (strncmp(SUN_CKM_MD5_HMAC, mechs[i], in create_kssl_entry()
448 else if (strncmp(SUN_CKM_SHA1_HMAC, mechs[i], in create_kssl_entry()
451 else if (strncmp(SUN_CKM_RC4, mechs[i], in create_kssl_entry()
454 else if (strncmp(SUN_CKM_DES_CBC, mechs[i], in create_kssl_entry()
457 else if (strncmp(SUN_CKM_DES3_CBC, mechs[i], in create_kssl_entry()
460 else if (strncmp(SUN_CKM_AES_CBC, mechs[i], in create_kssl_entry()
[all …]
H A Dkssl.c410 is_in_mechlist(char *name, crypto_mech_name_t *mechs, int count) in is_in_mechlist() argument
415 if (strncmp(name, mechs[i], CRYPTO_MAX_MECH_NAME) == 0) in is_in_mechlist()
435 crypto_mech_name_t *mechs; in kssl_event_callback() local
467 mechs = crypto_get_mech_list(&mech_count, KM_SLEEP); in kssl_event_callback()
468 if (mechs == NULL) in kssl_event_callback()
492 if (!is_in_mechlist(mc->name, mechs, mech_count)) { in kssl_event_callback()
535 crypto_free_mech_list(mechs, mech_count); in kssl_event_callback()
/titanic_50/usr/src/lib/libgss/
H A Dg_acquire_cred_with_pw.c107 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],
H A Dg_acquire_cred.c150 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],
/titanic_50/usr/src/uts/intel/kmech_krb5/
H A DMakefile97 KMECHKRB5_BASE=$(UTSBASE)/common/gssapi/mechs/krb5
116 -I$(UTSBASE)/common/gssapi/mechs/krb5/include \
/titanic_50/usr/src/uts/sparc/kmech_krb5/
H A DMakefile102 KMECHKRB5_BASE=$(UTSBASE)/common/gssapi/mechs/krb5
121 -I$(UTSBASE)/common/gssapi/mechs/krb5/include \
/titanic_50/usr/src/lib/pam_modules/dhkeys/
H A Ddhkeys.c210 mechanism_t **mechs; in establish_key() local
263 if (mechs = __nis_get_mechanisms(FALSE)) { in establish_key()
265 for (mpp = mechs; *mpp; mpp++) { in establish_key()
287 __nis_release_mechanisms(mechs); in establish_key()
/titanic_50/usr/src/cmd/krb5/ldap_util/
H A DMakefile58 -I$(SRC)/uts/common/gssapi/mechs/krb5/include \
59 -I$(SRC)/uts/common/gssapi/mechs/krb5/include/krb5 \
/titanic_50/usr/src/cmd/cmd-inet/usr.sbin/
H A DMakefile151 -I$(SRC)/uts/common/gssapi/mechs/krb5/include \
247 -I$(SRC)/uts/common/gssapi/mechs/krb5/include \
253 -I$(SRC)/uts/common/gssapi/mechs/krb5/include \
260 -I$(SRC)/uts/common/gssapi/mechs/krb5/include \
/titanic_50/usr/src/cmd/cmd-inet/usr.bin/
H A Dinc.flg30 find_files "s.*" usr/src/uts/common/gssapi/mechs/krb5/include

123