/freebsd-src/crypto/openssh/ |
H A D | kexgex.c | 69 if ((r = sshbuf_put_stringb(b, client_version)) < 0 || in kexgex_hash() 70 (r = sshbuf_put_stringb(b, server_version)) < 0 || in kexgex_hash() 78 (r = sshbuf_put_stringb(b, server_host_key_blob)) != 0 || in kexgex_hash()
|
H A D | kexgen.c | 67 if ((r = sshbuf_put_stringb(b, client_version)) != 0 || in kex_gen_hash() 68 (r = sshbuf_put_stringb(b, server_version)) != 0 || in kex_gen_hash() 76 (r = sshbuf_put_stringb(b, server_host_key_blob)) != 0 || in kex_gen_hash() 77 (r = sshbuf_put_stringb(b, client_pub)) != 0 || in kex_gen_hash() 78 (r = sshbuf_put_stringb(b, server_pub)) != 0 || in kex_gen_hash()
|
H A D | authfd.c | 476 if ((r = sshbuf_put_stringb(m, b)) != 0) in encode_dest_constraint_hop() 497 if ((r = sshbuf_put_stringb(m, b)) != 0) in encode_dest_constraint() 552 (r = sshbuf_put_stringb(m, b)) != 0) in encode_constraints() 571 (r = sshbuf_put_stringb(m, b)) != 0) in encode_constraints() 767 (r = sshbuf_put_stringb(msg, session_id)) != 0 || in ssh_agent_bind_hostkey() 768 (r = sshbuf_put_stringb(msg, signature)) != 0 || in ssh_agent_bind_hostkey()
|
H A D | ssh-sk-helper.c | 195 (r = sshbuf_put_stringb(resp, kbuf)) != 0 || in process_enroll() 196 (r = sshbuf_put_stringb(resp, attest)) != 0) in process_enroll() 256 if ((r = sshbuf_put_stringb(resp, kbuf)) != 0 || in process_load_resident()
|
H A D | krl.c | 634 (r = sshbuf_put_stringb(buf, sect)) != 0) in revoked_certs_generate() 706 (r = sshbuf_put_stringb(buf, sect)) != 0) in revoked_certs_generate() 720 (r = sshbuf_put_stringb(buf, sect)) != 0) in revoked_certs_generate() 761 (r = sshbuf_put_stringb(buf, sect)) != 0) in ssh_krl_to_blob() 774 (r = sshbuf_put_stringb(buf, sect)) != 0) in ssh_krl_to_blob() 786 (r = sshbuf_put_stringb(buf, sect)) != 0) in ssh_krl_to_blob() 798 (r = sshbuf_put_stringb(buf, sect)) != 0) in ssh_krl_to_blob()
|
H A D | mux.c | 674 if ((r = sshbuf_put_stringb(c->output, out)) != 0) in mux_confirm_remote_forward() 1091 if ((r = sshbuf_put_stringb(cc->output, reply)) != 0) in mux_stdio_confirm() 1172 if ((r = sshbuf_put_stringb(c->output, out)) != 0) in mux_master_read_cb() 1217 (r = sshbuf_put_stringb(c->output, out)) != 0) in mux_master_read_cb() 1243 (r = sshbuf_put_stringb(mux_chan->output, m)) != 0) in mux_exit_message() 1265 (r = sshbuf_put_stringb(mux_chan->output, m)) != 0) in mux_tty_alloc_failed() 1419 if ((r = sshbuf_put_stringb(cc->output, reply)) != 0) in mux_session_confirm() 1516 if ((r = sshbuf_put_stringb(queue, m)) != 0) in mux_client_write_packet() 1924 (r = sshbuf_put_stringb(m, command)) != 0) in mux_client_request_session()
|
H A D | packet.c | 2260 (r = sshbuf_put_stringb(m, kex->my)) != 0 || in kex_to_blob() 2261 (r = sshbuf_put_stringb(m, kex->peer)) != 0 || in kex_to_blob() 2262 (r = sshbuf_put_stringb(m, kex->client_version)) != 0 || in kex_to_blob() 2263 (r = sshbuf_put_stringb(m, kex->server_version)) != 0 || in kex_to_blob() 2264 (r = sshbuf_put_stringb(m, kex->session_id)) != 0 || in kex_to_blob() 2308 r = sshbuf_put_stringb(m, b); in newkeys_to_blob() 2334 (r = sshbuf_put_stringb(m, state->input)) != 0 || in ssh_packet_get_state() 2335 (r = sshbuf_put_stringb(m, state->output)) != 0) in ssh_packet_get_state() 2547 return sshbuf_put_stringb(ssh->state->outgoing_packet, v); in sshpkt_put_stringb()
|
H A D | ssh-sk-client.c | 254 if ((r = sshbuf_put_stringb(req, kbuf)) != 0 || in sshsk_sign() 328 (r = sshbuf_put_stringb(req, challenge_buf)) != 0) { in sshsk_enroll()
|
H A D | kexdh.c | 188 if ((r = sshbuf_put_stringb(buf, dh_blob)) != 0 || in kex_dh_dec()
|
H A D | kexecdh.c | 154 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 | 265 if ((r = sshbuf_put_stringb(b, session_id)) != 0 || in ssh_gssapi_buildmic()
|
H A D | sshkey.c | 790 r = sshbuf_put_stringb(b, tmp); in sshkey_puts_opts() 2245 if ((ret = sshbuf_put_stringb(cert, principals)) != 0 || in sshkey_certify_custom() 2248 (ret = sshbuf_put_stringb(cert, k->cert->critical)) != 0 || in sshkey_certify_custom() 2249 (ret = sshbuf_put_stringb(cert, k->cert->extensions)) != 0 || in sshkey_certify_custom() 2434 (r = sshbuf_put_stringb(b, key->sk_key_handle)) != 0 || in sshkey_serialize_private_sk() 2435 (r = sshbuf_put_stringb(b, key->sk_reserved)) != 0) in sshkey_serialize_private_sk() 2464 if ((r = sshbuf_put_stringb(b, key->cert->certblob)) != 0) in sshkey_private_serialize_opt() 2810 (r = sshbuf_put_stringb(encoded, kdf)) != 0 || in sshkey_private_to_blob2()
|
H A D | sshbuf.h | 194 int sshbuf_put_stringb(struct sshbuf *buf, const struct sshbuf *v);
|
H A D | ssh-pkcs11-helper.c | 114 if ((r = sshbuf_put_stringb(oqueue, m)) != 0) in send_msg()
|
H A D | ssh-ecdsa.c | 269 (ret = sshbuf_put_stringb(b, bb)) != 0) in ssh_ecdsa_sign()
|
H A D | sshsig.c | 187 (r = sshbuf_put_stringb(tosign, h_message)) != 0) { in sshsig_wrap_sign() 327 (r = sshbuf_put_stringb(toverify, h_message)) != 0) { in sshsig_wrap_verify()
|
H A D | sshd.c | 946 (r = sshbuf_put_stringb(inc, item->contents)) != 0) 959 if ((r = sshbuf_put_stringb(m, conf)) != 0 || 960 (r = sshbuf_put_stringb(m, inc)) != 0)
|
H A D | sshbuf-getput-basic.c | 538 sshbuf_put_stringb(struct sshbuf *buf, const struct sshbuf *v) in sshbuf_put_stringb() function
|
H A D | sftp-server.c | 525 if ((r = sshbuf_put_stringb(oqueue, m)) != 0) in send_msg() 1765 (r = sshbuf_put_stringb(msg, usernames)) != 0 || in process_extended_get_users_groups_by_id() 1766 (r = sshbuf_put_stringb(msg, groupnames)) != 0) in process_extended_get_users_groups_by_id()
|
H A D | ssh-agent.c | 674 if ((r = sshbuf_put_stringb(e->output, msg)) != 0) in process_request_identities() 992 if ((r = sshbuf_put_stringb(e->output, msg)) != 0) in process_sign_request2() 1542 (r = sshbuf_put_stringb(e->output, msg)) != 0) in no_identities()
|
H A D | auth2-pubkey.c | 194 if ((r = sshbuf_put_stringb(b, in userauth_pubkey()
|
H A D | monitor.c | 1012 (r = sshbuf_put_stringb(m, loginmsg)) != 0) in mm_answer_pam_account() 1581 if ((r = sshbuf_put_stringb(m, loginmsg)) != 0) in mm_answer_pty()
|
/freebsd-src/crypto/openssh/regress/unittests/sshkey/ |
H A D | test_sshkey.c | 51 ASSERT_INT_EQ(sshbuf_put_stringb(b, sect), 0); in put_opt() 98 ASSERT_INT_EQ(sshbuf_put_stringb(b, principals), 0); /* principals */ in build_cert() 101 ASSERT_INT_EQ(sshbuf_put_stringb(b, critopts), 0); /* options */ in build_cert() 102 ASSERT_INT_EQ(sshbuf_put_stringb(b, exts), 0); /* extensions */ in build_cert() 104 ASSERT_INT_EQ(sshbuf_put_stringb(b, ca_buf), 0); /* signature key */ in build_cert()
|
/freebsd-src/crypto/openssh/regress/unittests/sshbuf/ |
H A D | test_sshbuf_fixed.c | 110 ASSERT_INT_EQ(sshbuf_put_stringb(p2, p1), 0); in sshbuf_fixed() 119 ASSERT_INT_EQ(sshbuf_put_stringb(p2, p1), 0); in sshbuf_fixed()
|