Home
last modified time | relevance | path

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

123

/freebsd-13.1/crypto/openssh/regress/unittests/sshbuf/
H A Dtest_sshbuf_getput_basic.c78 p1 = sshbuf_new(); in sshbuf_getput_basic_tests()
114 p1 = sshbuf_new(); in sshbuf_getput_basic_tests()
132 p1 = sshbuf_new(); in sshbuf_getput_basic_tests()
153 p1 = sshbuf_new(); in sshbuf_getput_basic_tests()
180 p1 = sshbuf_new(); in sshbuf_getput_basic_tests()
201 p1 = sshbuf_new(); in sshbuf_getput_basic_tests()
210 p1 = sshbuf_new(); in sshbuf_getput_basic_tests()
220 p1 = sshbuf_new(); in sshbuf_getput_basic_tests()
230 p1 = sshbuf_new(); in sshbuf_getput_basic_tests()
239 p1 = sshbuf_new(); in sshbuf_getput_basic_tests()
[all …]
H A Dtest_sshbuf_getput_crypto.c83 p1 = sshbuf_new(); in sshbuf_getput_crypto_tests()
95 p1 = sshbuf_new(); in sshbuf_getput_crypto_tests()
107 p1 = sshbuf_new(); in sshbuf_getput_crypto_tests()
120 p1 = sshbuf_new(); in sshbuf_getput_crypto_tests()
132 p1 = sshbuf_new(); in sshbuf_getput_crypto_tests()
149 p1 = sshbuf_new(); in sshbuf_getput_crypto_tests()
164 p1 = sshbuf_new(); in sshbuf_getput_crypto_tests()
179 p1 = sshbuf_new(); in sshbuf_getput_crypto_tests()
197 p1 = sshbuf_new(); in sshbuf_getput_crypto_tests()
213 p1 = sshbuf_new(); in sshbuf_getput_crypto_tests()
[all …]
H A Dtest_sshbuf_misc.c37 p1 = sshbuf_new(); in sshbuf_misc_tests()
54 p1 = sshbuf_new(); in sshbuf_misc_tests()
65 p1 = sshbuf_new(); in sshbuf_misc_tests()
76 p1 = sshbuf_new(); in sshbuf_misc_tests()
88 p1 = sshbuf_new(); in sshbuf_misc_tests()
101 p1 = sshbuf_new(); in sshbuf_misc_tests()
113 p1 = sshbuf_new(); in sshbuf_misc_tests()
122 p1 = sshbuf_new(); in sshbuf_misc_tests()
131 p1 = sshbuf_new(); in sshbuf_misc_tests()
140 p1 = sshbuf_new(); in sshbuf_misc_tests()
H A Dtest_sshbuf.c37 p1 = sshbuf_new(); in sshbuf_tests()
67 p1 = sshbuf_new(); in sshbuf_tests()
75 p1 = sshbuf_new(); in sshbuf_tests()
83 p1 = sshbuf_new(); in sshbuf_tests()
138 p1 = sshbuf_new(); in sshbuf_tests()
164 p1 = sshbuf_new(); in sshbuf_tests()
225 p1 = sshbuf_new(); in sshbuf_tests()
H A Dtest_sshbuf_fixed.c70 p1 = sshbuf_new(); in sshbuf_fixed()
103 p1 = sshbuf_new(); in sshbuf_fixed()
108 p2 = sshbuf_new(); in sshbuf_fixed()
H A Dtest_sshbuf_fuzz.c44 p1 = sshbuf_new(); in sshbuf_fuzz_tests()
110 p1 = sshbuf_new(); in sshbuf_fuzz_tests()
/freebsd-13.1/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()
358 if ((m = sshbuf_new()) == NULL) in mm_auth2_read_banner()
387 if ((m = sshbuf_new()) == NULL) in mm_inform_authserv()
410 if ((m = sshbuf_new()) == NULL) in mm_auth_password()
464 if ((m = sshbuf_new()) == NULL) in mm_key_allowed()
516 if ((m = sshbuf_new()) == NULL) in mm_sshkey_verify()
557 if ((m = sshbuf_new()) == NULL) in mm_send_keystate()
586 if ((m = sshbuf_new()) == NULL) in mm_pty_allocate()
[all …]
H A Dssh-sk-client.c153 if ((req = sshbuf_new()) == NULL || (resp = sshbuf_new()) == NULL) { in client_converse()
245 if ((kbuf = sshbuf_new()) == NULL || in sshsk_sign()
246 (req = sshbuf_new()) == NULL) { in sshsk_sign()
321 if ((abuf = sshbuf_new()) == NULL || in sshsk_enroll()
322 (kbuf = sshbuf_new()) == NULL || in sshsk_enroll()
323 (req = sshbuf_new()) == NULL) { in sshsk_enroll()
390 if ((resp = sshbuf_new()) == NULL || in sshsk_load_resident()
391 (kbuf = sshbuf_new()) == NULL || in sshsk_load_resident()
392 (req = sshbuf_new()) == NULL) { in sshsk_load_resident()
H A Dssh-sk-helper.c72 if ((resp = sshbuf_new()) == NULL) in reply_error()
132 if ((resp = sshbuf_new()) == NULL) in process_sign()
159 if ((attest = sshbuf_new()) == NULL || in process_enroll()
160 (kbuf = sshbuf_new()) == NULL) in process_enroll()
191 if ((resp = sshbuf_new()) == NULL) in process_enroll()
222 if ((kbuf = sshbuf_new()) == NULL) in process_load_resident()
242 if ((resp = sshbuf_new()) == NULL) in process_load_resident()
310 if ((req = sshbuf_new()) == NULL) in main()
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()
504 if ((msg = sshbuf_new()) == NULL) in ssh_add_identity_constrained()
562 if ((msg = sshbuf_new()) == NULL) in ssh_remove_identity()
606 if ((msg = sshbuf_new()) == NULL) in ssh_update_card()
641 if ((msg = sshbuf_new()) == NULL) in ssh_remove_all_identities()
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 Dsftp-client.c238 if ((msg = sshbuf_new()) == NULL) in send_string_request()
256 if ((msg = sshbuf_new()) == NULL) in send_string_attrs_request()
277 if ((msg = sshbuf_new()) == NULL) in get_status()
316 if ((msg = sshbuf_new()) == NULL) in get_handle()
354 if ((msg = sshbuf_new()) == NULL) in get_decode_stat()
401 if ((msg = sshbuf_new()) == NULL) in get_decode_statvfs()
470 if ((msg = sshbuf_new()) == NULL) in do_init()
610 if ((msg = sshbuf_new()) == NULL) in do_limits()
658 if ((msg = sshbuf_new()) == NULL) in do_close()
695 if ((msg = sshbuf_new()) == NULL) in do_lsreaddir()
[all …]
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 Dssh-pkcs11-client.c140 if ((msg = sshbuf_new()) == NULL) in rsa_encrypt()
199 if ((msg = sshbuf_new()) == NULL) in ecdsa_do_sign()
329 if ((msg = sshbuf_new()) == NULL) in pkcs11_add_provider()
376 if ((msg = sshbuf_new()) == NULL) in pkcs11_del_provider()
H A Dsshsig.c56 if ((buf = sshbuf_new()) == NULL) { in sshsig_armor()
130 if ((buf = sshbuf_new()) == NULL) { in sshsig_dearmor()
165 if ((tosign = sshbuf_new()) == NULL || in sshsig_wrap_sign()
166 (blob = sshbuf_new()) == NULL) { in sshsig_wrap_sign()
306 if ((toverify = sshbuf_new()) == NULL) { in sshsig_wrap_verify()
413 if ((b = sshbuf_new()) == NULL) { in hash_buffer()
539 if ((b = sshbuf_new()) == NULL) { in hash_file()
940 if ((nprincipals = sshbuf_new()) == NULL) { in cert_filter_principals()
H A Dmux.c609 if ((out = sshbuf_new()) == NULL) in mux_confirm_remote_forward()
1223 if ((m = sshbuf_new()) == NULL) in mux_exit_message()
1246 if ((m = sshbuf_new()) == NULL) in mux_tty_alloc_failed()
1582 if ((m = sshbuf_new()) == NULL) in mux_client_hello_exchange()
1645 if ((m = sshbuf_new()) == NULL) in mux_client_request_alive()
1696 if ((m = sshbuf_new()) == NULL) in mux_client_request_terminate()
1772 if ((m = sshbuf_new()) == NULL) in mux_client_forward()
1892 if ((m = sshbuf_new()) == NULL) in mux_client_request_session()
2054 if ((m = sshbuf_new()) == NULL) in mux_client_proxy()
2107 if ((m = sshbuf_new()) == NULL) in mux_client_request_stdio_fwd()
[all …]
H A Dssh-agent.c276 if ((msg = sshbuf_new()) == NULL) in process_request_identities()
461 if ((msg = sshbuf_new()) == NULL || (data = sshbuf_new()) == NULL) in process_sign_request2()
860 if ((msg = sshbuf_new()) == NULL) in no_identities()
1102 if ((sockets[i].input = sshbuf_new()) == NULL || in new_socket()
1103 (sockets[i].output = sshbuf_new()) == NULL || in new_socket()
1104 (sockets[i].request = sshbuf_new()) == NULL) in new_socket()
1117 if ((sockets[old_alloc].input = sshbuf_new()) == NULL || in new_socket()
1118 (sockets[old_alloc].output = sshbuf_new()) == NULL || in new_socket()
1119 (sockets[old_alloc].request = sshbuf_new()) == NULL) in new_socket()
H A Dssh-ecdsa.c82 if ((bb = sshbuf_new()) == NULL || (b = sshbuf_new()) == NULL) { in ssh_ecdsa_sign()
H A Dkexgexs.c152 if ((shared_secret = sshbuf_new()) == NULL) { in input_kex_dh_gex_init()
158 if ((server_host_key_blob = sshbuf_new()) == NULL) { in input_kex_dh_gex_init()
/freebsd-13.1/crypto/openssh/regress/unittests/sshkey/
H A Dtest_fuzz.c61 ASSERT_PTR_NE(buf = sshbuf_new(), NULL); in public_fuzz()
125 ASSERT_PTR_NE(fuzzed = sshbuf_new(), NULL); in sshkey_fuzz_tests()
147 ASSERT_PTR_NE(fuzzed = sshbuf_new(), NULL); in sshkey_fuzz_tests()
169 ASSERT_PTR_NE(fuzzed = sshbuf_new(), NULL); in sshkey_fuzz_tests()
191 ASSERT_PTR_NE(fuzzed = sshbuf_new(), NULL); in sshkey_fuzz_tests()
214 ASSERT_PTR_NE(fuzzed = sshbuf_new(), NULL); in sshkey_fuzz_tests()
236 ASSERT_PTR_NE(fuzzed = sshbuf_new(), NULL); in sshkey_fuzz_tests()
260 ASSERT_PTR_NE(fuzzed = sshbuf_new(), NULL); in sshkey_fuzz_tests()
H A Dtest_sshkey.c45 sect = sshbuf_new(); in put_opt()
64 ca_buf = sshbuf_new(); in build_cert()
72 pk = sshbuf_new(); in build_cert()
77 principals = sshbuf_new(); in build_cert()
82 critopts = sshbuf_new(); in build_cert()
87 exts = sshbuf_new(); in build_cert()
432 k1->cert->critical = sshbuf_new(); in sshkey_tests()
435 k1->cert->extensions = sshbuf_new(); in sshkey_tests()
443 b = sshbuf_new(); in sshkey_tests()
/freebsd-13.1/crypto/openssh/regress/misc/fuzz-harness/
H A Dkex_fuzz.cc352 ts->smsgs = sshbuf_new(); in main()
353 ts->cmsgs = sshbuf_new(); in main()
439 if ((ts->s_template = sshbuf_new()) == NULL || in LLVMFuzzerTestOneInput()
449 if ((ts->c_template = sshbuf_new()) == NULL || in LLVMFuzzerTestOneInput()

123