| /openbsd/src/regress/usr.bin/ssh/unittests/sshbuf/ |
| D | test_sshbuf_getput_basic.c | 73 p1 = sshbuf_new(); in sshbuf_getput_basic_tests() 109 p1 = sshbuf_new(); in sshbuf_getput_basic_tests() 127 p1 = sshbuf_new(); in sshbuf_getput_basic_tests() 148 p1 = sshbuf_new(); in sshbuf_getput_basic_tests() 175 p1 = sshbuf_new(); in sshbuf_getput_basic_tests() 196 p1 = sshbuf_new(); in sshbuf_getput_basic_tests() 205 p1 = sshbuf_new(); in sshbuf_getput_basic_tests() 215 p1 = sshbuf_new(); in sshbuf_getput_basic_tests() 225 p1 = sshbuf_new(); in sshbuf_getput_basic_tests() 234 p1 = sshbuf_new(); in sshbuf_getput_basic_tests() [all …]
|
| D | test_sshbuf_getput_crypto.c | 71 p1 = sshbuf_new(); in sshbuf_getput_crypto_tests() 83 p1 = sshbuf_new(); in sshbuf_getput_crypto_tests() 95 p1 = sshbuf_new(); in sshbuf_getput_crypto_tests() 108 p1 = sshbuf_new(); in sshbuf_getput_crypto_tests() 120 p1 = sshbuf_new(); in sshbuf_getput_crypto_tests() 137 p1 = sshbuf_new(); in sshbuf_getput_crypto_tests() 152 p1 = sshbuf_new(); in sshbuf_getput_crypto_tests() 167 p1 = sshbuf_new(); in sshbuf_getput_crypto_tests() 185 p1 = sshbuf_new(); in sshbuf_getput_crypto_tests() 201 p1 = sshbuf_new(); in sshbuf_getput_crypto_tests() [all …]
|
| D | test_sshbuf_misc.c | 32 p1 = sshbuf_new(); in sshbuf_misc_tests() 49 p1 = sshbuf_new(); in sshbuf_misc_tests() 60 p1 = sshbuf_new(); in sshbuf_misc_tests() 71 p1 = sshbuf_new(); in sshbuf_misc_tests() 83 p1 = sshbuf_new(); in sshbuf_misc_tests() 96 p1 = sshbuf_new(); in sshbuf_misc_tests() 108 p1 = sshbuf_new(); in sshbuf_misc_tests() 117 p1 = sshbuf_new(); in sshbuf_misc_tests() 126 p1 = sshbuf_new(); in sshbuf_misc_tests() 135 p1 = sshbuf_new(); in sshbuf_misc_tests()
|
| D | test_sshbuf.c | 34 p1 = sshbuf_new(); in sshbuf_tests() 64 p1 = sshbuf_new(); in sshbuf_tests() 72 p1 = sshbuf_new(); in sshbuf_tests() 80 p1 = sshbuf_new(); in sshbuf_tests() 135 p1 = sshbuf_new(); in sshbuf_tests() 161 p1 = sshbuf_new(); in sshbuf_tests() 222 p1 = sshbuf_new(); in sshbuf_tests()
|
| D | test_sshbuf_fixed.c | 65 p1 = sshbuf_new(); in sshbuf_fixed() 98 p1 = sshbuf_new(); in sshbuf_fixed() 103 p2 = sshbuf_new(); in sshbuf_fixed()
|
| D | test_sshbuf_fuzz.c | 39 p1 = sshbuf_new(); in sshbuf_fuzz_tests() 105 p1 = sshbuf_new(); in sshbuf_fuzz_tests()
|
| /openbsd/src/usr.bin/ssh/ |
| D | monitor_wrap.c | 93 if ((log_msg = sshbuf_new()) == NULL) in mm_log_handler() 220 if ((m = sshbuf_new()) == NULL) in mm_choose_dh() 257 if ((m = sshbuf_new()) == NULL) in mm_sshkey_sign() 342 if ((m = sshbuf_new()) == NULL) in mm_getpwnamallow() 392 if ((m = sshbuf_new()) == NULL) in mm_auth2_read_banner() 421 if ((m = sshbuf_new()) == NULL) in mm_inform_authserv() 441 if ((m = sshbuf_new()) == NULL) in mm_auth_password() 488 if ((m = sshbuf_new()) == NULL) in mm_key_allowed() 540 if ((m = sshbuf_new()) == NULL) in mm_sshkey_verify() 581 if ((m = sshbuf_new()) == NULL) in mm_send_keystate() [all …]
|
| D | authfd.c | 187 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() 464 if ((b = sshbuf_new()) == NULL) in encode_dest_constraint_hop() 490 if ((b = sshbuf_new()) == NULL) in encode_dest_constraint() 538 if ((b = sshbuf_new()) == NULL) { in encode_constraints() 557 if ((b = sshbuf_new()) == NULL) { in encode_constraints() 596 if ((msg = sshbuf_new()) == NULL) in ssh_add_identity_constrained() 654 if ((msg = sshbuf_new()) == NULL) in ssh_remove_identity() [all …]
|
| D | ssh-sk-helper.c | 68 if ((resp = sshbuf_new()) == NULL) in reply_error() 128 if ((resp = sshbuf_new()) == NULL) in process_sign() 155 if ((attest = sshbuf_new()) == NULL || in process_enroll() 156 (kbuf = sshbuf_new()) == NULL) in process_enroll() 187 if ((resp = sshbuf_new()) == NULL) in process_enroll() 219 if ((kbuf = sshbuf_new()) == NULL) in process_load_resident() 240 if ((resp = sshbuf_new()) == NULL) in process_load_resident() 310 if ((req = sshbuf_new()) == NULL) in main()
|
| D | ssh-sk-client.c | 151 if ((req = sshbuf_new()) == NULL || (resp = sshbuf_new()) == NULL) { in client_converse() 238 if ((kbuf = sshbuf_new()) == NULL || in sshsk_sign() 239 (req = sshbuf_new()) == NULL) { in sshsk_sign() 304 if ((abuf = sshbuf_new()) == NULL || in sshsk_enroll() 305 (kbuf = sshbuf_new()) == NULL || in sshsk_enroll() 306 (req = sshbuf_new()) == NULL) { in sshsk_enroll() 400 if ((kbuf = sshbuf_new()) == NULL || in sshsk_load_resident() 401 (req = sshbuf_new()) == NULL) { in sshsk_load_resident()
|
| D | kexc25519.c | 96 if ((buf = sshbuf_new()) == NULL) in kex_c25519_keypair() 134 if ((server_blob = sshbuf_new()) == NULL) { in kex_c25519_enc() 142 if ((buf = sshbuf_new()) == NULL) { in kex_c25519_enc() 182 if ((buf = sshbuf_new()) == NULL) { in kex_c25519_dec()
|
| D | kexsntrup761x25519.c | 50 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()
|
| D | kexmlkem768x25519.c | 53 if ((buf = sshbuf_new()) == NULL) in kex_kem_mlkem768x25519_keypair() 126 if ((buf = sshbuf_new()) == NULL) { in kex_kem_mlkem768x25519_enc() 131 if ((server_blob = sshbuf_new()) == NULL) { in kex_kem_mlkem768x25519_enc() 207 if ((buf = sshbuf_new()) == NULL) { in kex_kem_mlkem768x25519_dec()
|
| D | ssh-pkcs11-helper.c | 122 if ((msg = sshbuf_new()) == NULL) in process_add() 162 if ((msg = sshbuf_new()) == NULL) in process_del() 234 if ((msg = sshbuf_new()) == NULL) in process_sign() 356 if ((iqueue = sshbuf_new()) == NULL) in main() 358 if ((oqueue = sshbuf_new()) == NULL) in main()
|
| D | kexdh.c | 117 if ((buf = sshbuf_new()) == NULL) in kex_dh_keypair() 149 if ((server_blob = sshbuf_new()) == NULL) { in kex_dh_enc() 177 if ((buf = sshbuf_new()) == NULL) { in kex_dh_dec()
|
| D | kexecdh.c | 65 if ((buf = sshbuf_new()) == NULL) { in kex_ecdh_keypair() 115 if ((server_blob = sshbuf_new()) == NULL) { in kex_ecdh_enc() 146 if ((buf = sshbuf_new()) == NULL) { in kex_ecdh_dec_key_group()
|
| D | sftp-client.c | 219 if ((msg = sshbuf_new()) == NULL) in send_string_request() 237 if ((msg = sshbuf_new()) == NULL) in send_string_attrs_request() 258 if ((msg = sshbuf_new()) == NULL) in get_status() 297 if ((msg = sshbuf_new()) == NULL) in get_handle() 336 if ((msg = sshbuf_new()) == NULL) in get_decode_stat() 386 if ((msg = sshbuf_new()) == NULL) in get_decode_statvfs() 455 if ((msg = sshbuf_new()) == NULL) in sftp_init() 613 if ((msg = sshbuf_new()) == NULL) in sftp_get_limits() 661 if ((msg = sshbuf_new()) == NULL) in sftp_close() 698 if ((msg = sshbuf_new()) == NULL) in sftp_lsreaddir() [all …]
|
| D | mux.c | 378 if ((cctx->cmd = sshbuf_new()) == NULL) in mux_master_process_new_session() 596 if ((out = sshbuf_new()) == NULL) in mux_confirm_remote_forward() 1057 if ((reply = sshbuf_new()) == NULL) in mux_stdio_confirm() 1143 if ((out = sshbuf_new()) == NULL) in mux_master_read_cb() 1224 if ((m = sshbuf_new()) == NULL) in mux_exit_message() 1247 if ((m = sshbuf_new()) == NULL) in mux_tty_alloc_failed() 1357 if ((reply = sshbuf_new()) == NULL) in mux_session_confirm() 1497 if ((queue = sshbuf_new()) == NULL) in mux_client_write_packet() 1545 if ((queue = sshbuf_new()) == NULL) in mux_client_read_packet_timeout() 1583 if ((m = sshbuf_new()) == NULL) in mux_client_hello_exchange() [all …]
|
| D | sshsig.c | 54 if ((buf = sshbuf_new()) == NULL) { in sshsig_armor() 139 if ((buf = sshbuf_new()) == NULL) { in sshsig_dearmor() 174 if ((tosign = sshbuf_new()) == NULL || in sshsig_wrap_sign() 175 (blob = sshbuf_new()) == NULL) { in sshsig_wrap_sign() 320 if ((toverify = sshbuf_new()) == NULL) { in sshsig_wrap_verify() 427 if ((b = sshbuf_new()) == NULL) { in hash_buffer() 552 if ((b = sshbuf_new()) == NULL) { in hash_file() 848 if ((nprincipals = sshbuf_new()) == NULL) { in cert_filter_principals()
|
| D | sshd-session.c | 263 if ((hostkeys = sshbuf_new()) == NULL) in pack_hostkeys() 526 if ((buf = sshbuf_new()) == NULL) in notify_hostkeys() 642 if ((m = sshbuf_new()) == NULL || (inc = sshbuf_new()) == NULL) in recv_rexec_state() 661 if ((item->contents = sshbuf_new()) == NULL) in recv_rexec_state() 937 if ((cfg = sshbuf_new()) == NULL) in main() 1174 if ((loginmsg = sshbuf_new()) == NULL) in main()
|
| D | kexgexs.c | 144 if ((shared_secret = sshbuf_new()) == NULL) { in input_kex_dh_gex_init() 150 if ((server_host_key_blob = sshbuf_new()) == NULL) { in input_kex_dh_gex_init()
|
| D | sshkey.c | 670 if ((cert->certblob = sshbuf_new()) == NULL || in cert_new() 671 (cert->critical = sshbuf_new()) == NULL || in cert_new() 672 (cert->extensions = sshbuf_new()) == NULL) { in cert_new() 882 if ((tmp = sshbuf_new()) == NULL) in sshkey_puts_opts() 915 if ((b = sshbuf_new()) == NULL) in to_blob() 1299 if ((blob = sshbuf_new()) == NULL) in sshkey_read() 1353 if ((b = sshbuf_new()) == NULL) in sshkey_to_base64() 1396 if ((b = sshbuf_new()) == NULL) in sshkey_write() 1644 if ((prvbuf = sshbuf_new()) == NULL) { in sshkey_shield_private() 1784 if ((prvbuf = sshbuf_new()) == NULL) { in sshkey_unshield_private() [all …]
|
| D | kexgen.c | 62 if ((b = sshbuf_new()) == NULL) in kex_gen_hash() 235 if ((kex->initial_sig = sshbuf_new()) == NULL) { in input_kex_gen_reply() 331 if ((server_host_key_blob = sshbuf_new()) == NULL) { in input_kex_gen_init()
|
| /openbsd/src/regress/usr.bin/ssh/unittests/sshkey/ |
| D | test_fuzz.c | 54 ASSERT_PTR_NE(buf = sshbuf_new(), NULL); in public_fuzz() 118 ASSERT_PTR_NE(fuzzed = sshbuf_new(), NULL); in sshkey_fuzz_tests() 140 ASSERT_PTR_NE(fuzzed = sshbuf_new(), NULL); in sshkey_fuzz_tests() 163 ASSERT_PTR_NE(fuzzed = sshbuf_new(), NULL); in sshkey_fuzz_tests() 185 ASSERT_PTR_NE(fuzzed = sshbuf_new(), NULL); in sshkey_fuzz_tests() 208 ASSERT_PTR_NE(fuzzed = sshbuf_new(), NULL); in sshkey_fuzz_tests() 230 ASSERT_PTR_NE(fuzzed = sshbuf_new(), NULL); in sshkey_fuzz_tests() 252 ASSERT_PTR_NE(fuzzed = sshbuf_new(), NULL); in sshkey_fuzz_tests()
|
| D | test_sshkey.c | 37 sect = sshbuf_new(); in put_opt() 55 ca_buf = sshbuf_new(); in build_cert() 63 pk = sshbuf_new(); in build_cert() 68 principals = sshbuf_new(); in build_cert() 73 critopts = sshbuf_new(); in build_cert() 78 exts = sshbuf_new(); in build_cert() 402 k1->cert->critical = sshbuf_new(); in sshkey_tests() 405 k1->cert->extensions = sshbuf_new(); in sshkey_tests() 413 b = sshbuf_new(); in sshkey_tests()
|