Home
last modified time | relevance | path

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

/illumos-gate/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.c227 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 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.c801 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 Dkeylogout.c57 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];
/illumos-gate/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()
401 return (extract_secret_g(raw, private, HEXKEYBYTES+1, passwd, in extract_secret()
477 if (len > HEXKEYBYTES) { in getkeys_ldap_g()
H A Dgen_dhkeys.c89 char keyout[HEXKEYBYTES + 1]; in adjust()
97 for (s = keyout + HEXKEYBYTES; p >= keyin; p--, s--) {
/illumos-gate/usr/src/uts/common/rpc/
H A Dkey_prot.x63 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 Dfakensl.c33 #define HEX_KEY_BYTES HEXKEYBYTES
/illumos-gate/usr/src/uts/common/rpc/sec/
H A Dkey_prot.c52 if (!xdr_opaque(xdrs, objp, HEXKEYBYTES)) in xdr_keybuf()
/illumos-gate/usr/src/lib/libnsl/rpc/
H A Dkey_call.c95 (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 Dkey_prot.c45 return (xdr_opaque(xdrs, objp, HEXKEYBYTES)); in xdr_keybuf()
/illumos-gate/usr/src/lib/pam_modules/dhkeys/
H A Dkey_call_uid.c246 HEXKEYBYTES); in key_secretkey_is_set_uid()