/titanic_50/usr/src/lib/gss_mechs/mech_dh/dh192/ |
H A D | fakensl.c | 38 extern int key_encryptsession_pk(const char *, netobj *, des_block *); 39 extern int key_decryptsession_pk(const char *, netobj *, des_block *); 62 int algtype, des_block deskeys[], int no_keys) in key_encryptsession_pk_g() 81 int algtype, des_block deskeys[], int no_keys) in key_decryptsession_pk_g() 98 key_gendes_g(des_block deskeys[], int no_keys) in key_gendes_g() 102 memset(deskeys, 0, no_keys* sizeof (des_block)); in key_gendes_g() 120 des_setparity_g(des_block *key) in des_setparity_g()
|
/titanic_50/usr/src/uts/common/rpc/ |
H A D | key_prot.x | 110 typedef des_block deskeyarray<>; 117 des_block deskey; 126 des_block deskey; 145 des_block deskey; 215 des_block userkey; 247 des_block userkey; 286 des_block 328 des_block 403 des_block
|
H A D | auth.h | 167 union des_block { union 174 typedef union des_block des_block; typedef 177 extern bool_t xdr_des_block(XDR *, des_block *); 199 union des_block ah_key; 367 des_block *, int, AUTH **retauth); 371 const des_block *); 412 extern int key_decryptsession(const char *, des_block *); 413 extern int key_encryptsession(const char *, des_block *); 414 extern int key_gendes(des_block *);
|
H A D | auth_des.h | 68 des_block key; /* conversation key */ 88 des_block adv_xtime; /* crypt time */ 152 struct knetconfig *, des_block *, int, AUTH **);
|
/titanic_50/usr/src/lib/gss_mechs/mech_dh/dh_common/ |
H A D | dh_template.c | 43 static int __encrypt(const char *remotename, des_block deskeys[], int no_keys); 45 des_block deskeys[], int no_keys, int *key_cached); 46 static int __gendes(des_block deskeys[], int no_keys); 142 static int __encrypt(const char *remotename, des_block deskeys[], int no_keys) in __encrypt() 173 des_block deskeys[], int no_keys, int *key_cached) in __decrypt() 218 static int __gendes(des_block deskeys[], int no_keys) in __gendes() 221 memset(deskeys, 0, no_keys* sizeof (des_block)); in __gendes()
|
H A D | generic_key.c | 50 extern void des_setparity_g(des_block *); 183 extractdeskeys(MINT *ck, int keylen, des_block keys[], int keynum) in extractdeskeys() 191 int len = 8 * sizeof (des_block) * keynum; in extractdeskeys() 211 for (i = 0; i < sizeof (des_block) * keynum; i++) { in extractdeskeys() 244 des_block keys[], /* DES keys to fill */ in __generic_common_dhkeys()
|
/titanic_50/usr/src/lib/libnsl/des/ |
H A D | des_crypt.c | 169 desN_crypt(des_block keys[], int keynum, char *buf, unsigned int len, in desN_crypt() 174 des_block svec, dvec; in desN_crypt() 180 (void) memcpy(svec.c, ivec, sizeof (des_block)); in desN_crypt() 185 (void) memcpy(dvec.c, ivec, sizeof (des_block)); in desN_crypt() 193 (void) memcpy(ivec, svec.c, sizeof (des_block)); in desN_crypt() 199 (void) memcpy(ivec, dvec.c, sizeof (des_block)); in desN_crypt() 207 __cbc_triple_crypt(des_block keys[], char *buf, uint_t len, in __cbc_triple_crypt()
|
/titanic_50/usr/src/lib/libnsl/rpc/ |
H A D | auth_des.c | 58 extern int key_encryptsession_pk(const char *, netobj *, des_block *); 81 des_block ad_xkey; /* encrypted conversation key */ 89 const des_block *, nis_server *); 103 const char *timehost, const des_block *ckey) in authdes_seccreate() 130 const char *timehost, const des_block *ckey, nis_server *srvr) in authdes_pk_seccreate() 252 des_block cryptbuf[2]; in authdes_marshal() 253 des_block ivec; in authdes_marshal() 282 2 * sizeof (des_block), in authdes_marshal() 286 sizeof (des_block), in authdes_marshal() 349 des_block buf; in authdes_validate() [all …]
|
H A D | key_call.c | 124 des_block userkey) in key_setsecret_g() 290 des_block *deskey) in key_encryptsession_pk() 315 des_block deskey[], in key_encryptsession_pk_g() 360 des_block *deskey) in key_decryptsession_pk() 385 des_block deskey[], in key_decryptsession_pk_g() 430 key_encryptsession(const char *remotename, des_block *deskey) in key_encryptsession() 453 des_block deskey[], in key_encryptsession_g() 486 key_decryptsession(const char *remotename, des_block *deskey) in key_decryptsession() 509 des_block deskey[], in key_decryptsession_g() 541 key_gendes(des_block *key) in key_gendes() [all …]
|
H A D | svcauth_des.c | 64 extern int key_decryptsession_pk(const char *, netobj *, des_block *); 76 des_block key; /* conversation key */ 102 static int cache_spot(des_block *, char *, struct timeval *); 134 des_block cryptbuf[2]; in __svcauth_des() 141 des_block *sessionkey, init_sessionkey; in __svcauth_des() 142 des_block ivec; in __svcauth_des() 282 2 * (int)sizeof (des_block), DES_DECRYPT | DES_HW, in __svcauth_des() 286 (int)sizeof (des_block), DES_DECRYPT | DES_HW); in __svcauth_des() 410 (int)sizeof (des_block), DES_ENCRYPT | DES_HW); in __svcauth_des() 576 cache_spot(des_block *key, char *name, struct timeval *timestamp) in cache_spot()
|
H A D | authdes_prot.c | 63 (uint_t)sizeof (des_block))) in xdr_authdes_cred() 81 (uint_t)sizeof (des_block))) in xdr_authdes_verf()
|
/titanic_50/usr/src/lib/libnsl/include/rpcsvc/ |
H A D | nis_dhext.h | 157 void des_setparity_g(des_block *); 158 int passwd2des_g(const char *, const char *, int, des_block *, bool_t); 166 int __gen_common_dhkeys_g(char *, char *, keylen_t, algtype_t, des_block [], 168 int __cbc_triple_crypt(des_block [], char *, uint_t, uint_t, char *); 169 int key_get_conv_g(const char *, keylen_t, algtype_t, des_block [], keynum_t);
|
/titanic_50/usr/src/lib/libbc/inc/include/rpc/ |
H A D | auth.h | 65 union des_block { union 72 typedef union des_block des_block; typedef 91 union des_block ah_key;
|
H A D | auth_des.h | 47 des_block key; /* conversation key */ 69 des_block adv_xtime; /* crypt time */
|
H A D | key_prot.h | 75 des_block deskey; 84 des_block deskey;
|
/titanic_50/usr/src/cmd/keyserv/ |
H A D | keyserv_cache.h | 71 3*sizeof (des_block)) 78 deskeyarray common, des_block key, 84 keybuf3 *public, des_block key);
|
H A D | keyserv_cache.c | 56 des_block common[3]; 57 des_block verifier; /* Checksum */ 113 des_block key, 120 des_block key); 163 des_block key); 856 des_block key, in cache_insert_ch() 864 des_block ivec; in cache_insert_ch() 873 if (common.deskeyarray_len > sizeof (skck->common)/sizeof (des_block) || in cache_insert_ch() 924 des_block key) { in copy_cl_item() 929 des_block ivec; in copy_cl_item() [all …]
|
H A D | setkey.c | 83 des_block deskey; 120 des_block key; 388 buf->deskeyarray_val = (des_block *) in getdeskeyarray() 389 malloc(k * sizeof (des_block)); in getdeskeyarray() 414 src->deskeyarray_len * sizeof (des_block)); in cpydeskeyarray() 576 des_block master; in storeotherrootkeys() 707 des_block *key; 735 des_block *key; 1166 des_block *deskey; 1187 des_block *deskey; [all …]
|
/titanic_50/usr/src/lib/gss_mechs/mech_dh/backend/mech/ |
H A D | crypto.c | 100 __desN_crypt(des_block keys[], int keynum, char *buf, unsigned int len, in __desN_crypt() 107 des_block svec, dvec; in __desN_crypt() 115 memcpy(svec.c, ivec, sizeof (des_block)); in __desN_crypt() 122 memcpy(dvec.c, ivec, sizeof (des_block)); in __desN_crypt() 130 memcpy(ivec, svec.c, sizeof (des_block)); in __desN_crypt() 142 memcpy(ivec, dvec.c, sizeof (des_block)); in __desN_crypt() 157 des_block ivec; in __dh_desN_crypt() 191 des_block ivec; in __dh_des_crypt()
|
H A D | dh_gssapi.h | 75 des_block deskeys[], int no_keys); 89 des_block deskeys[], int no_keys, int *key_cached); 93 int (*key_gendeskeys)(des_block *deskeys, int no_keys); 164 des_block *keys; /* The session keys */
|
/titanic_50/usr/src/uts/common/rpc/sec/ |
H A D | auth_des.c | 98 des_block ad_xkey; /* encrypted conversation key */ 108 struct knetconfig *synconfig, des_block *ckey, int calltype, in authdes_create() 231 des_block cryptbuf[2]; in authdes_marshal() 232 des_block ivec; in authdes_marshal() 261 2 * sizeof (des_block), DES_ENCRYPT, (char *)&ivec); in authdes_marshal() 264 sizeof (des_block), DES_ENCRYPT); in authdes_marshal() 323 des_block buf; in authdes_validate() 338 sizeof (des_block), DES_DECRYPT); in authdes_validate()
|
H A D | svcauthdes.c | 93 des_block key; /* conversation key */ 110 des_block *, uint32_t); 140 des_block cryptbuf[2]; in _svcauth_des() 144 des_block *sessionkey; in _svcauth_des() 145 des_block ivec; in _svcauth_des() 238 2 * sizeof (des_block), DES_DECRYPT, (char *)&ivec); in _svcauth_des() 241 sizeof (des_block), DES_DECRYPT); in _svcauth_des() 311 sizeof (des_block), DES_ENCRYPT); in _svcauth_des() 497 authdes_cache_new(char *fullname, des_block *sessionkey, uint32_t window) { in authdes_cache_new()
|
H A D | authdesprt.c | 62 sizeof (des_block))); in xdr_authdes_cred() 81 sizeof (des_block))); in xdr_authdes_verf()
|
H A D | key_call.c | 96 key_encryptsession(char *remotename, des_block *deskey, cred_t *cr) in key_encryptsession() 128 key_decryptsession(char *remotename, des_block *deskey) in key_decryptsession() 158 key_gendes(des_block *key) in key_gendes()
|
/titanic_50/usr/src/lib/libnsl/key/ |
H A D | xcrypt.c | 59 static int weak_DES_key(des_block); 249 des_block key; in xencrypt_g() 353 des_block key; in xdecrypt_g() 436 des_block *key, /* out */ in passwd2des_g() 441 des_block ivec, tkey; in passwd2des_g() 582 weak_DES_key(des_block db) in weak_DES_key()
|