Lines Matching refs:xpublic
143 char xpublic[1024]; in pk_crypt() local
164 memcpy(xpublic, remote_key->n_bytes, remote_key->n_len); in pk_crypt()
166 bzero((char *)&xpublic, sizeof(xpublic)); in pk_crypt()
167 if (!getpublickey(remote_name, xpublic)) { in pk_crypt()
168 if (nodefaultkeys || !getpublickey("nobody", xpublic)) in pk_crypt()
173 if (!readcache(xpublic, xsecret, &deskey)) { in pk_crypt()
174 public = mp_xtom(xpublic); in pk_crypt()
183 writecache(xpublic, xsecret, &deskey); in pk_crypt()
197 pk_get_conv_key(uid_t uid, keybuf xpublic, cryptkeyres *result) in pk_get_conv_key() argument
220 if (!readcache(xpublic, xsecret, &result->cryptkeyres_u.deskey)) { in pk_get_conv_key()
221 public = mp_xtom(xpublic); in pk_get_conv_key()
230 writecache(xpublic, xsecret, &result->cryptkeyres_u.deskey); in pk_get_conv_key()