Searched refs:netst (Results 1 - 4 of 4) sorted by relevance

/illumos-gate/usr/src/cmd/keyserv/
H A Dkeylogin.c230 struct key_netstarg netst; local
259 memcpy(netst.st_priv_key, secret, HEXKEYBYTES);
262 netst.st_pub_key[0] = 0;
263 netst.st_netname = strdup(fullname);
266 if (key_setnet(&netst) < 0) {
276 write_rootkey(netst.st_priv_key, "des", 192, 0);
H A Dchkey_common.c376 struct key_netstarg netst; local
378 netst.st_pub_key[0] = 0;
379 memcpy(netst.st_priv_key, secret, HEXKEYBYTES);
380 netst.st_netname = netname;
393 if (key_setnet(&netst) < 0) {
H A Dchkey.c617 struct key_netstarg netst; local
641 (void) memcpy(netst.st_priv_key, secret, HEXKEYBYTES);
643 netst.st_pub_key[0] = '\0';
644 netst.st_netname = strdup(netname);
647 if (key_setnet(&netst) < 0) {
/illumos-gate/usr/src/lib/libnsl/rpc/
H A Dkey_call.c89 struct key_netstarg netst; local
97 (void) memcpy(netst.st_priv_key, secretkey, HEXKEYBYTES);
98 netst.st_pub_key[0] = 0;
99 netst.st_netname = netName;
108 ret = key_setnet(&netst);
111 (void) memset(netst.st_priv_key, '\0', HEXKEYBYTES);

Completed in 65 milliseconds