/osnet-11/usr/src/lib/gss_mechs/mech_dh/dh192/ |
H A D | fakensl.c | 44 int algtype, char *pkey, size_t pkeylen, int *cached) 53 int algtype, char *pkey, size_t pkeylen) 62 int algtype, des_block deskeys[], int no_keys) 81 int algtype, des_block deskeys[], int no_keys) 113 key_secretkey_is_set_g(int Keylen, int algtype) argument 43 __getpublickey_cached_g(const char remotename[MAXNETNAMELEN], int keylen, int algtype, char *pkey, size_t pkeylen, int *cached) argument 52 getpublickey_g(const char remotename[MAXNETNAMELEN], int keylen, int algtype, char *pkey, size_t pkeylen) argument 61 key_encryptsession_pk_g(const char *remotename, const char *pk, int keylen, int algtype, des_block deskeys[], int no_keys) argument 80 key_decryptsession_pk_g(const char *remotename, const char *pk, int keylen, int algtype, des_block deskeys[], int no_keys) argument
|
/osnet-11/usr/src/lib/gss_mechs/mech_dh/dh_common/ |
H A D | dh_template.c | 92 dh_getpublickey(const char *remote, keylen_t keylen, algtype_t algtype, argument 118 return (__getpublickey_cached_g(remote, keylen, algtype, 128 return (getpublickey_g(remote, keylen, algtype, pk, pklen));
|
/osnet-11/usr/src/lib/libnsl/include/rpcsvc/ |
H A D | nis_dhext.h | 59 ushort_t algtype; member in struct:extdhkey 79 algtype_t algtype; member in struct:__anon2017 88 * The value a keylen or algtype mechanism_t element will be set 91 * then the keylen is set to 192 and the algtype to 0. 106 /* valid keylen and algtype check */ 113 VALID_KEYALG((mp)->keylen, (mp)->algtype) &&\ 138 char *__nis_get_mechanism_library(keylen_t keylen, algtype_t algtype, 141 void *__nis_get_mechanism_symbol(keylen_t keylen, algtype_t algtype,
|
/osnet-11/usr/src/lib/pam_modules/dhkeys/ |
H A D | key_call_uid.c | 160 const char *pkey, keylen_t pkeylen, algtype_t algtype, 167 arg.algtype = algtype; 197 if (CLASSIC_PK_DH(arg.keylen, arg.algtype)) { 159 key_setnet_g_uid(const char *netname, const char *skey, keylen_t skeylen, const char *pkey, keylen_t pkeylen, algtype_t algtype, uid_t uid, gid_t gid) argument
|
H A D | dhkeys.c | 99 algtype_t algtype, /* in */ 119 if (getsecretkey_g(netname, keylen, algtype, skey, skeylen, pw)) { 126 algtype, uid, gid) >= 0) { 133 "%d-%d", keylen, algtype); 142 "for '%s'."), keylen, algtype, netname); 151 keylen, algtype); 276 mp->algtype); 279 mp->algtype, short_passp, uid, gid, 95 get_and_set_seckey( pam_handle_t *pamh, const char *netname, keylen_t keylen, algtype_t algtype, const char *pw, uid_t uid, gid_t gid, int *get_seckey_cnt, int *good_pw_cnt, int *set_seckey_cnt, int flags, int debug) argument
|
/osnet-11/usr/src/lib/libnsl/key/ |
H A D | gen_dhkeys.c | 171 algtype_t algtype, /* in */ 174 const int classic_des = keylen == 192 && algtype == 0; 186 algtype, 231 * Set the modulus for all our 192bit (algtype=0) Diffie-Hellman operations 259 algtype_t algtype, /* in */ 263 const int classic_des = keylen == 192 && algtype == 0; 285 algtype, 168 __gen_dhkeys_g(char *pkey, char *skey, keylen_t keylen, algtype_t algtype, char *pass) argument 256 __gen_common_dhkeys_g(char *xpublic, char *xsecret, keylen_t keylen, algtype_t algtype, des_block deskeys[], keynum_t keynum) argument
|
H A D | xcrypt.c | 257 algtype_t algtype, /* in */ 268 const int classic_des = keylen == 192 && algtype == 0; 361 * If keylen is 192 and algtype is 0, then decrypt the same way 370 int algtype, /* in */ 381 const int classic_des = keylen == 192 && algtype == 0; 254 xencrypt_g( char *secret, keylen_t keylen, algtype_t algtype, const char *passwd, const char netname[], char **encrypted_secret, bool_t do_chksum) argument 367 xdecrypt_g( char *secret, int keylen, int algtype, const char *passwd, const char netname[], bool_t do_chksum) argument
|
H A D | publickey.c | 348 algtype_t algtype) /* in */ 355 !VALID_KEYALG(keylen, algtype)) { 372 if (!xdecrypt_g(buf, keylen, algtype, passwd, netname, TRUE)) { 428 algtype_t algtype) /* in */ 434 const bool_t classic_des = AUTH_DES_KEY(keylen, algtype); 456 dh_caps_str, keylen, algtype); 495 * new longer sizes!") DHEXT, add a ":keylen-algtype" suffix to hash on. 505 algtype_t algtype) 507 const bool_t classic_des = AUTH_DES_KEY(keylen, algtype); 519 (void) sprintf(tmp, ":%d-%d", keylen, algtype); 341 extract_secret_g( char *raw, char *private, int prilen, char *passwd, char *netname, keylen_t keylen, algtype_t algtype) argument 419 getkeys_ldap_g( int *err, char *netname, char *pkey, int pkeylen, char *skey, int skeylen, char *passwd, keylen_t keylen, algtype_t algtype) argument 500 netname2hashname( const char *netname, char *hashname, int bufsiz, keylen_t keylen, algtype_t algtype) argument 533 __getpublickey_flush_g(const char *netname, keylen_t keylen, algtype_t algtype) argument 543 __getpublickey_cached_g(const char netname[], keylen_t keylen, algtype_t algtype, char *pkey, size_t pkeylen, int *from_cache) argument 609 getpublickey_g( const char *netname, int keylen, int algtype, char *pkey, size_t pkeylen) argument 624 getsecretkey_g( const char *netname, keylen_t keylen, algtype_t algtype, char *skey, size_t skeylen, const char *passwd) argument [all...] |
/osnet-11/usr/src/lib/libnsl/nis/gen/ |
H A D | nis_misc_proc.c | 270 __nis_dhext_extract_pkey(netobj *no, keylen_t keylen, algtype_t algtype) argument 284 algtype == ntohs(keyent->algtype)) {
|
H A D | nis_sec_mechs.c | 347 * in the keylen or algtype fields like so: 349 * algtype = 0 430 m->algtype = 0; 444 m->algtype = NIS_SEC_CF_NA_KA; 450 m->algtype = atoi(*(flds + at_offset)); 468 if (mp->algtype != tp->algtype) 503 tp->algtype = mp->algtype; 510 * Return TRUE if the mechname/alias/keylen/algtype comb 656 __nis_translate_mechanism(const char *mechname, int *keylen, int *algtype) argument 839 __nis_keyalg2mechalias( keylen_t keylen, algtype_t algtype, char *alias, size_t alias_len) argument 895 __nis_keyalg2authtype( keylen_t keylen, algtype_t algtype, char *authtype, size_t authtype_len) argument 1083 __nis_get_mechanism_library(keylen_t keylen, algtype_t algtype, char *buffer, size_t buflen) argument 1108 __nis_get_mechanism_symbol(keylen_t keylen, algtype_t algtype, const char *symname) argument [all...] |
/osnet-11/usr/src/lib/libnsl/rpc/ |
H A D | key_call.c | 123 algtype_t algtype, 129 if (CLASSIC_PK_DH(keylen, algtype)) 133 arg.algtype = algtype; 238 key_secretkey_is_set_g_ext(keylen_t keylen, algtype_t algtype, int use_ruid) argument 251 if (CLASSIC_PK_DH(keylen, algtype)) 254 arg.algtype = algtype; 273 key_secretkey_is_set_g(keylen_t keylen, algtype_t algtype) argument 275 return (key_secretkey_is_set_g_ext(keylen, algtype, 120 key_setsecret_g( char *secretkey, keylen_t keylen, algtype_t algtype, des_block userkey) argument 282 key_secretkey_is_set_g_ruid(keylen_t keylen, algtype_t algtype) argument 310 key_encryptsession_pk_g( const char *remotename, const char *remotekey, keylen_t remotekeylen, algtype_t algtype, des_block deskey[], keynum_t keynum ) argument 380 key_decryptsession_pk_g( const char *remotename, const char *remotekey, keylen_t remotekeylen, algtype_t algtype, des_block deskey[], keynum_t keynum ) argument 449 key_encryptsession_g( const char *remotename, keylen_t keylen, algtype_t algtype, des_block deskey[], keynum_t keynum ) argument 505 key_decryptsession_g( const char *remotename, keylen_t keylen, algtype_t algtype, des_block deskey[], keynum_t keynum ) argument 621 key_setnet_g_ext( const char *netname, const char *skey, keylen_t skeylen, const char *pkey, keylen_t pkeylen, algtype_t algtype, int use_ruid) argument 697 key_setnet_g(const char *netname, const char *skey, keylen_t skeylen, const char *pkey, keylen_t pkeylen, algtype_t algtype) argument 708 key_setnet_g_ruid(const char *netname, const char *skey, keylen_t skeylen, const char *pkey, keylen_t pkeylen, algtype_t algtype) argument 732 key_get_conv_g( const char *pkey, keylen_t pkeylen, algtype_t algtype, des_block deskey[], keynum_t keynum ) argument [all...] |
/osnet-11/usr/src/cmd/ldap/ns_ldap/ |
H A D | ldapaddent.c | 2200 algtype_t algtype; local 2331 * private_data (col 2) and algtype extraction 2340 algtype = 0; 2344 algtype = atoi(t); 2352 if (AUTH_DES_KEY(keylen, algtype)) 2361 else if (!(__nis_keyalg2authtype(keylen, algtype, auth_type,
|