Lines Matching refs:xpublic

1282 	char xpublic[1024];  local
1301 memcpy(xpublic, remote_key->n_bytes, remote_key->n_len);
1303 if (!getpublickey(remote_name, xpublic)) {
1304 if (nodefaultkeys || !getpublickey("nobody", xpublic))
1310 xpublic[HEXKEYBYTES] = '\0';
1312 hash = hash_keys(xpublic, xsecret);
1314 if (!readcache(xpublic, xsecret, &deskey, hash)) {
1317 if (!readcache(xpublic, xsecret, &deskey, hash)) {
1318 public = mp_xtom(xpublic);
1328 writecache(xpublic, xsecret, &deskey, hash);
1497 keybuf3 *xsecret, *xpublic; in pk_get_conv_key3() local
1524 xpublic = &arg->pub_key; in pk_get_conv_key3()
1526 xpublic, xsecret, uid)) == NULL) { in pk_get_conv_key3()
1544 keybuf3 *xsecret = NULL, *xpublic = NULL; in pk_crypt3() local
1578 if ((xpublic = cpykeybuf3(&arg->remotekey)) == NULL) { in pk_crypt3()
1583 if ((xpublic = getkeybuf3(arg->keylen/4+1)) == NULL) { in pk_crypt3()
1590 xpublic->keybuf3_val, xpublic->keybuf3_len)) { in pk_crypt3()
1595 xpublic->keybuf3_val, xpublic->keybuf3_len)) { in pk_crypt3()
1599 freekeybuf3(xpublic); in pk_crypt3()
1608 arg->deskey.deskeyarray_len, xpublic, xsecret, uid)) == NULL) { in pk_crypt3()
1610 freekeybuf3(xpublic); in pk_crypt3()
1629 freekeybuf3(xpublic); in pk_crypt3()
1636 freekeybuf3(xpublic); in pk_crypt3()
1647 char xpublic[1024]; local
1664 memcpy(xpublic, pubkey, sizeof (keybuf));
1666 xpublic[HEXKEYBYTES] = '\0';
1668 hash = hash_keys(xpublic, xsecret);
1670 if (!readcache(xpublic, xsecret, &result->cryptkeyres_u.deskey, hash)) {
1673 if (!readcache(xpublic, xsecret, &result->cryptkeyres_u.deskey,
1675 public = mp_xtom(xpublic);
1685 writecache(xpublic, xsecret,