Lines Matching refs:xpublic
170 char xpublic[1024];
191 memcpy(xpublic, remote_key->n_bytes, remote_key->n_len);
193 bzero((char *)&xpublic, sizeof(xpublic));
194 if (!getpublickey(remote_name, xpublic)) {
195 if (nodefaultkeys || !getpublickey("nobody", xpublic))
200 if (!readcache(xpublic, xsecret, &deskey)) {
201 public = mp_xtom(xpublic);
210 writecache(xpublic, xsecret, &deskey);
224 pk_get_conv_key(uid, xpublic, result)
226 keybuf xpublic;
250 if (!readcache(xpublic, xsecret, &result->cryptkeyres_u.deskey)) {
251 public = mp_xtom(xpublic);
260 writecache(xpublic, xsecret, &result->cryptkeyres_u.deskey);