Home
last modified time | relevance | path

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

12

/freebsd/crypto/openssh/
H A Dkexgex.c69 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 Dkexgen.c67 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 Dauthfd.c482 if ((r = sshbuf_put_stringb(m, b)) != 0) in encode_dest_constraint_hop()
503 if ((r = sshbuf_put_stringb(m, b)) != 0) in encode_dest_constraint()
553 (r = sshbuf_put_stringb(m, b)) != 0) in encode_constraints()
572 (r = sshbuf_put_stringb(m, b)) != 0) in encode_constraints()
762 (r = sshbuf_put_stringb(msg, session_id)) != 0 || in ssh_agent_bind_hostkey()
763 (r = sshbuf_put_stringb(msg, signature)) != 0 || in ssh_agent_bind_hostkey()
H A Dssh-sk-helper.c212 (r = sshbuf_put_stringb(resp, kbuf)) != 0 || in process_enroll()
213 (r = sshbuf_put_stringb(resp, attest)) != 0) in process_enroll()
273 if ((r = sshbuf_put_stringb(resp, kbuf)) != 0 || in process_load_resident()
H A Dkrl.c634 (r = sshbuf_put_stringb(buf, sect)) != 0) in revoked_certs_generate()
707 (r = sshbuf_put_stringb(buf, sect)) != 0) in revoked_certs_generate()
721 (r = sshbuf_put_stringb(buf, sect)) != 0) in revoked_certs_generate()
762 (r = sshbuf_put_stringb(buf, sect)) != 0) in ssh_krl_to_blob()
775 (r = sshbuf_put_stringb(buf, sect)) != 0) in ssh_krl_to_blob()
787 (r = sshbuf_put_stringb(buf, sect)) != 0) in ssh_krl_to_blob()
799 (r = sshbuf_put_stringb(buf, sect)) != 0) in ssh_krl_to_blob()
H A Dmonitor.c624 (r = sshbuf_put_stringb(inc, item->contents)) != 0) in mm_answer_state()
651 if ((r = sshbuf_put_stringb(m, cfg)) != 0 || in mm_answer_state()
653 (r = sshbuf_put_stringb(m, hostkeys)) != 0 || in mm_answer_state()
654 (r = sshbuf_put_stringb(m, ssh->kex->server_version)) != 0 || in mm_answer_state()
655 (r = sshbuf_put_stringb(m, ssh->kex->client_version)) != 0 || in mm_answer_state()
656 (r = sshbuf_put_stringb(m, inc)) != 0) in mm_answer_state()
1167 (r = sshbuf_put_stringb(m, loginmsg)) != 0) in mm_answer_pam_account()
1737 if ((r = sshbuf_put_stringb(m, loginmsg)) != 0) in mm_answer_pty()
H A Dmux.c708 if ((r = sshbuf_put_stringb(c->output, out)) != 0) in mux_confirm_remote_forward()
1126 if ((r = sshbuf_put_stringb(cc->output, reply)) != 0) in mux_stdio_confirm()
1220 if ((r = sshbuf_put_stringb(c->output, out)) != 0) in mux_master_read_cb()
1265 (r = sshbuf_put_stringb(c->output, out)) != 0) in mux_master_read_cb()
1291 (r = sshbuf_put_stringb(mux_chan->output, m)) != 0) in mux_exit_message()
1313 (r = sshbuf_put_stringb(mux_chan->output, m)) != 0) in mux_tty_alloc_failed()
1463 if ((r = sshbuf_put_stringb(cc->output, reply)) != 0) in mux_session_confirm()
1560 if ((r = sshbuf_put_stringb(queue, m)) != 0) in mux_client_write_packet()
2025 (r = sshbuf_put_stringb(m, command)) != 0) in mux_client_request_session()
H A Dssh-sk-client.c272 if ((r = sshbuf_put_stringb(req, kbuf)) != 0 || in sshsk_sign()
346 (r = sshbuf_put_stringb(req, challenge_buf)) != 0) { in sshsk_enroll()
H A Dkexdh.c186 if ((r = sshbuf_put_stringb(buf, dh_blob)) != 0 || in kex_dh_dec()
H A Dpacket.c2417 (r = sshbuf_put_stringb(m, kex->my)) != 0 || in kex_to_blob()
2418 (r = sshbuf_put_stringb(m, kex->peer)) != 0 || in kex_to_blob()
2419 (r = sshbuf_put_stringb(m, kex->client_version)) != 0 || in kex_to_blob()
2420 (r = sshbuf_put_stringb(m, kex->server_version)) != 0 || in kex_to_blob()
2421 (r = sshbuf_put_stringb(m, kex->session_id)) != 0 || in kex_to_blob()
2465 r = sshbuf_put_stringb(m, b); in newkeys_to_blob()
2492 (r = sshbuf_put_stringb(m, state->input)) != 0 || in ssh_packet_get_state()
2493 (r = sshbuf_put_stringb(m, state->output)) != 0 || in ssh_packet_get_state()
2719 return sshbuf_put_stringb(ssh->state->outgoing_packet, v); in sshpkt_put_stringb()
H A Dkexecdh.c153 if ((r = sshbuf_put_stringb(buf, ec_blob)) != 0) in kex_ecdh_dec_key_group()
H A Dsshd.c695 if ((r = sshbuf_put_stringb(hostkeys, keybuf)) != 0) in pack_hostkeys()
720 (r = sshbuf_put_stringb(m, hostkeys)) != 0) in pack_hostkeys()
749 (r = sshbuf_put_stringb(inc, item->contents)) != 0) in pack_config()
755 (r = sshbuf_put_stringb(m, conf)) != 0 || in pack_config()
757 (r = sshbuf_put_stringb(m, inc)) != 0) in pack_config()
H A Dauth2-hostbased.c131 if ((r = sshbuf_put_stringb(b, ssh->kex->session_id)) != 0 || in userauth_hostbased()
H A Dssh-pkcs11-helper.c56 if ((r = sshbuf_put_stringb(oqueue, m)) != 0) in send_msg()
H A Dgss-genr.c265 if ((r = sshbuf_put_stringb(b, session_id)) != 0 || in ssh_gssapi_buildmic()
H A Dsshkey.c910 r = sshbuf_put_stringb(b, tmp); in sshkey_puts_opts_internal()
2342 if ((ret = sshbuf_put_stringb(cert, principals)) != 0 || in sshkey_certify_custom()
2345 (ret = sshbuf_put_stringb(cert, k->cert->critical)) != 0 || in sshkey_certify_custom()
2346 (ret = sshbuf_put_stringb(cert, k->cert->extensions)) != 0 || in sshkey_certify_custom()
2528 (r = sshbuf_put_stringb(b, key->sk_key_handle)) != 0 || in sshkey_serialize_private_sk()
2529 (r = sshbuf_put_stringb(b, key->sk_reserved)) != 0) in sshkey_serialize_private_sk()
2558 if ((r = sshbuf_put_stringb(b, key->cert->certblob)) != 0) in sshkey_private_serialize_opt()
2878 (r = sshbuf_put_stringb(encoded, kdf)) != 0 || in sshkey_private_to_blob2()
H A Dsshbuf.h215 int sshbuf_put_stringb(struct sshbuf *buf, const struct sshbuf *v);
H A Dsshsig.c187 (r = sshbuf_put_stringb(tosign, h_message)) != 0) { in sshsig_wrap_sign()
332 (r = sshbuf_put_stringb(toverify, h_message)) != 0) { in sshsig_wrap_verify()
H A Dssh-ecdsa.c387 (ret = sshbuf_put_stringb(b, bb)) != 0) in ssh_ecdsa_encode_store_sig()
H A Dssh-agent.c674 if ((r = sshbuf_put_stringb(e->output, msg)) != 0) in process_request_identities()
993 if ((r = sshbuf_put_stringb(e->output, msg)) != 0) in process_sign_request2()
1533 (r = sshbuf_put_stringb(e->output, msg)) != 0) in no_identities()
1797 if ((r = sshbuf_put_stringb(e->output, msg)) != 0) in process_ext_query()
H A Dsftp-server.c517 if ((r = sshbuf_put_stringb(oqueue, m)) != 0) in send_msg()
1759 (r = sshbuf_put_stringb(msg, usernames)) != 0 || in process_extended_get_users_groups_by_id()
1760 (r = sshbuf_put_stringb(msg, groupnames)) != 0) in process_extended_get_users_groups_by_id()
H A Dsshbuf-getput-basic.c536 sshbuf_put_stringb(struct sshbuf *buf, const struct sshbuf *v) in sshbuf_put_stringb() function
H A Dssh-sk.c601 if ((r = sshbuf_put_stringb(sig, inner_sig)) != 0 || in sshsk_ecdsa_sig()
/freebsd/crypto/openssh/regress/unittests/sshbuf/
H A Dtest_sshbuf_fixed.c108 ASSERT_INT_EQ(sshbuf_put_stringb(p2, p1), 0); in sshbuf_fixed()
117 ASSERT_INT_EQ(sshbuf_put_stringb(p2, p1), 0); in sshbuf_fixed()
/freebsd/crypto/openssh/regress/unittests/sshkey/
H A Dtest_sshkey.c49 ASSERT_INT_EQ(sshbuf_put_stringb(b, sect), 0); in put_opt()
96 ASSERT_INT_EQ(sshbuf_put_stringb(b, principals), 0); /* principals */ in build_cert()
99 ASSERT_INT_EQ(sshbuf_put_stringb(b, critopts), 0); /* options */ in build_cert()
100 ASSERT_INT_EQ(sshbuf_put_stringb(b, exts), 0); /* extensions */ in build_cert()
102 ASSERT_INT_EQ(sshbuf_put_stringb(b, ca_buf), 0); /* signature key */ in build_cert()

12