Home
last modified time | relevance | path

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

123

/freebsd-14.2/crypto/openssh/regress/unittests/sshbuf/
H A Dtest_sshbuf_getput_basic.c77 p1 = sshbuf_new(); in sshbuf_getput_basic_tests()
113 p1 = sshbuf_new(); in sshbuf_getput_basic_tests()
131 p1 = sshbuf_new(); in sshbuf_getput_basic_tests()
152 p1 = sshbuf_new(); in sshbuf_getput_basic_tests()
179 p1 = sshbuf_new(); in sshbuf_getput_basic_tests()
200 p1 = sshbuf_new(); in sshbuf_getput_basic_tests()
209 p1 = sshbuf_new(); in sshbuf_getput_basic_tests()
219 p1 = sshbuf_new(); in sshbuf_getput_basic_tests()
229 p1 = sshbuf_new(); in sshbuf_getput_basic_tests()
238 p1 = sshbuf_new(); in sshbuf_getput_basic_tests()
[all …]
H A Dtest_sshbuf_getput_crypto.c82 p1 = sshbuf_new(); in sshbuf_getput_crypto_tests()
94 p1 = sshbuf_new(); in sshbuf_getput_crypto_tests()
106 p1 = sshbuf_new(); in sshbuf_getput_crypto_tests()
119 p1 = sshbuf_new(); in sshbuf_getput_crypto_tests()
131 p1 = sshbuf_new(); in sshbuf_getput_crypto_tests()
148 p1 = sshbuf_new(); in sshbuf_getput_crypto_tests()
163 p1 = sshbuf_new(); in sshbuf_getput_crypto_tests()
178 p1 = sshbuf_new(); in sshbuf_getput_crypto_tests()
196 p1 = sshbuf_new(); in sshbuf_getput_crypto_tests()
212 p1 = sshbuf_new(); in sshbuf_getput_crypto_tests()
[all …]
H A Dtest_sshbuf_misc.c36 p1 = sshbuf_new(); in sshbuf_misc_tests()
53 p1 = sshbuf_new(); in sshbuf_misc_tests()
64 p1 = sshbuf_new(); in sshbuf_misc_tests()
75 p1 = sshbuf_new(); in sshbuf_misc_tests()
87 p1 = sshbuf_new(); in sshbuf_misc_tests()
100 p1 = sshbuf_new(); in sshbuf_misc_tests()
112 p1 = sshbuf_new(); in sshbuf_misc_tests()
121 p1 = sshbuf_new(); in sshbuf_misc_tests()
130 p1 = sshbuf_new(); in sshbuf_misc_tests()
139 p1 = sshbuf_new(); in sshbuf_misc_tests()
H A Dtest_sshbuf.c40 p1 = sshbuf_new(); in sshbuf_tests()
70 p1 = sshbuf_new(); in sshbuf_tests()
78 p1 = sshbuf_new(); in sshbuf_tests()
86 p1 = sshbuf_new(); in sshbuf_tests()
141 p1 = sshbuf_new(); in sshbuf_tests()
167 p1 = sshbuf_new(); in sshbuf_tests()
228 p1 = sshbuf_new(); in sshbuf_tests()
H A Dtest_sshbuf_fixed.c69 p1 = sshbuf_new(); in sshbuf_fixed()
102 p1 = sshbuf_new(); in sshbuf_fixed()
107 p2 = sshbuf_new(); in sshbuf_fixed()
H A Dtest_sshbuf_fuzz.c43 p1 = sshbuf_new(); in sshbuf_fuzz_tests()
109 p1 = sshbuf_new(); in sshbuf_fuzz_tests()
/freebsd-14.2/crypto/openssh/
H A Dmonitor_wrap.c188 if ((m = sshbuf_new()) == NULL) in mm_choose_dh()
227 if ((m = sshbuf_new()) == NULL) in mm_sshkey_sign()
269 if ((m = sshbuf_new()) == NULL) in mm_getpwnamallow()
359 if ((m = sshbuf_new()) == NULL) in mm_auth2_read_banner()
388 if ((m = sshbuf_new()) == NULL) in mm_inform_authserv()
411 if ((m = sshbuf_new()) == NULL) in mm_auth_password()
465 if ((m = sshbuf_new()) == NULL) in mm_key_allowed()
517 if ((m = sshbuf_new()) == NULL) in mm_sshkey_verify()
558 if ((m = sshbuf_new()) == NULL) in mm_send_keystate()
585 if ((m = sshbuf_new()) == NULL) in mm_pty_allocate()
[all …]
H A Dauthfd.c188 if ((reply = sshbuf_new()) == NULL) in ssh_request_reply_decode()
221 if ((msg = sshbuf_new()) == NULL) in ssh_lock_agent()
274 if ((msg = sshbuf_new()) == NULL) in ssh_fetch_identitylist()
419 if ((msg = sshbuf_new()) == NULL) in ssh_agent_sign()
465 if ((b = sshbuf_new()) == NULL) in encode_dest_constraint_hop()
491 if ((b = sshbuf_new()) == NULL) in encode_dest_constraint()
597 if ((msg = sshbuf_new()) == NULL) in ssh_add_identity_constrained()
655 if ((msg = sshbuf_new()) == NULL) in ssh_remove_identity()
701 if ((msg = sshbuf_new()) == NULL) in ssh_update_card()
738 if ((msg = sshbuf_new()) == NULL) in ssh_remove_all_identities()
[all …]
H A Dssh-sk-helper.c71 if ((resp = sshbuf_new()) == NULL) in reply_error()
131 if ((resp = sshbuf_new()) == NULL) in process_sign()
158 if ((attest = sshbuf_new()) == NULL || in process_enroll()
159 (kbuf = sshbuf_new()) == NULL) in process_enroll()
190 if ((resp = sshbuf_new()) == NULL) in process_enroll()
222 if ((kbuf = sshbuf_new()) == NULL) in process_load_resident()
243 if ((resp = sshbuf_new()) == NULL) in process_load_resident()
313 if ((req = sshbuf_new()) == NULL) in main()
H A Dssh-sk-client.c153 if ((req = sshbuf_new()) == NULL || (resp = sshbuf_new()) == NULL) { in client_converse()
244 if ((kbuf = sshbuf_new()) == NULL || in sshsk_sign()
245 (req = sshbuf_new()) == NULL) { in sshsk_sign()
314 if ((abuf = sshbuf_new()) == NULL || in sshsk_enroll()
315 (kbuf = sshbuf_new()) == NULL || in sshsk_enroll()
316 (req = sshbuf_new()) == NULL) { in sshsk_enroll()
410 if ((kbuf = sshbuf_new()) == NULL || in sshsk_load_resident()
411 (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.c50 if ((buf = sshbuf_new()) == NULL) in kex_kem_sntrup761x25519_keypair()
105 if ((buf = sshbuf_new()) == NULL) { in kex_kem_sntrup761x25519_enc()
113 if ((server_blob = sshbuf_new()) == NULL) { in kex_kem_sntrup761x25519_enc()
185 if ((buf = sshbuf_new()) == NULL) { in kex_kem_sntrup761x25519_dec()
H A Dssh-pkcs11-helper.c129 if ((msg = sshbuf_new()) == NULL) in process_add()
169 if ((msg = sshbuf_new()) == NULL) in process_del()
236 if ((msg = sshbuf_new()) == NULL) in process_sign()
357 if ((iqueue = sshbuf_new()) == NULL) in main()
359 if ((oqueue = sshbuf_new()) == NULL) in main()
H A Dkexdh.c124 if ((buf = sshbuf_new()) == NULL) in kex_dh_keypair()
156 if ((server_blob = sshbuf_new()) == NULL) { in kex_dh_enc()
184 if ((buf = sshbuf_new()) == NULL) { in kex_dh_dec()
H A Dkexecdh.c69 if ((buf = sshbuf_new()) == NULL) { in kex_ecdh_keypair()
119 if ((server_blob = sshbuf_new()) == NULL) { in kex_ecdh_enc()
150 if ((buf = sshbuf_new()) == NULL) { in kex_ecdh_dec_key_group()
H A Dsftp-client.c239 if ((msg = sshbuf_new()) == NULL) in send_string_request()
257 if ((msg = sshbuf_new()) == NULL) in send_string_attrs_request()
278 if ((msg = sshbuf_new()) == NULL) in get_status()
317 if ((msg = sshbuf_new()) == NULL) in get_handle()
356 if ((msg = sshbuf_new()) == NULL) in get_decode_stat()
406 if ((msg = sshbuf_new()) == NULL) in get_decode_statvfs()
475 if ((msg = sshbuf_new()) == NULL) in sftp_init()
633 if ((msg = sshbuf_new()) == NULL) in sftp_get_limits()
681 if ((msg = sshbuf_new()) == NULL) in sftp_close()
718 if ((msg = sshbuf_new()) == NULL) in sftp_lsreaddir()
[all …]
H A Dmux.c610 if ((out = sshbuf_new()) == NULL) in mux_confirm_remote_forward()
1238 if ((m = sshbuf_new()) == NULL) in mux_exit_message()
1261 if ((m = sshbuf_new()) == NULL) in mux_tty_alloc_failed()
1603 if ((m = sshbuf_new()) == NULL) in mux_client_hello_exchange()
1666 if ((m = sshbuf_new()) == NULL) in mux_client_request_alive()
1717 if ((m = sshbuf_new()) == NULL) in mux_client_request_terminate()
1793 if ((m = sshbuf_new()) == NULL) in mux_client_forward()
1913 if ((m = sshbuf_new()) == NULL) in mux_client_request_session()
2081 if ((m = sshbuf_new()) == NULL) in mux_client_proxy()
2134 if ((m = sshbuf_new()) == NULL) in mux_client_request_stdio_fwd()
[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()
317 if ((toverify = sshbuf_new()) == NULL) { in sshsig_wrap_verify()
424 if ((b = sshbuf_new()) == NULL) { in hash_buffer()
549 if ((b = sshbuf_new()) == NULL) { in hash_file()
845 if ((nprincipals = sshbuf_new()) == NULL) { in cert_filter_principals()
H A Dkexgen.c65 if ((b = sshbuf_new()) == NULL) in kex_gen_hash()
231 if ((kex->initial_sig = sshbuf_new()) == NULL) { in input_kex_gen_reply()
321 if ((server_host_key_blob = sshbuf_new()) == NULL) { in input_kex_gen_init()
H A Dsshkey.c786 if ((tmp = sshbuf_new()) == NULL) in sshkey_puts_opts()
819 if ((b = sshbuf_new()) == NULL) in to_blob()
1203 if ((blob = sshbuf_new()) == NULL) in sshkey_read()
1257 if ((b = sshbuf_new()) == NULL) in sshkey_to_base64()
1300 if ((b = sshbuf_new()) == NULL) in sshkey_write()
1579 if ((prvbuf = sshbuf_new()) == NULL) { in sshkey_shield_private()
1719 if ((prvbuf = sshbuf_new()) == NULL) { in sshkey_unshield_private()
2454 if ((b = sshbuf_new()) == NULL) in sshkey_private_serialize_opt()
2774 if ((kdf = sshbuf_new()) == NULL || in sshkey_private_to_blob2()
2775 (encoded = sshbuf_new()) == NULL || in sshkey_private_to_blob2()
[all …]
H A Dkexgexs.c151 if ((shared_secret = sshbuf_new()) == NULL) { in input_kex_dh_gex_init()
157 if ((server_host_key_blob = sshbuf_new()) == NULL) { in input_kex_dh_gex_init()
H A Dsftp-server.c558 if ((msg = sshbuf_new()) == NULL) in send_status_errmsg()
586 if ((msg = sshbuf_new()) == NULL) in send_data_or_handle()
621 if ((msg = sshbuf_new()) == NULL) in send_names()
645 if ((msg = sshbuf_new()) == NULL) in send_attrib()
665 if ((msg = sshbuf_new()) == NULL) in send_statvfs()
718 if ((msg = sshbuf_new()) == NULL) in process_init()
1533 if ((msg = sshbuf_new()) == NULL) in process_extended_limits()
1732 if ((usernames = sshbuf_new()) == NULL || in process_extended_get_users_groups_by_id()
1734 (msg = sshbuf_new()) == NULL) in process_extended_get_users_groups_by_id()
2022 if ((iqueue = sshbuf_new()) == NULL) in sftp_server_main()
[all …]
/freebsd-14.2/crypto/openssh/regress/unittests/sshkey/
H A Dtest_fuzz.c62 ASSERT_PTR_NE(buf = sshbuf_new(), NULL); in public_fuzz()
126 ASSERT_PTR_NE(fuzzed = sshbuf_new(), NULL); in sshkey_fuzz_tests()
148 ASSERT_PTR_NE(fuzzed = sshbuf_new(), NULL); in sshkey_fuzz_tests()
171 ASSERT_PTR_NE(fuzzed = sshbuf_new(), NULL); in sshkey_fuzz_tests()
193 ASSERT_PTR_NE(fuzzed = sshbuf_new(), NULL); in sshkey_fuzz_tests()
217 ASSERT_PTR_NE(fuzzed = sshbuf_new(), NULL); in sshkey_fuzz_tests()
239 ASSERT_PTR_NE(fuzzed = sshbuf_new(), NULL); in sshkey_fuzz_tests()
263 ASSERT_PTR_NE(fuzzed = sshbuf_new(), NULL); in sshkey_fuzz_tests()
H A Dtest_sshkey.c46 sect = sshbuf_new(); in put_opt()
65 ca_buf = sshbuf_new(); in build_cert()
73 pk = sshbuf_new(); in build_cert()
78 principals = sshbuf_new(); in build_cert()
83 critopts = sshbuf_new(); in build_cert()
88 exts = sshbuf_new(); in build_cert()
438 k1->cert->critical = sshbuf_new(); in sshkey_tests()
441 k1->cert->extensions = sshbuf_new(); in sshkey_tests()
449 b = sshbuf_new(); in sshkey_tests()
/freebsd-14.2/crypto/openssh/regress/misc/fuzz-harness/
H A Dkex_fuzz.cc351 ts->smsgs = sshbuf_new(); in main()
352 ts->cmsgs = sshbuf_new(); in main()
438 if ((ts->s_template = sshbuf_new()) == NULL || in LLVMFuzzerTestOneInput()
448 if ((ts->c_template = sshbuf_new()) == NULL || in LLVMFuzzerTestOneInput()

123