Lines Matching defs:kbuf
94 struct sshbuf *resp, *kbuf;
102 if ((r = sshbuf_froms(req, &kbuf)) != 0 ||
112 if ((r = sshkey_private_deserialize(kbuf, &key)) != 0)
139 sshbuf_free(kbuf);
155 struct sshbuf *challenge, *attest, *kbuf, *resp;
159 (kbuf = sshbuf_new()) == NULL)
192 if ((r = sshkey_private_serialize(key, kbuf)) != 0)
195 (r = sshbuf_put_stringb(resp, kbuf)) != 0 ||
201 sshbuf_free(kbuf);
217 struct sshbuf *kbuf, *resp;
222 if ((kbuf = sshbuf_new()) == NULL)
253 sshbuf_reset(kbuf);
254 if ((r = sshkey_private_serialize(srks[i]->key, kbuf)) != 0)
256 if ((r = sshbuf_put_stringb(resp, kbuf)) != 0 ||
265 sshbuf_free(kbuf);