| /openbsd-src/usr.bin/ssh/ |
| H A D | kexgex.c | 63 if ((r = sshbuf_put_stringb(b, client_version)) < 0 || in kexgex_hash() 64 (r = sshbuf_put_stringb(b, server_version)) < 0 || in kexgex_hash() 72 (r = sshbuf_put_stringb(b, server_host_key_blob)) != 0 || in kexgex_hash()
|
| H A D | kexgen.c | 64 if ((r = sshbuf_put_stringb(b, client_version)) != 0 || in kex_gen_hash() 65 (r = sshbuf_put_stringb(b, server_version)) != 0 || in kex_gen_hash() 73 (r = sshbuf_put_stringb(b, server_host_key_blob)) != 0 || in kex_gen_hash() 74 (r = sshbuf_put_stringb(b, client_pub)) != 0 || in kex_gen_hash() 75 (r = sshbuf_put_stringb(b, server_pub)) != 0 || in kex_gen_hash()
|
| H A D | authfd.c | 475 if ((r = sshbuf_put_stringb(m, b)) != 0) in encode_dest_constraint_hop() 496 if ((r = sshbuf_put_stringb(m, b)) != 0) in encode_dest_constraint() 551 (r = sshbuf_put_stringb(m, b)) != 0) in encode_constraints() 570 (r = sshbuf_put_stringb(m, b)) != 0) in encode_constraints() 766 (r = sshbuf_put_stringb(msg, session_id)) != 0 || in ssh_agent_bind_hostkey() 767 (r = sshbuf_put_stringb(msg, signature)) != 0 || in ssh_agent_bind_hostkey()
|
| H A D | ssh-sk-helper.c | 192 (r = sshbuf_put_stringb(resp, kbuf)) != 0 || in process_enroll() 193 (r = sshbuf_put_stringb(resp, attest)) != 0) in process_enroll() 253 if ((r = sshbuf_put_stringb(resp, kbuf)) != 0 || in process_load_resident()
|
| H A D | krl.c | 632 (r = sshbuf_put_stringb(buf, sect)) != 0) in revoked_certs_generate() 704 (r = sshbuf_put_stringb(buf, sect)) != 0) in revoked_certs_generate() 718 (r = sshbuf_put_stringb(buf, sect)) != 0) in revoked_certs_generate() 759 (r = sshbuf_put_stringb(buf, sect)) != 0) in ssh_krl_to_blob() 772 (r = sshbuf_put_stringb(buf, sect)) != 0) in ssh_krl_to_blob() 784 (r = sshbuf_put_stringb(buf, sect)) != 0) in ssh_krl_to_blob() 796 (r = sshbuf_put_stringb(buf, sect)) != 0) in ssh_krl_to_blob()
|
| H A D | mux.c | 660 if ((r = sshbuf_put_stringb(c->output, out)) != 0) in mux_confirm_remote_forward() 1077 if ((r = sshbuf_put_stringb(cc->output, reply)) != 0) in mux_stdio_confirm() 1158 if ((r = sshbuf_put_stringb(c->output, out)) != 0) in mux_master_read_cb() 1203 (r = sshbuf_put_stringb(c->output, out)) != 0) in mux_master_read_cb() 1229 (r = sshbuf_put_stringb(mux_chan->output, m)) != 0) in mux_exit_message() 1251 (r = sshbuf_put_stringb(mux_chan->output, m)) != 0) in mux_tty_alloc_failed() 1405 if ((r = sshbuf_put_stringb(cc->output, reply)) != 0) in mux_session_confirm() 1499 if ((r = sshbuf_put_stringb(queue, m)) != 0) in mux_client_write_packet() 1904 (r = sshbuf_put_stringb(m, command)) != 0) in mux_client_request_session()
|
| H A D | sshd.c | 624 if ((r = sshbuf_put_stringb(hostkeys, keybuf)) != 0) in pack_hostkeys() 669 (r = sshbuf_put_stringb(inc, item->contents)) != 0) in send_rexec_state() 690 if ((r = sshbuf_put_stringb(m, conf)) != 0 || in send_rexec_state() 692 (r = sshbuf_put_stringb(m, hostkeys)) != 0 || in send_rexec_state() 693 (r = sshbuf_put_stringb(m, inc)) != 0) in send_rexec_state()
|
| H A D | ssh-sk-client.c | 248 if ((r = sshbuf_put_stringb(req, kbuf)) != 0 || in sshsk_sign() 318 (r = sshbuf_put_stringb(req, challenge_buf)) != 0) { in sshsk_enroll()
|
| H A D | packet.c | 2322 (r = sshbuf_put_stringb(m, kex->my)) != 0 || in kex_to_blob() 2323 (r = sshbuf_put_stringb(m, kex->peer)) != 0 || in kex_to_blob() 2324 (r = sshbuf_put_stringb(m, kex->client_version)) != 0 || in kex_to_blob() 2325 (r = sshbuf_put_stringb(m, kex->server_version)) != 0 || in kex_to_blob() 2326 (r = sshbuf_put_stringb(m, kex->session_id)) != 0 || in kex_to_blob() 2370 r = sshbuf_put_stringb(m, b); in newkeys_to_blob() 2396 (r = sshbuf_put_stringb(m, state->input)) != 0 || in ssh_packet_get_state() 2397 (r = sshbuf_put_stringb(m, state->output)) != 0) in ssh_packet_get_state() 2609 return sshbuf_put_stringb(ssh->state->outgoing_packet, v); in sshpkt_put_stringb()
|
| H A D | kexdh.c | 181 if ((r = sshbuf_put_stringb(buf, dh_blob)) != 0 || in kex_dh_dec()
|
| H A D | kexecdh.c | 150 if ((r = sshbuf_put_stringb(buf, ec_blob)) != 0) in kex_ecdh_dec_key_group()
|
| H A D | auth2-hostbased.c | 129 if ((r = sshbuf_put_stringb(b, ssh->kex->session_id)) != 0 || in userauth_hostbased()
|
| H A D | gss-genr.c | 259 if ((r = sshbuf_put_stringb(b, session_id)) != 0 || in ssh_gssapi_buildmic()
|
| H A D | sshkey.c | 886 r = sshbuf_put_stringb(b, tmp); in fingerprint_hex() 2310 if ((ret = sshbuf_put_stringb(cert, principals)) != 0 || in sshkey_cert_check_authority() 2313 (ret = sshbuf_put_stringb(cert, k->cert->critical)) != 0 || in sshkey_cert_check_authority() 2314 (ret = sshbuf_put_stringb(cert, k->cert->extensions)) != 0 || in sshkey_cert_check_authority() 2499 (r = sshbuf_put_stringb(b, key->sk_key_handle)) != 0 || in sshkey_private_deserialize() 2500 (r = sshbuf_put_stringb(b, key->sk_reserved)) != 0) in sshkey_private_deserialize() 2529 if ((r = sshbuf_put_stringb(b, key->cert->certblob)) != 0) in sshkey_private_deserialize() 2862 (r = sshbuf_put_stringb(encoded, kdf)) != 0 || in private2_uudecode()
|
| H A D | sshbuf.h | 201 int sshbuf_put_stringb(struct sshbuf *buf, const struct sshbuf *v);
|
| H A D | ssh-pkcs11-helper.c | 107 if ((r = sshbuf_put_stringb(oqueue, m)) != 0) in send_msg()
|
| H A D | ssh-ecdsa.c | 354 (ret = sshbuf_put_stringb(b, bb)) != 0) in ssh_ecdsa_verify()
|
| H A D | sshsig.c | 185 (r = sshbuf_put_stringb(tosign, h_message)) != 0) { in sshsig_wrap_sign() 330 (r = sshbuf_put_stringb(toverify, h_message)) != 0) { in sshsig_wrap_verify()
|
| H A D | sshbuf-getput-basic.c | 534 sshbuf_put_stringb(struct sshbuf *buf, const struct sshbuf *v) in sshbuf_put_stringb() function
|
| H A D | sftp-server.c | 515 if ((r = sshbuf_put_stringb(oqueue, m)) != 0) in send_msg() 1734 (r = sshbuf_put_stringb(msg, usernames)) != 0 || in process_extended_get_users_groups_by_id() 1735 (r = sshbuf_put_stringb(msg, groupnames)) != 0) in process_extended_get_users_groups_by_id()
|
| H A D | ssh-agent.c | 648 if ((r = sshbuf_put_stringb(e->output, msg)) != 0) 967 if ((r = sshbuf_put_stringb(e->output, msg)) != 0) in process_sign_request2() 1523 (r = sshbuf_put_stringb(e->output, msg)) != 0) in add_p11_identity()
|
| H A D | auth2-pubkey.c | 193 if ((r = sshbuf_put_stringb(b, in userauth_pubkey()
|
| H A D | serverloop.c | 696 (r = sshbuf_put_stringb(sigbuf, in server_input_hostkeys_prove()
|
| /openbsd-src/regress/usr.bin/ssh/unittests/sshkey/ |
| H A D | test_sshkey.c | 42 ASSERT_INT_EQ(sshbuf_put_stringb(b, sect), 0); in put_opt() 88 ASSERT_INT_EQ(sshbuf_put_stringb(b, principals), 0); /* principals */ in build_cert() 91 ASSERT_INT_EQ(sshbuf_put_stringb(b, critopts), 0); /* options */ in build_cert() 92 ASSERT_INT_EQ(sshbuf_put_stringb(b, exts), 0); /* extensions */ in build_cert() 94 ASSERT_INT_EQ(sshbuf_put_stringb(b, ca_buf), 0); /* signature key */ in build_cert()
|
| /openbsd-src/regress/usr.bin/ssh/unittests/sshbuf/ |
| H A D | test_sshbuf_fixed.c | 106 ASSERT_INT_EQ(sshbuf_put_stringb(p2, p1), 0); in sshbuf_fixed() 115 ASSERT_INT_EQ(sshbuf_put_stringb(p2, p1), 0); in sshbuf_fixed()
|