Home
last modified time | relevance | path

Searched refs:sshbuf_new (Results 1 – 25 of 73) sorted by relevance

123

/freebsd/crypto/openssh/regress/unittests/sshbuf/
H A Dtest_sshbuf_misc.c34 p1 = sshbuf_new(); in test_sshbuf_dump()
58 p1 = sshbuf_new(); in test_sshbuf_dtob16()
76 p1 = sshbuf_new(); in test_sshbuf_dtob64_string()
87 p1 = sshbuf_new(); in test_sshbuf_dtob64_string()
99 p1 = sshbuf_new(); in test_sshbuf_dtob64_string()
112 p1 = sshbuf_new(); in test_sshbuf_dtob64_string()
130 p1 = sshbuf_new(); in test_sshbuf_b64tod()
139 p1 = sshbuf_new(); in test_sshbuf_b64tod()
148 p1 = sshbuf_new(); in test_sshbuf_b64tod()
164 p1 = sshbuf_new(); in test_sshbuf_dup_string()
[all …]
H A Dtest_sshbuf_getput_basic.c75 p1 = sshbuf_new(); in sshbuf_getput_basic_tests()
111 p1 = sshbuf_new(); in sshbuf_getput_basic_tests()
129 p1 = sshbuf_new(); in sshbuf_getput_basic_tests()
150 p1 = sshbuf_new(); in sshbuf_getput_basic_tests()
177 p1 = sshbuf_new(); in sshbuf_getput_basic_tests()
198 p1 = sshbuf_new(); in sshbuf_getput_basic_tests()
207 p1 = sshbuf_new(); in sshbuf_getput_basic_tests()
217 p1 = sshbuf_new(); in sshbuf_getput_basic_tests()
227 p1 = sshbuf_new(); in sshbuf_getput_basic_tests()
236 p1 = sshbuf_new(); in sshbuf_getput_basic_tests()
[all …]
H A Dtest_sshbuf_getput_crypto.c81 p1 = sshbuf_new(); in sshbuf_getput_crypto_tests()
93 p1 = sshbuf_new(); in sshbuf_getput_crypto_tests()
105 p1 = sshbuf_new(); in sshbuf_getput_crypto_tests()
118 p1 = sshbuf_new(); in sshbuf_getput_crypto_tests()
130 p1 = sshbuf_new(); in sshbuf_getput_crypto_tests()
147 p1 = sshbuf_new(); in sshbuf_getput_crypto_tests()
162 p1 = sshbuf_new(); in sshbuf_getput_crypto_tests()
177 p1 = sshbuf_new(); in sshbuf_getput_crypto_tests()
195 p1 = sshbuf_new(); in sshbuf_getput_crypto_tests()
211 p1 = sshbuf_new(); in sshbuf_getput_crypto_tests()
[all …]
H A Dtest_sshbuf.c39 p1 = sshbuf_new(); in sshbuf_tests()
69 p1 = sshbuf_new(); in sshbuf_tests()
77 p1 = sshbuf_new(); in sshbuf_tests()
85 p1 = sshbuf_new(); in sshbuf_tests()
140 p1 = sshbuf_new(); in sshbuf_tests()
166 p1 = sshbuf_new(); in sshbuf_tests()
227 p1 = sshbuf_new(); in sshbuf_tests()
244 p1 = sshbuf_new(); in sshbuf_tests()
246 p2 = sshbuf_new(); in sshbuf_tests()
H A Dtest_sshbuf_fixed.c67 p1 = sshbuf_new(); in sshbuf_fixed()
100 p1 = sshbuf_new(); in sshbuf_fixed()
105 p2 = sshbuf_new(); in sshbuf_fixed()
H A Dtest_sshbuf_fuzz.c41 p1 = sshbuf_new(); in sshbuf_fuzz_tests()
107 p1 = sshbuf_new(); in sshbuf_fuzz_tests()
/freebsd/crypto/openssh/
H A Dmonitor_wrap.c97 if ((log_msg = sshbuf_new()) == NULL) in mm_log_handler()
229 if ((m = sshbuf_new()) == NULL) in mm_choose_dh()
264 if ((m = sshbuf_new()) == NULL) in mm_sshkey_setcompat()
281 if ((m = sshbuf_new()) == NULL) in mm_sshkey_sign()
377 if ((m = sshbuf_new()) == NULL) in mm_getpwnamallow()
436 if ((m = sshbuf_new()) == NULL) in mm_auth2_read_banner()
465 if ((m = sshbuf_new()) == NULL) in mm_inform_authserv()
488 if ((m = sshbuf_new()) == NULL) in mm_auth_password()
542 if ((m = sshbuf_new()) == NULL) in mm_key_allowed()
594 if ((m = sshbuf_new()) == NULL) in mm_sshkey_verify()
[all …]
H A Dauthfd.c187 if ((reply = sshbuf_new()) == NULL) in ssh_request_reply_decode()
220 if ((msg = sshbuf_new()) == NULL) in ssh_lock_agent()
273 if ((msg = sshbuf_new()) == NULL) in ssh_fetch_identitylist()
418 if ((msg = sshbuf_new()) == NULL) in ssh_agent_sign()
471 if ((b = sshbuf_new()) == NULL) in encode_dest_constraint_hop()
497 if ((b = sshbuf_new()) == NULL) in encode_dest_constraint()
540 if ((b = sshbuf_new()) == NULL) { in encode_constraints()
559 if ((b = sshbuf_new()) == NULL) { in encode_constraints()
597 if ((msg = sshbuf_new()) == NULL) in ssh_add_identity_constrained()
650 if ((msg = sshbuf_new()) == NULL) in ssh_remove_identity()
[all …]
H A Dssh-sk-helper.c72 if ((resp = sshbuf_new()) == NULL) in reply_error()
148 if ((resp = sshbuf_new()) == NULL) in process_sign()
175 if ((attest = sshbuf_new()) == NULL || in process_enroll()
176 (kbuf = sshbuf_new()) == NULL) in process_enroll()
207 if ((resp = sshbuf_new()) == NULL) in process_enroll()
239 if ((kbuf = sshbuf_new()) == NULL) in process_load_resident()
260 if ((resp = sshbuf_new()) == NULL) in process_load_resident()
330 if ((req = sshbuf_new()) == NULL) in main()
H A Dssh-sk-client.c171 if ((req = sshbuf_new()) == NULL || (resp = sshbuf_new()) == NULL) { in client_converse()
262 if ((kbuf = sshbuf_new()) == NULL || in sshsk_sign()
263 (req = sshbuf_new()) == NULL) { in sshsk_sign()
332 if ((abuf = sshbuf_new()) == NULL || in sshsk_enroll()
333 (kbuf = sshbuf_new()) == NULL || in sshsk_enroll()
334 (req = sshbuf_new()) == NULL) { in sshsk_enroll()
428 if ((kbuf = sshbuf_new()) == NULL || in sshsk_load_resident()
429 (req = sshbuf_new()) == NULL) { in sshsk_load_resident()
H A Dkexc25519.c98 if ((buf = sshbuf_new()) == NULL) in kex_c25519_keypair()
136 if ((server_blob = sshbuf_new()) == NULL) { in kex_c25519_enc()
144 if ((buf = sshbuf_new()) == NULL) { in kex_c25519_enc()
184 if ((buf = sshbuf_new()) == NULL) { in kex_c25519_dec()
H A Dkexsntrup761x25519.c54 if ((buf = sshbuf_new()) == NULL) in kex_kem_sntrup761x25519_keypair()
109 if ((buf = sshbuf_new()) == NULL) { in kex_kem_sntrup761x25519_enc()
117 if ((server_blob = sshbuf_new()) == NULL) { in kex_kem_sntrup761x25519_enc()
189 if ((buf = sshbuf_new()) == NULL) { in kex_kem_sntrup761x25519_dec()
H A Dssh-pkcs11-helper.c71 if ((msg = sshbuf_new()) == NULL) in process_add()
133 if ((msg = sshbuf_new()) == NULL) in process_sign()
250 if ((iqueue = sshbuf_new()) == NULL) in main()
252 if ((oqueue = sshbuf_new()) == NULL) in main()
H A Dkexmlkem768x25519.c57 if ((buf = sshbuf_new()) == NULL) in kex_kem_mlkem768x25519_keypair()
130 if ((buf = sshbuf_new()) == NULL) { in kex_kem_mlkem768x25519_enc()
135 if ((server_blob = sshbuf_new()) == NULL) { in kex_kem_mlkem768x25519_enc()
211 if ((buf = sshbuf_new()) == NULL) { in kex_kem_mlkem768x25519_dec()
H A Dkexdh.c122 if ((buf = sshbuf_new()) == NULL) in kex_dh_keypair()
154 if ((server_blob = sshbuf_new()) == NULL) { in kex_dh_enc()
182 if ((buf = sshbuf_new()) == NULL) { in kex_dh_dec()
H A Dsftp-client.c227 if ((msg = sshbuf_new()) == NULL) in send_string_request()
245 if ((msg = sshbuf_new()) == NULL) in send_string_attrs_request()
266 if ((msg = sshbuf_new()) == NULL) in get_status()
305 if ((msg = sshbuf_new()) == NULL) in get_handle()
344 if ((msg = sshbuf_new()) == NULL) in get_decode_stat()
394 if ((msg = sshbuf_new()) == NULL) in get_decode_statvfs()
463 if ((msg = sshbuf_new()) == NULL) in sftp_init()
618 if ((msg = sshbuf_new()) == NULL) in sftp_get_limits()
666 if ((msg = sshbuf_new()) == NULL) in sftp_close()
703 if ((msg = sshbuf_new()) == NULL) in sftp_lsreaddir()
[all …]
H A Dkexecdh.c68 if ((buf = sshbuf_new()) == NULL) { in kex_ecdh_keypair()
118 if ((server_blob = sshbuf_new()) == NULL) { in kex_ecdh_enc()
149 if ((buf = sshbuf_new()) == NULL) { in kex_ecdh_dec_key_group()
H A Dssh-pkcs11-client.c81 if ((keyblob = sshbuf_new()) == NULL) in helper_by_key()
109 if ((helper->keyblobs[helper->nkeyblobs] = sshbuf_new()) == NULL) in helper_add_key()
248 if ((msg = sshbuf_new()) == NULL) in pkcs11_sign()
399 if ((msg = sshbuf_new()) == NULL) in pkcs11_add_provider()
471 if ((keyblob = sshbuf_new()) == NULL) in pkcs11_key_free()
H A Dmux.c387 if ((cctx->cmd = sshbuf_new()) == NULL) in mux_master_process_new_session()
644 if ((out = sshbuf_new()) == NULL) in mux_confirm_remote_forward()
1106 if ((reply = sshbuf_new()) == NULL) in mux_stdio_confirm()
1202 if ((out = sshbuf_new()) == NULL) in mux_master_read_cb()
1286 if ((m = sshbuf_new()) == NULL) in mux_exit_message()
1309 if ((m = sshbuf_new()) == NULL) in mux_tty_alloc_failed()
1419 if ((reply = sshbuf_new()) == NULL) in mux_session_confirm()
1558 if ((queue = sshbuf_new()) == NULL) in mux_client_write_packet()
1609 if ((queue = sshbuf_new()) == NULL) in mux_client_read_packet_timeout()
1647 if ((m = sshbuf_new()) == NULL) in mux_client_hello_exchange()
[all …]
H A Dsshsig.c56 if ((buf = sshbuf_new()) == NULL) { in sshsig_armor()
141 if ((buf = sshbuf_new()) == NULL) { in sshsig_dearmor()
176 if ((tosign = sshbuf_new()) == NULL || in sshsig_wrap_sign()
177 (blob = sshbuf_new()) == NULL) { in sshsig_wrap_sign()
322 if ((toverify = sshbuf_new()) == NULL) { in sshsig_wrap_verify()
429 if ((b = sshbuf_new()) == NULL) { in hash_buffer()
554 if ((b = sshbuf_new()) == NULL) { in hash_file()
850 if ((nprincipals = sshbuf_new()) == NULL) { in cert_filter_principals()
H A Dsshbuf-misc.c110 if ((ret = sshbuf_new()) == NULL) in sshbuf_b16tod()
171 if ((tmp = sshbuf_new()) == NULL) in sshbuf_dtob64_string()
216 if ((b = sshbuf_new()) == NULL) in sshbuf_dtourlb64()
H A Dsshd-session.c273 if ((hostkeys = sshbuf_new()) == NULL) in pack_hostkeys()
537 if ((buf = sshbuf_new()) == NULL) in notify_hostkeys()
653 if ((m = sshbuf_new()) == NULL || (inc = sshbuf_new()) == NULL) in recv_rexec_state()
673 if ((item->contents = sshbuf_new()) == NULL) in recv_rexec_state()
988 if ((cfg = sshbuf_new()) == NULL) in main()
1245 if ((loginmsg = sshbuf_new()) == NULL) in main()
/freebsd/crypto/openssh/regress/unittests/sshkey/
H A Dtest_fuzz.c59 ASSERT_PTR_NE(buf = sshbuf_new(), NULL); in public_fuzz()
123 ASSERT_PTR_NE(fuzzed = sshbuf_new(), NULL); in sshkey_fuzz_tests()
145 ASSERT_PTR_NE(fuzzed = sshbuf_new(), NULL); in sshkey_fuzz_tests()
168 ASSERT_PTR_NE(fuzzed = sshbuf_new(), NULL); in sshkey_fuzz_tests()
190 ASSERT_PTR_NE(fuzzed = sshbuf_new(), NULL); in sshkey_fuzz_tests()
214 ASSERT_PTR_NE(fuzzed = sshbuf_new(), NULL); in sshkey_fuzz_tests()
H A Dtest_sshkey.c44 sect = sshbuf_new(); in put_opt()
63 ca_buf = sshbuf_new(); in build_cert()
71 pk = sshbuf_new(); in build_cert()
76 principals = sshbuf_new(); in build_cert()
81 critopts = sshbuf_new(); in build_cert()
86 exts = sshbuf_new(); in build_cert()
472 k1->cert->critical = sshbuf_new(); in sshkey_tests()
475 k1->cert->extensions = sshbuf_new(); in sshkey_tests()
483 b = sshbuf_new(); in sshkey_tests()
/freebsd/crypto/openssh/regress/misc/fuzz-harness/
H A Dkex_fuzz.cc346 ts->smsgs = sshbuf_new(); in main()
347 ts->cmsgs = sshbuf_new(); in main()
432 if ((ts->s_template = sshbuf_new()) == NULL || in LLVMFuzzerTestOneInput()
442 if ((ts->c_template = sshbuf_new()) == NULL || in LLVMFuzzerTestOneInput()

123