Home
last modified time | relevance | path

Searched refs:st_priv_key (Results 1 – 10 of 10) sorted by relevance

/illumos-gate/usr/src/lib/pam_modules/dhkeys/
H A Dkey_call_uid.c168 arg.st_priv_key.keybuf3_len = 0; in key_setnet_g_uid()
170 arg.st_priv_key.keybuf3_len = skeylen/4 + 1; in key_setnet_g_uid()
172 arg.st_priv_key.keybuf3_val = (char *)skey; in key_setnet_g_uid()
199 (void) memcpy(&tmp.st_priv_key, skey, in key_setnet_g_uid()
200 sizeof (tmp.st_priv_key)); in key_setnet_g_uid()
202 (void) memset(&tmp.st_priv_key, 0, in key_setnet_g_uid()
203 sizeof (tmp.st_priv_key)); in key_setnet_g_uid()
243 (kres.key_netstres_u.knet.st_priv_key[0] != 0)) { in key_secretkey_is_set_uid()
245 (void) memset(kres.key_netstres_u.knet.st_priv_key, 0, in key_secretkey_is_set_uid()
/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()
198 (kres.key_netstres_u.knet.st_priv_key[0] != 0)) { in key_secretkey_is_set_ext()
200 (void) memset(kres.key_netstres_u.knet.st_priv_key, 0, in key_secretkey_is_set_ext()
257 (kres.key_netstres3_u.knet.st_priv_key.keybuf3_len != 0)) { in key_secretkey_is_set_g_ext()
259 (void) memset(kres.key_netstres3_u.knet.st_priv_key.keybuf3_val, in key_secretkey_is_set_g_ext()
260 0, kres.key_netstres3_u.knet.st_priv_key.keybuf3_len); in key_secretkey_is_set_g_ext()
634 arg.st_priv_key.keybuf3_len = 0; in key_setnet_g_ext()
636 arg.st_priv_key.keybuf3_len = skeylen/4 + 1; in key_setnet_g_ext()
638 arg.st_priv_key.keybuf3_val = (char *)skey; in key_setnet_g_ext()
[all …]
H A Dkey_prot.c194 if (!xdr_keybuf(xdrs, objp->st_priv_key)) in xdr_key_netstarg()
204 if (!xdr_keybuf3(xdrs, &objp->st_priv_key)) in xdr_key_netstarg3()
/illumos-gate/usr/src/uts/common/rpc/
H A Dkey_prot.x203 keybuf st_priv_key; member
209 keybuf3 st_priv_key; member
/illumos-gate/usr/src/cmd/keyserv/
H A Dsetkey.c800 memcpy(new->keynetdata.st_priv_key, netstore->st_priv_key,
851 if ((cp->secretkey = cpykeybuf3(&net->st_priv_key)) == NULL) { in appendnetname3()
898 memcpy(netstore.st_priv_key, net->st_priv_key.keybuf3_val, in store_netname3()
944 tmp.st_priv_key = *secret; in addmasterkey()
969 memcpy(key_netst->st_priv_key,
970 l->keynetdata.st_priv_key, HEXKEYBYTES);
1116 if (!storekeybuf3(&ret->st_priv_key, cp->secretkey)) { in fetch_netname3()
1245 memcpy(buf, l->keynetdata.st_priv_key,
1762 removecache(new->keynetdata.st_priv_key);
1765 memcpy(new->keynetdata.st_priv_key, key,
H A Dkeylogin.c257 memcpy(netst.st_priv_key, secret, HEXKEYBYTES); in oldkeylogin()
274 write_rootkey(netst.st_priv_key, "des", 192, 0); in oldkeylogin()
H A Dkeyserv.c706 arg->st_pub_key, sizeof (arg->st_priv_key),
707 arg->st_priv_key);
738 sizeof (keynetname->key_netstres_u.knet.st_priv_key),
739 keynetname->key_netstres_u.knet.st_priv_key);
1041 free(keynetname->key_netstres3_u.knet.st_priv_key.keybuf3_val); in __key_net_get_3_svc_free()
H A Dchkey_common.c379 memcpy(netst.st_priv_key, secret, HEXKEYBYTES); in keylogin()
H A Dchkey.c641 (void) memcpy(netst.st_priv_key, secret, HEXKEYBYTES); in keylogin_des()
/illumos-gate/usr/src/uts/common/rpc/sec/
H A Dkey_prot.c137 if (!xdr_keybuf(xdrs, objp->st_priv_key)) in xdr_key_netstarg()