/illumos-gate/usr/src/cmd/keyserv/ |
H A D | newkey.c | 87 char public[HEXKEYBYTES + 1]; in main() 88 char secret[HEXKEYBYTES + 1]; in main() 89 char crypt1[HEXKEYBYTES + KEYCHECKSUMSIZE + 1]; in main() 213 (void) memcpy(crypt1, secret, HEXKEYBYTES); in main() 214 (void) memcpy(crypt1 + HEXKEYBYTES, secret, KEYCHECKSUMSIZE); in main() 215 crypt1[HEXKEYBYTES + KEYCHECKSUMSIZE] = 0; in main() 253 char pkent[HEXKEYBYTES + HEXKEYBYTES + KEYCHECKSUMSIZE + 2];
|
H A D | keylogin.c | 227 char secret[HEXKEYBYTES+1]; in oldkeylogin() 257 memcpy(netst.st_priv_key, secret, HEXKEYBYTES); in oldkeylogin() 258 memset(secret, 0, HEXKEYBYTES); in oldkeylogin() 289 static char secret[HEXKEYBYTES + 1]; in logout_curr_key()
|
H A D | chkey.c | 178 (char *)malloc(HEXKEYBYTES + KEYCHECKSUMSIZE + 1))) { in encryptkeys() 183 (void) memcpy(crypt, slist[0], HEXKEYBYTES); in encryptkeys() 184 (void) memcpy(crypt + HEXKEYBYTES, slist[0], KEYCHECKSUMSIZE); in encryptkeys() 185 crypt[HEXKEYBYTES + KEYCHECKSUMSIZE] = 0; in encryptkeys() 264 if (!(public = (char *)malloc(HEXKEYBYTES + 1))) { in getpublics() 337 if (!(public = malloc(HEXKEYBYTES + 1))) { in makenewkeys() 341 if (!(secret = malloc(HEXKEYBYTES + 1))) { in makenewkeys() 569 if (!(secret = (char *)malloc(HEXKEYBYTES + 1))) { in getsecrets() 641 (void) memcpy(netst.st_priv_key, secret, HEXKEYBYTES); in keylogin_des()
|
H A D | setkey.c | 801 HEXKEYBYTES); 802 memcpy(new->keynetdata.st_pub_key, netstore->st_pub_key, HEXKEYBYTES); 899 HEXKEYBYTES); in store_netname3() 900 memset(netstore.st_pub_key, 0, HEXKEYBYTES); in store_netname3() 970 l->keynetdata.st_priv_key, HEXKEYBYTES); 973 l->keynetdata.st_pub_key, HEXKEYBYTES); 1307 xsecret[HEXKEYBYTES] = '\0'; 1308 xpublic[HEXKEYBYTES] = '\0'; 1663 xsecret[HEXKEYBYTES] = '\0'; 1664 xpublic[HEXKEYBYTES] = '\0'; [all …]
|
H A D | keylogout.c | 57 static char secret[HEXKEYBYTES + 1]; in main()
|
H A D | chkey_common.c | 379 memcpy(netst.st_priv_key, secret, HEXKEYBYTES); in keylogin()
|
H A D | keyserv.c | 556 char secret[HEXKEYBYTES + 1];
|
/illumos-gate/usr/src/lib/libnsl/key/ |
H A D | publickey.c | 197 if (len > HEXKEYBYTES) { in getkeys_nis() 279 if (len > HEXKEYBYTES) { in getkeys_files() 313 HEXKEYBYTES+1, from_cache)); in __getpublickey_cached() 331 return (getsecretkey_g(netname, KEYSIZE, 0, skey, HEXKEYBYTES+1, in getsecretkey() 401 return (extract_secret_g(raw, private, HEXKEYBYTES+1, passwd, in extract_secret() 477 if (len > HEXKEYBYTES) { in getkeys_ldap_g()
|
H A D | gen_dhkeys.c | 89 char keyout[HEXKEYBYTES + 1]; in adjust() 97 for (s = keyout + HEXKEYBYTES; p >= keyin; p--, s--) {
|
/illumos-gate/usr/src/uts/common/rpc/ |
H A D | key_prot.x | 63 const HEXKEYBYTES = 48; /* HEXKEYBYTES == strlen(HEXMODULUS) */ variable 85 typedef opaque keybuf[HEXKEYBYTES]; /* store key in hex */
|
/illumos-gate/usr/src/lib/gss_mechs/mech_dh/dh192/ |
H A D | fakensl.c | 33 #define HEX_KEY_BYTES HEXKEYBYTES
|
/illumos-gate/usr/src/uts/common/rpc/sec/ |
H A D | key_prot.c | 52 if (!xdr_opaque(xdrs, objp, HEXKEYBYTES)) in xdr_keybuf()
|
/illumos-gate/usr/src/lib/libnsl/rpc/ |
H A D | key_call.c | 95 (void) memcpy(netst.st_priv_key, secretkey, HEXKEYBYTES); in key_setsecret() 109 (void) memset(netst.st_priv_key, '\0', HEXKEYBYTES); in key_setsecret() 201 HEXKEYBYTES); in key_secretkey_is_set_ext()
|
H A D | key_prot.c | 45 return (xdr_opaque(xdrs, objp, HEXKEYBYTES)); in xdr_keybuf()
|
/illumos-gate/usr/src/lib/pam_modules/dhkeys/ |
H A D | key_call_uid.c | 246 HEXKEYBYTES); in key_secretkey_is_set_uid()
|