| /freebsd/crypto/openssh/regress/unittests/sshbuf/ |
| H A D | test_sshbuf_misc.c | 34 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 D | test_sshbuf_getput_basic.c | 75 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 D | test_sshbuf_getput_crypto.c | 81 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 D | test_sshbuf.c | 39 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 D | test_sshbuf_fixed.c | 67 p1 = sshbuf_new(); in sshbuf_fixed() 100 p1 = sshbuf_new(); in sshbuf_fixed() 105 p2 = sshbuf_new(); in sshbuf_fixed()
|
| H A D | test_sshbuf_fuzz.c | 41 p1 = sshbuf_new(); in sshbuf_fuzz_tests() 107 p1 = sshbuf_new(); in sshbuf_fuzz_tests()
|
| /freebsd/crypto/openssh/ |
| H A D | monitor_wrap.c | 97 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 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() 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 D | ssh-sk-helper.c | 72 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 D | ssh-sk-client.c | 171 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 D | kexc25519.c | 98 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 D | kexsntrup761x25519.c | 54 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 D | ssh-pkcs11-helper.c | 71 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 D | kexmlkem768x25519.c | 57 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 D | kexdh.c | 122 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 D | sftp-client.c | 227 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 D | kexecdh.c | 68 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 D | ssh-pkcs11-client.c | 81 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 D | mux.c | 387 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 D | sshsig.c | 56 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 D | sshbuf-misc.c | 110 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 D | sshd-session.c | 273 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 D | test_fuzz.c | 59 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 D | test_sshkey.c | 44 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 D | kex_fuzz.cc | 346 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()
|