Home | History | Annotate | Download | only in openssh

Lines Matching refs:buffer

57 #include "buffer.h"
127 ssh_request_reply(AuthenticationConnection *auth, Buffer *request, Buffer *reply)
132 /* Get the length of the message, and format it in the buffer. */
157 /* Read the rest of the response in to the buffer. */
235 Buffer msg;
258 Buffer request;
371 Buffer buffer;
382 buffer_init(&buffer);
383 buffer_put_char(&buffer, SSH_AGENTC_RSA_CHALLENGE);
384 buffer_put_int(&buffer, BN_num_bits(key->rsa->n));
385 buffer_put_bignum(&buffer, key->rsa->e);
386 buffer_put_bignum(&buffer, key->rsa->n);
387 buffer_put_bignum(&buffer, challenge);
388 buffer_append(&buffer, session_id, 16);
389 buffer_put_int(&buffer, response_type);
391 if (ssh_request_reply(auth, &buffer, &buffer) == 0) {
392 buffer_free(&buffer);
395 type = buffer_get_char(&buffer);
408 response[i] = (u_char)buffer_get_char(&buffer);
410 buffer_free(&buffer);
422 Buffer msg;
461 ssh_encode_identity_rsa1(Buffer *b, RSA *key, const char *comment)
475 ssh_encode_identity_ssh2(Buffer *b, Key *key, const char *comment)
541 Buffer msg;
597 Buffer msg;
633 Buffer msg;
674 Buffer msg;