Lines Matching refs:keybuf
64 buffer* keybuf = NULL;
77 keybuf = buf_new(MAX_PUBKEY_SIZE);
92 keybuf->pos = keybuf->len = 0;
93 buf_put_pub_key(keybuf, keyitem->key, keytype);
94 buf_setpos(keybuf, 0);
95 buf_incrpos(keybuf, 4); /* first int is the length of the remainder (ie
100 if (keybuf->len-4 != remotelen) {
101 TRACE(("lengths differed: localh %d remote %d", keybuf->len, remotelen))
105 if (memcmp(buf_getptr(keybuf, remotelen),
115 buf_free(keybuf);