Home
last modified time | relevance | path

Searched refs:HEXKEYBYTES (Results 1 – 18 of 18) sorted by relevance

/titanic_50/usr/src/cmd/keyserv/
H A Dnewkey.c87 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 Dkeylogin.c229 char secret[HEXKEYBYTES+1]; in oldkeylogin()
259 memcpy(netst.st_priv_key, secret, HEXKEYBYTES); in oldkeylogin()
260 memset(secret, 0, HEXKEYBYTES); in oldkeylogin()
291 static char secret[HEXKEYBYTES + 1]; in logout_curr_key()
H A Dchkey.c178 (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 Dsetkey.c803 HEXKEYBYTES);
804 memcpy(new->keynetdata.st_pub_key, netstore->st_pub_key, HEXKEYBYTES);
901 HEXKEYBYTES); in store_netname3()
902 memset(netstore.st_pub_key, 0, HEXKEYBYTES); in store_netname3()
972 l->keynetdata.st_priv_key, HEXKEYBYTES);
975 l->keynetdata.st_pub_key, HEXKEYBYTES);
1309 xsecret[HEXKEYBYTES] = '\0';
1310 xpublic[HEXKEYBYTES] = '\0';
1665 xsecret[HEXKEYBYTES] = '\0';
1666 xpublic[HEXKEYBYTES] = '\0';
[all …]
H A Dkeylogout.c59 static char secret[HEXKEYBYTES + 1]; in main()
H A Dchkey_common.c379 memcpy(netst.st_priv_key, secret, HEXKEYBYTES); in keylogin()
H A Dkeyserv.c556 char secret[HEXKEYBYTES + 1];
/titanic_50/usr/src/lib/libbc/inc/include/rpc/
H A Dkey_prot.h48 #define HEXKEYBYTES 48 macro
64 typedef char keybuf[HEXKEYBYTES];
/titanic_50/usr/src/lib/libnsl/key/
H A Dpublickey.c197 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()
402 return (extract_secret_g(raw, private, HEXKEYBYTES+1, passwd, in extract_secret()
478 if (len > HEXKEYBYTES) { in getkeys_ldap_g()
H A Dgen_dhkeys.c91 char keyout[HEXKEYBYTES + 1]; in adjust()
99 for (s = keyout + HEXKEYBYTES; p >= keyin; p--, s--) {
/titanic_50/usr/src/uts/common/rpc/
H A Dkey_prot.x64 const HEXKEYBYTES = 48; /* HEXKEYBYTES == strlen(HEXMODULUS) */ variable
86 typedef opaque keybuf[HEXKEYBYTES]; /* store key in hex */
/titanic_50/usr/src/lib/gss_mechs/mech_dh/dh192/
H A Dfakensl.c35 #define HEX_KEY_BYTES HEXKEYBYTES
/titanic_50/usr/src/uts/common/rpc/sec/
H A Dkey_prot.c54 if (!xdr_opaque(xdrs, objp, HEXKEYBYTES)) in xdr_keybuf()
/titanic_50/usr/src/lib/libnsl/rpc/
H A Dkey_call.c97 (void) memcpy(netst.st_priv_key, secretkey, HEXKEYBYTES); in key_setsecret()
111 (void) memset(netst.st_priv_key, '\0', HEXKEYBYTES); in key_setsecret()
203 HEXKEYBYTES); in key_secretkey_is_set_ext()
H A Dkey_prot.c47 return (xdr_opaque(xdrs, objp, HEXKEYBYTES)); in xdr_keybuf()
/titanic_50/usr/src/lib/pam_modules/dhkeys/
H A Dkey_call_uid.c248 HEXKEYBYTES); in key_secretkey_is_set_uid()
/titanic_50/usr/src/cmd/rexd/
H A Don.c224 char publickey[HEXKEYBYTES+1]; in main()
H A Drpc.rexd.c381 char publickey[HEXKEYBYTES+1];