Home
last modified time | relevance | path

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

123

/freebsd/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/crypto/openssh/
H A Dmonitor_wrap.c97 if ((log_msg = sshbuf_new()) == NULL) in mm_log_handler()
224 if ((m = sshbuf_new()) == NULL) in mm_choose_dh()
261 if ((m = sshbuf_new()) == NULL) in mm_sshkey_sign()
346 if ((m = sshbuf_new()) == NULL) in mm_getpwnamallow()
405 if ((m = sshbuf_new()) == NULL) in mm_auth2_read_banner()
434 if ((m = sshbuf_new()) == NULL) in mm_inform_authserv()
457 if ((m = sshbuf_new()) == NULL) in mm_auth_password()
511 if ((m = sshbuf_new()) == NULL) in mm_key_allowed()
563 if ((m = sshbuf_new()) == NULL) in mm_sshkey_verify()
604 if ((m = sshbuf_new()) == NULL) in mm_send_keystate()
[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()
539 if ((b = sshbuf_new()) == NULL) { in encode_constraints()
558 if ((b = sshbuf_new()) == NULL) { in encode_constraints()
597 if ((msg = sshbuf_new()) == NULL) in ssh_add_identity_constrained()
655 if ((msg = sshbuf_new()) == NULL) in ssh_remove_identity()
[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.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 Dkexmlkem768x25519.c61 if ((buf = sshbuf_new()) == NULL) in kex_kem_mlkem768x25519_keypair()
134 if ((buf = sshbuf_new()) == NULL) { in kex_kem_mlkem768x25519_enc()
139 if ((server_blob = sshbuf_new()) == NULL) { in kex_kem_mlkem768x25519_enc()
215 if ((buf = sshbuf_new()) == NULL) { in kex_kem_mlkem768x25519_dec()
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 Dssh-pkcs11-helper.c132 if ((msg = sshbuf_new()) == NULL) in process_add()
172 if ((msg = sshbuf_new()) == NULL) in process_del()
252 if ((msg = sshbuf_new()) == NULL) in process_sign()
378 if ((iqueue = sshbuf_new()) == NULL) in main()
380 if ((oqueue = sshbuf_new()) == NULL) in main()
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 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 Dmux.c391 if ((cctx->cmd = sshbuf_new()) == NULL) in mux_master_process_new_session()
609 if ((out = sshbuf_new()) == NULL) in mux_confirm_remote_forward()
1070 if ((reply = sshbuf_new()) == NULL) in mux_stdio_confirm()
1156 if ((out = sshbuf_new()) == NULL) in mux_master_read_cb()
1237 if ((m = sshbuf_new()) == NULL) in mux_exit_message()
1260 if ((m = sshbuf_new()) == NULL) in mux_tty_alloc_failed()
1370 if ((reply = sshbuf_new()) == NULL) in mux_session_confirm()
1513 if ((queue = sshbuf_new()) == NULL) in mux_client_write_packet()
1564 if ((queue = sshbuf_new()) == NULL) in mux_client_read_packet_timeout()
1602 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 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 Dsshkey.c699 if ((cert->certblob = sshbuf_new()) == NULL || in cert_new()
700 (cert->critical = sshbuf_new()) == NULL || in cert_new()
701 (cert->extensions = sshbuf_new()) == NULL) { in cert_new()
922 if ((tmp = sshbuf_new()) == NULL) in sshkey_puts_opts()
955 if ((b = sshbuf_new()) == NULL) in to_blob()
1339 if ((blob = sshbuf_new()) == NULL) in sshkey_read()
1393 if ((b = sshbuf_new()) == NULL) in sshkey_to_base64()
1436 if ((b = sshbuf_new()) == NULL) in sshkey_write()
1684 if ((prvbuf = sshbuf_new()) == NULL) { in sshkey_shield_private()
1824 if ((prvbuf = sshbuf_new()) == NULL) { in sshkey_unshield_private()
[all …]
H A Dkexgen.c65 if ((b = sshbuf_new()) == NULL) in kex_gen_hash()
238 if ((kex->initial_sig = sshbuf_new()) == NULL) { in input_kex_gen_reply()
334 if ((server_host_key_blob = sshbuf_new()) == NULL) { in input_kex_gen_init()
/freebsd/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()
442 k1->cert->critical = sshbuf_new(); in sshkey_tests()
445 k1->cert->extensions = sshbuf_new(); in sshkey_tests()
453 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