Home
last modified time | relevance | path

Searched refs:sshbuf_put_stringb (Results 1 – 25 of 33) sorted by relevance

12

/openbsd-src/usr.bin/ssh/
H A Dkexgex.c63 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 Dkexgen.c64 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 Dauthfd.c475 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 Dssh-sk-helper.c192 (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 Dkrl.c632 (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 Dmux.c660 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 Dsshd.c624 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 Dssh-sk-client.c248 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 Dpacket.c2322 (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 Dkexdh.c181 if ((r = sshbuf_put_stringb(buf, dh_blob)) != 0 || in kex_dh_dec()
H A Dkexecdh.c150 if ((r = sshbuf_put_stringb(buf, ec_blob)) != 0) in kex_ecdh_dec_key_group()
H A Dauth2-hostbased.c129 if ((r = sshbuf_put_stringb(b, ssh->kex->session_id)) != 0 || in userauth_hostbased()
H A Dgss-genr.c259 if ((r = sshbuf_put_stringb(b, session_id)) != 0 || in ssh_gssapi_buildmic()
H A Dsshkey.c886 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 Dsshbuf.h201 int sshbuf_put_stringb(struct sshbuf *buf, const struct sshbuf *v);
H A Dssh-pkcs11-helper.c107 if ((r = sshbuf_put_stringb(oqueue, m)) != 0) in send_msg()
H A Dssh-ecdsa.c354 (ret = sshbuf_put_stringb(b, bb)) != 0) in ssh_ecdsa_verify()
H A Dsshsig.c185 (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 Dsshbuf-getput-basic.c534 sshbuf_put_stringb(struct sshbuf *buf, const struct sshbuf *v) in sshbuf_put_stringb() function
H A Dsftp-server.c515 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 Dssh-agent.c648 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 Dauth2-pubkey.c193 if ((r = sshbuf_put_stringb(b, in userauth_pubkey()
H A Dserverloop.c696 (r = sshbuf_put_stringb(sigbuf, in server_input_hostkeys_prove()
/openbsd-src/regress/usr.bin/ssh/unittests/sshkey/
H A Dtest_sshkey.c42 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 Dtest_sshbuf_fixed.c106 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()

12