Home
last modified time | relevance | path

Searched refs:sshbuf_mutable_ptr (Results 1 – 22 of 22) sorted by relevance

/freebsd/crypto/openssh/regress/unittests/sshkey/
H A Dtest_fuzz.c63 fuzz = fuzz_begin(fuzzers, sshbuf_mutable_ptr(buf), sshbuf_len(buf)); in public_fuzz()
121 fuzz = fuzz_begin(FUZZ_BASE64, sshbuf_mutable_ptr(buf), in sshkey_fuzz_tests()
143 fuzz = fuzz_begin(FUZZ_BASE64, sshbuf_mutable_ptr(buf), in sshkey_fuzz_tests()
166 fuzz = fuzz_begin(FUZZ_BASE64, sshbuf_mutable_ptr(buf), in sshkey_fuzz_tests()
188 fuzz = fuzz_begin(FUZZ_BASE64, sshbuf_mutable_ptr(buf), in sshkey_fuzz_tests()
212 fuzz = fuzz_begin(FUZZ_BASE64, sshbuf_mutable_ptr(buf), in sshkey_fuzz_tests()
235 fuzz = fuzz_begin(FUZZ_BASE64, sshbuf_mutable_ptr(buf), in sshkey_fuzz_tests()
/freebsd/crypto/openssh/regress/unittests/sshbuf/
H A Dtest_sshbuf_fixed.c38 ASSERT_PTR_EQ(sshbuf_mutable_ptr(p1), NULL); in sshbuf_fixed()
80 ASSERT_PTR_EQ(sshbuf_mutable_ptr(p1), NULL); in sshbuf_fixed()
81 ASSERT_PTR_EQ(sshbuf_mutable_ptr(p2), NULL); in sshbuf_fixed()
H A Dtest_sshbuf_misc.c115 bzero(sshbuf_mutable_ptr(p1), 8192); in test_sshbuf_dtob64_string()
/freebsd/crypto/openssh/regress/unittests/servconf/
H A Dtests.c231 ASSERT_PTR_NE(sshbuf_mutable_ptr(buf), NULL); in check_rejects_bad_version()
232 POKE_U32(sshbuf_mutable_ptr(buf), 2); in check_rejects_bad_version()
250 ASSERT_PTR_NE(sshbuf_mutable_ptr(buf), NULL); in check_rejects_bad_port_count()
251 POKE_U32(sshbuf_mutable_ptr(buf) + 4, MAX_PORTS + 1); in check_rejects_bad_port_count()
/freebsd/crypto/openssh/
H A Dmsg.c55 if (atomicio(vwrite, fd, sshbuf_mutable_ptr(m), mlen) != mlen) { in ssh_msg_send()
H A Dsshbuf-io.c106 if (atomicio(vwrite, fd, sshbuf_mutable_ptr(buf), in sshbuf_write_file()
H A Dsshbuf-getput-basic.c445 if (sshbuf_mutable_ptr(buf) == NULL) in check_woffset()
447 *p = sshbuf_mutable_ptr(buf) + offset; in check_woffset()
H A Dsshd.c724 POKE_U32(sshbuf_mutable_ptr(m), len - 4); in pack_hostkeys()
762 POKE_U32(sshbuf_mutable_ptr(m), len - 4); in pack_config()
812 if (atomicio(vwrite, fd, sshbuf_mutable_ptr(config), mlen) != mlen) in send_rexec_state()
817 if (atomicio(vwrite, fd, sshbuf_mutable_ptr(keys), mlen) != mlen) in send_rexec_state()
H A Dmonitor_wrap.c107 POKE_U32(sshbuf_mutable_ptr(log_msg), len - 4); in mm_log_handler()
109 sshbuf_mutable_ptr(log_msg), len) != len) { in mm_log_handler()
163 atomicio(vwrite, sock, sshbuf_mutable_ptr(m), mlen) != mlen) { in mm_request_send()
H A Dauth2-gss.c305 if ((gssbuf.value = sshbuf_mutable_ptr(b)) == NULL) in input_gssapi_mic()
H A Dsshbuf-misc.c235 if ((p = sshbuf_mutable_ptr(b)) == NULL) { in sshbuf_dtourlb64()
H A Dsshbuf.h111 u_char *sshbuf_mutable_ptr(const struct sshbuf *buf);
H A Dsshbuf.c305 sshbuf_mutable_ptr(const struct sshbuf *buf) in sshbuf_mutable_ptr() function
H A Dssh-pkcs11-client.c168 atomicio(vwrite, fd, sshbuf_mutable_ptr(m), in send_msg()
H A Dpacket.c861 sshbuf_mutable_ptr(in)) == NULL) in compress_buffer()
902 sshbuf_mutable_ptr(in)) == NULL) in uncompress_buffer()
1318 cp = sshbuf_mutable_ptr(state->outgoing_packet); in ssh_packet_send2_wrapped()
2882 cp = sshbuf_mutable_ptr(state->outgoing_packet); in ssh_packet_send_mux()
H A Dkex.c594 if ((cookie = sshbuf_mutable_ptr(kex->my)) == NULL) { in kex_send_kexinit()
1273 sshbuf_mutable_ptr(our_version), in kex_exchange_identification()
H A Dauthfd.c149 atomicio(vwrite, sock, sshbuf_mutable_ptr(request), in ssh_request_reply()
H A Dclientloop.c767 atomicio(vwrite, fileno(stdout), sshbuf_mutable_ptr(bout), in client_suspend_self()
770 atomicio(vwrite, fileno(stderr), sshbuf_mutable_ptr(berr), in client_suspend_self()
H A Dssh_namespace.h850 #define sshbuf_mutable_ptr Fssh_sshbuf_mutable_ptr macro
H A Dsession.c252 if (atomicio(vwrite, fd, sshbuf_mutable_ptr(info), in prepare_auth_info_file()
H A Dsshconnect2.c867 if ((gssbuf.value = sshbuf_mutable_ptr(b)) == NULL) in process_gssapi_token()
H A Dchannels.c1401 ucp = sshbuf_mutable_ptr(b); in x11_open_helper()
2301 buf = data = sshbuf_mutable_ptr(c->output); in channel_handle_wfd()