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.c476 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 Dssh-sk-helper.c195 (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 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.c613 (r = sshbuf_put_stringb(inc, item->contents)) != 0) in mm_answer_state()
640 if ((r = sshbuf_put_stringb(m, cfg)) != 0 || in mm_answer_state()
642 (r = sshbuf_put_stringb(m, hostkeys)) != 0 || in mm_answer_state()
643 (r = sshbuf_put_stringb(m, ssh->kex->server_version)) != 0 || in mm_answer_state()
644 (r = sshbuf_put_stringb(m, ssh->kex->client_version)) != 0 || in mm_answer_state()
645 (r = sshbuf_put_stringb(m, inc)) != 0) in mm_answer_state()
1134 (r = sshbuf_put_stringb(m, loginmsg)) != 0) in mm_answer_pam_account()
1703 if ((r = sshbuf_put_stringb(m, loginmsg)) != 0) in mm_answer_pty()
H A Dmux.c673 if ((r = sshbuf_put_stringb(c->output, out)) != 0) in mux_confirm_remote_forward()
1090 if ((r = sshbuf_put_stringb(cc->output, reply)) != 0) in mux_stdio_confirm()
1171 if ((r = sshbuf_put_stringb(c->output, out)) != 0) in mux_master_read_cb()
1216 (r = sshbuf_put_stringb(c->output, out)) != 0) in mux_master_read_cb()
1242 (r = sshbuf_put_stringb(mux_chan->output, m)) != 0) in mux_exit_message()
1264 (r = sshbuf_put_stringb(mux_chan->output, m)) != 0) in mux_tty_alloc_failed()
1418 if ((r = sshbuf_put_stringb(cc->output, reply)) != 0) in mux_session_confirm()
1515 if ((r = sshbuf_put_stringb(queue, m)) != 0) in mux_client_write_packet()
1923 (r = sshbuf_put_stringb(m, command)) != 0) in mux_client_request_session()
H A Dpacket.c2357 (r = sshbuf_put_stringb(m, kex->my)) != 0 || in kex_to_blob()
2358 (r = sshbuf_put_stringb(m, kex->peer)) != 0 || in kex_to_blob()
2359 (r = sshbuf_put_stringb(m, kex->client_version)) != 0 || in kex_to_blob()
2360 (r = sshbuf_put_stringb(m, kex->server_version)) != 0 || in kex_to_blob()
2361 (r = sshbuf_put_stringb(m, kex->session_id)) != 0 || in kex_to_blob()
2405 r = sshbuf_put_stringb(m, b); in newkeys_to_blob()
2431 (r = sshbuf_put_stringb(m, state->input)) != 0 || in ssh_packet_get_state()
2432 (r = sshbuf_put_stringb(m, state->output)) != 0) in ssh_packet_get_state()
2644 return sshbuf_put_stringb(ssh->state->outgoing_packet, v); in sshpkt_put_stringb()
H A Dssh-sk-client.c254 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 Dkexdh.c188 if ((r = sshbuf_put_stringb(buf, dh_blob)) != 0 || in kex_dh_dec()
H A Dkexecdh.c154 if ((r = sshbuf_put_stringb(buf, ec_blob)) != 0) in kex_ecdh_dec_key_group()
H A Dsshd.c697 if ((r = sshbuf_put_stringb(hostkeys, keybuf)) != 0) in pack_hostkeys()
722 (r = sshbuf_put_stringb(m, hostkeys)) != 0) in pack_hostkeys()
751 (r = sshbuf_put_stringb(inc, item->contents)) != 0) in pack_config()
757 (r = sshbuf_put_stringb(m, conf)) != 0 || in pack_config()
759 (r = sshbuf_put_stringb(m, inc)) != 0) in pack_config()
H A Dauth2-hostbased.c130 if ((r = sshbuf_put_stringb(b, ssh->kex->session_id)) != 0 || in userauth_hostbased()
H A Dgss-genr.c265 if ((r = sshbuf_put_stringb(b, session_id)) != 0 || in ssh_gssapi_buildmic()
H A Dsshkey.c926 r = sshbuf_put_stringb(b, tmp); in sshkey_puts_opts()
2350 if ((ret = sshbuf_put_stringb(cert, principals)) != 0 || in sshkey_certify_custom()
2353 (ret = sshbuf_put_stringb(cert, k->cert->critical)) != 0 || in sshkey_certify_custom()
2354 (ret = sshbuf_put_stringb(cert, k->cert->extensions)) != 0 || in sshkey_certify_custom()
2539 (r = sshbuf_put_stringb(b, key->sk_key_handle)) != 0 || in sshkey_serialize_private_sk()
2540 (r = sshbuf_put_stringb(b, key->sk_reserved)) != 0) in sshkey_serialize_private_sk()
2569 if ((r = sshbuf_put_stringb(b, key->cert->certblob)) != 0) in sshkey_private_serialize_opt()
2902 (r = sshbuf_put_stringb(encoded, kdf)) != 0 || in sshkey_private_to_blob2()
H A Dsshbuf.h195 int sshbuf_put_stringb(struct sshbuf *buf, const struct sshbuf *v);
H A Dssh-pkcs11-helper.c117 if ((r = sshbuf_put_stringb(oqueue, m)) != 0) in send_msg()
H A Dssh-ecdsa.c364 (ret = sshbuf_put_stringb(b, bb)) != 0) in ssh_ecdsa_sign()
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 Dsshbuf-getput-basic.c538 sshbuf_put_stringb(struct sshbuf *buf, const struct sshbuf *v) in sshbuf_put_stringb() function
H A Dsftp-server.c525 if ((r = sshbuf_put_stringb(oqueue, m)) != 0) in send_msg()
1767 (r = sshbuf_put_stringb(msg, usernames)) != 0 || in process_extended_get_users_groups_by_id()
1768 (r = sshbuf_put_stringb(msg, groupnames)) != 0) in process_extended_get_users_groups_by_id()
H A Dssh-agent.c679 if ((r = sshbuf_put_stringb(e->output, msg)) != 0) in process_request_identities()
998 if ((r = sshbuf_put_stringb(e->output, msg)) != 0) in process_sign_request2()
1558 (r = sshbuf_put_stringb(e->output, msg)) != 0) in no_identities()
H A Dserverloop.c707 (r = sshbuf_put_stringb(sigbuf, in server_input_hostkeys_prove()
/freebsd/crypto/openssh/regress/unittests/sshkey/
H A Dtest_sshkey.c51 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/crypto/openssh/regress/unittests/sshbuf/
H A Dtest_sshbuf_fixed.c110 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()

12