Home | History | Annotate | Download | only in openssh

Lines Matching refs:copy

282 	Buffer copy;
299 buffer_init(&copy);
300 buffer_append(&copy, buffer_ptr(blob), buffer_len(blob));
301 buffer_consume(&copy, sizeof(authfile_id_string));
304 (void) buffer_get_char(&copy); /* cipher type */
305 (void) buffer_get_int(&copy); /* reserved */
308 (void) buffer_get_int(&copy);
310 buffer_get_bignum(&copy, pub->rsa->n);
311 buffer_get_bignum(&copy, pub->rsa->e);
313 *commentp = buffer_get_string(&copy, NULL);
315 buffer_free(&copy);
426 Buffer copy;
443 buffer_init(&copy);
444 buffer_append(&copy, buffer_ptr(blob), buffer_len(blob));
445 buffer_consume(&copy, sizeof(authfile_id_string));
448 cipher_type = buffer_get_char(&copy);
449 (void) buffer_get_int(&copy); /* Reserved data. */
452 (void) buffer_get_int(&copy);
455 buffer_get_bignum(&copy, prv->rsa->n);
456 buffer_get_bignum(&copy, prv->rsa->e);
458 *commentp = buffer_get_string(&copy, NULL);
460 (void)buffer_get_string_ptr(&copy, NULL);
466 buffer_free(&copy);
471 cp = buffer_append_space(&decrypted, buffer_len(&copy));
477 buffer_ptr(&copy), buffer_len(&copy));
480 buffer_free(&copy);