Home
last modified time | relevance | path

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

123

/dragonfly/crypto/openssh/
HDmonitor_wrap.c97 if ((log_msg = sshbuf_new()) == NULL) in mm_log_handler()
234 if ((m = sshbuf_new()) == NULL) in mm_choose_dh()
273 if ((m = sshbuf_new()) == NULL) in mm_sshkey_sign()
356 if ((m = sshbuf_new()) == NULL) in mm_getpwnamallow()
415 if ((m = sshbuf_new()) == NULL) in mm_auth2_read_banner()
444 if ((m = sshbuf_new()) == NULL) in mm_inform_authserv()
467 if ((m = sshbuf_new()) == NULL) in mm_auth_password()
521 if ((m = sshbuf_new()) == NULL) in mm_key_allowed()
573 if ((m = sshbuf_new()) == NULL) in mm_sshkey_verify()
614 if ((m = sshbuf_new()) == NULL) in mm_send_keystate()
[all …]
HDauthfd.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 …]
HDssh-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()
HDkexc25519.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()
HDkexsntrup761x25519.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()
HDssh-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()
HDsftp-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 …]
HDkexdh.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()
HDkexecdh.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()
HDmux.c392 if ((cctx->cmd = sshbuf_new()) == NULL) in mux_master_process_new_session()
610 if ((out = sshbuf_new()) == NULL) in mux_confirm_remote_forward()
1071 if ((reply = sshbuf_new()) == NULL) in mux_stdio_confirm()
1157 if ((out = sshbuf_new()) == NULL) in mux_master_read_cb()
1238 if ((m = sshbuf_new()) == NULL) in mux_exit_message()
1261 if ((m = sshbuf_new()) == NULL) in mux_tty_alloc_failed()
1371 if ((reply = sshbuf_new()) == NULL) in mux_session_confirm()
1514 if ((queue = sshbuf_new()) == NULL) in mux_client_write_packet()
1565 if ((queue = sshbuf_new()) == NULL) in mux_client_read_packet_timeout()
1603 if ((m = sshbuf_new()) == NULL) in mux_client_hello_exchange()
[all …]
HDsshsig.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()
HDkexgen.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()
HDsshkey.c595 if ((cert->certblob = sshbuf_new()) == NULL || in cert_new()
596 (cert->critical = sshbuf_new()) == NULL || in cert_new()
597 (cert->extensions = sshbuf_new()) == NULL) { in cert_new()
786 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()
[all …]
HDsshd-session.c467 if ((b = sshbuf_new()) == NULL) in list_hostkey_types()
628 if ((buf = sshbuf_new()) == NULL) in notify_hostkeys()
744 if ((m = sshbuf_new()) == NULL || (inc = sshbuf_new()) == NULL) in recv_rexec_state()
763 if ((item->contents = sshbuf_new()) == NULL) in recv_rexec_state()
1065 if ((cfg = sshbuf_new()) == NULL) in main()
1299 if ((loginmsg = sshbuf_new()) == NULL) in main()
HDsftp-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()
1734 if ((usernames = sshbuf_new()) == NULL || in process_extended_get_users_groups_by_id()
1735 (groupnames = sshbuf_new()) == NULL || in process_extended_get_users_groups_by_id()
1736 (msg = sshbuf_new()) == NULL) in process_extended_get_users_groups_by_id()
[all …]
HDkexgexs.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()
HDssh-agent.c628 if ((msg = sshbuf_new()) == NULL || (keys = sshbuf_new()) == NULL) in process_request_identities()
853 if ((msg = sshbuf_new()) == NULL || (data = sshbuf_new()) == NULL) in process_sign_request2()
1520 if ((msg = sshbuf_new()) == NULL) in no_identities()
1755 if ((e->session_ids[i].sid = sshbuf_new()) == NULL) in process_ext_session_bind()
1908 if ((sockets[i].input = sshbuf_new()) == NULL || in new_socket()
1909 (sockets[i].output = sshbuf_new()) == NULL || in new_socket()
1910 (sockets[i].request = sshbuf_new()) == NULL) in new_socket()
1923 if ((sockets[old_alloc].input = sshbuf_new()) == NULL || in new_socket()
1924 (sockets[old_alloc].output = sshbuf_new()) == NULL || in new_socket()
1925 (sockets[old_alloc].request = sshbuf_new()) == NULL) in new_socket()
HDkexgexc.c177 if ((shared_secret = sshbuf_new()) == NULL) { in input_kex_dh_gex_reply()
219 if ((kex->initial_sig = sshbuf_new()) == NULL) { in input_kex_dh_gex_reply()
HDsshbuf-misc.c137 if ((tmp = sshbuf_new()) == NULL) in sshbuf_dtob64_string()
179 if ((b = sshbuf_new()) == NULL) in sshbuf_dtourlb64()
HDsshd.c637 if ((keybuf = sshbuf_new()) == NULL || in pack_hostkeys()
638 (hostkeys = sshbuf_new()) == NULL) in pack_hostkeys()
686 if ((m = sshbuf_new()) == NULL || in send_rexec_state()
687 (inc = sshbuf_new()) == NULL) in send_rexec_state()
1145 if ((buf = sshbuf_new()) == NULL) in accumulate_host_timing_secret()
1401 if ((cfg = sshbuf_new()) == NULL) in main()
HDkex.c347 if ((m = sshbuf_new()) == NULL) in kex_maybe_send_ext_info()
675 (kex->peer = sshbuf_new()) == NULL || in kex_new()
676 (kex->my = sshbuf_new()) == NULL || in kex_new()
677 (kex->client_version = sshbuf_new()) == NULL || in kex_new()
678 (kex->server_version = sshbuf_new()) == NULL || in kex_new()
679 (kex->session_id = sshbuf_new()) == NULL) { in kex_new()
HDsshbuf-io.c49 if ((blob = sshbuf_new()) == NULL) in sshbuf_load_fd()
HDkexgex.c67 if ((b = sshbuf_new()) == NULL) in kexgex_hash()
HDssh-pkcs11-client.c279 if ((msg = sshbuf_new()) == NULL) in rsa_encrypt()
362 if ((msg = sshbuf_new()) == NULL) in ecdsa_do_sign()
601 if ((msg = sshbuf_new()) == NULL) in pkcs11_add_provider()
HDssh-ecdsa-sk.c178 if ((m = sshbuf_new()) == NULL || in webauthn_check_prepare_hash()
337 if ((original_signed = sshbuf_new()) == NULL) { in ssh_ecdsa_sk_verify()

123