Home
last modified time | relevance | path

Searched refs:error_f (Results 1 – 25 of 46) sorted by relevance

12

/freebsd/crypto/openssh/regress/misc/ssh-verify-attestation/
H A Dssh-verify-attestation.c96 error_f("unsupported format"); in prepare_fido_cred()
150 error_f("libcrypto setup failed"); in get_pubkey_from_cred_ecdsa()
154 error_f("fido_cred_pubkey_ptr failed"); in get_pubkey_from_cred_ecdsa()
158 error_f("bad fido_cred_pubkey_len %zu", in get_pubkey_from_cred_ecdsa()
165 error_f("BN_bin2bn failed"); in get_pubkey_from_cred_ecdsa()
169 error_f("EC_POINT_set_affine_coordinates failed"); in get_pubkey_from_cred_ecdsa()
175 error_f("bad pubkey length %zu", *pubkey_len); in get_pubkey_from_cred_ecdsa()
179 error_f("malloc pubkey failed"); in get_pubkey_from_cred_ecdsa()
184 error_f("EC_POINT_point2oct failed"); in get_pubkey_from_cred_ecdsa()
211 error_f("sshkey_new failed"); in cred_matches_key_ecdsa()
[all …]
/freebsd/crypto/openssh/
H A Dmonitor_fdpass.c87 error_f("sendmsg(%d): %s", fd, strerror(errno)); in mm_send_fd()
92 error_f("sendmsg: expected sent 1 got %zd", n); in mm_send_fd()
97 error_f("file descriptor passing not supported"); in mm_send_fd()
142 error_f("recvmsg: %s", strerror(errno)); in mm_receive_fd()
147 error_f("recvmsg: expected received 1 got %zd", n); in mm_receive_fd()
153 error_f("no fd"); in mm_receive_fd()
159 error_f("no message header"); in mm_receive_fd()
165 error_f("expected %d got %d", SCM_RIGHTS, cmsg->cmsg_type); in mm_receive_fd()
173 error_f("file descriptor passing not supported"); in mm_receive_fd()
H A Dmisc-agent.c60 error_f("bad length %zu >= max %zd", len, l); in hostname_hash()
64 error_f("gethostname: %s", strerror(errno)); in hostname_hash()
118 error_f("path \"%s\" too long for Unix domain socket", in unix_listener_tmp()
124 error_f("socket: %.100s", strerror(errno)); in unix_listener_tmp()
130 error_f("bind \"%s\": %.100s", in unix_listener_tmp()
136 error_f("bind \"%s\": %.100s", path, strerror(errno)); in unix_listener_tmp()
140 error_f("listen \"%s\": %s", path, strerror(errno)); in unix_listener_tmp()
169 error_f("mkdir %s: %s", path, strerror(errno)); in ensure_mkdir()
241 error_f("socket: %s", strerror(errno)); in socket_is_stale()
284 error_f("clock_gettime: %s", strerror(errno)); in agent_cleanup_stale()
[all …]
H A Dssh-sk.c116 error_f("calloc failed"); in sshsk_open()
120 error_f("strdup failed"); in sshsk_open()
216 error_f("sshkey_new failed"); in sshsk_ecdsa_assemble()
225 error_f("allocation failed"); in sshsk_ecdsa_assemble()
246 error_f("allocation failed"); in sshsk_ecdsa_assemble()
251 error_f("allocation failed"); in sshsk_ecdsa_assemble()
256 error_f("Assigning EC_KEY failed"); in sshsk_ecdsa_assemble()
281 error_f("invalid size: %zu", resp->public_key_len); in sshsk_ed25519_assemble()
286 error_f("sshkey_new failed"); in sshsk_ed25519_assemble()
291 error_f("malloc failed"); in sshsk_ed25519_assemble()
[all …]
H A Dmsg.c52 error_f("write: %s", strerror(errno)); in ssh_msg_send()
56 error_f("write: %s", strerror(errno)); in ssh_msg_send()
74 error_f("read header: %s", strerror(errno)); in ssh_msg_recv()
79 error_f("read: bad msg_len %u", msg_len); in ssh_msg_recv()
88 error_f("read: %s", strerror(errno)); in ssh_msg_recv()
H A Dkex.c241 error_f("type %u seq %u", type, seq); in kex_protocol_error()
359 error_f("send EXT_INFO"); in kex_maybe_send_ext_info()
384 error_f("send EXT_INFO"); in kex_server_update_ext_info()
434 error_f("nul byte in %s", name); in kex_ext_info_client_parse()
551 error_f("match_filter_denylist failed"); in kex_input_newkeys()
557 error_f("kex_prop2buf failed"); in kex_input_newkeys()
581 error_f("no kex"); in kex_send_kexinit()
590 error_f("bad kex length: %zu < %d", in kex_send_kexinit()
595 error_f("buffer error"); in kex_send_kexinit()
622 error_f("no kex"); in kex_input_kexinit()
[all …]
H A Dssh-sk-client.c117 error_f("%s", execbuf); in start_helper()
143 error_f("waitpid: %s", strerror(errno)); in reap_helper()
148 error_f("helper exited abnormally"); in reap_helper()
151 error_f("helper exited with non-zero exit status"); in reap_helper()
197 error_f("unsupported version: got %u, expected %u", in client_converse()
219 error_f("helper returned incorrect message type %u, " in client_converse()
291 error_f("trailing data in response"); in sshsk_sign()
361 error_f("trailing data in response"); in sshsk_enroll()
459 error_f("calloc failed"); in sshsk_load_resident()
471 error_f("recallocarray keys failed"); in sshsk_load_resident()
H A Dreadpass.c58 error_f("fflush: %s", strerror(errno)); in ssh_askpass()
62 error_f("pipe: %s", strerror(errno)); in ssh_askpass()
67 error_f("fork: %s", strerror(errno)); in ssh_askpass()
251 error_f("fflush: %s", strerror(errno)); in notify_start()
270 error_f("fork: %s", strerror(errno)); in notify_start()
281 error_f("exec(%s): %s", askpass, strerror(errno)); in notify_start()
H A Dsshsig.c57 error_f("sshbuf_new failed"); in sshsig_armor()
97 error_f("sshbuf_fromb failed"); in sshsig_dearmor()
117 error_f("no header eol"); in sshsig_dearmor()
136 error_f("sshbuf_dup_string failed"); in sshsig_dearmor()
142 error_f("sshbuf_new() failed"); in sshsig_dearmor()
178 error_f("sshbuf_new failed"); in sshsig_wrap_sign()
268 error_f("unsupported hash algorithm \"%.100s\"", hashalg); in sshsig_check_hashalg()
323 error_f("sshbuf_new failed"); in sshsig_wrap_verify()
418 error_f("can't look up hash algorithm %s", hashalg); in hash_buffer()
520 error_f("can't look up hash algorithm %s", hashalg); in hash_file()
[all …]
H A Daddrmatch.c121 error_f("empty entry in list \"%.100s\"", o); in addr_match_cidr_list()
134 error_f("list entry \"%.100s\" too long", cp); in addr_match_cidr_list()
140 error_f("list entry \"%.100s\" contains invalid " in addr_match_cidr_list()
H A Dssh-agent.c499 error_f("previous session bind failed on socket"); in identity_permitted()
549 error_f("tried to sign on forwarding hop"); in identity_permitted()
553 error_f("tried to forward though signing bind"); in identity_permitted()
912 error_f("unexpected session ID (%zu listed) on " in process_sign_request2()
924 error_f("refusing use of destination-constrained key: " in process_sign_request2()
931 error_f("refusing use of destination-constrained key: " in process_sign_request2()
1111 error_f("unsupported extensions (len %zu)", elen); in parse_dest_constraint_hop()
1172 error_f("unsupported extensions (len %zu)", elen); in parse_dest_constraint()
1183 error_f("inconsistent \"from\" specification"); in parse_dest_constraint()
1188 error_f("incomplete \"to\" specification"); in parse_dest_constraint()
[all …]
H A Dmux.c243 error_f("name '%.100s...' too long", env); in env_permitted()
267 error_f("HELLO received twice"); in mux_master_process_hello()
275 error_f("unsupported multiplexing protocol version %u " in mux_master_process_hello()
359 error_f("malformed message"); in mux_master_process_new_session()
376 error_f(">%d environment variables received, " in mux_master_process_new_session()
397 error_f("failed to receive fd %d from client", i); in mux_master_process_new_session()
447 error_f("tcgetattr: %s", strerror(errno)); in mux_master_process_new_session()
641 error_f("unknown channel"); in mux_confirm_remote_forward()
704 error_f("%s", failmsg); in mux_confirm_remote_forward()
738 error_f("malformed message"); in mux_master_process_open_fwd()
[all …]
H A Dmisc.c1300 error_f("No such user %s", user); in tilde_expand()
1304 error_f("No such uid %ld", (long)uid); in tilde_expand()
1313 error_f("xasprintf failed"); in tilde_expand()
1317 error_f("Path too long"); in tilde_expand()
1392 error_f("environment variable '%s' missing " in vdollar_percent_expand()
1398 error_f("zero-length environment variable"); in vdollar_percent_expand()
1404 error_f("env var ${%s} has no value", var); in vdollar_percent_expand()
1432 error_f("invalid format"); in vdollar_percent_expand()
1444 error_f("unknown key %%%c", *string); in vdollar_percent_expand()
2010 error_f("path \"%s\" too long for Unix domain socket", path); in unix_listener()
[all …]
H A Dserverloop.c346 error_f("bsigset setup: %s", strerror(errno)); in server_loop2()
350 error_f("bsigset setup: %s", strerror(errno)); in server_loop2()
372 error_f("bsigset sigprocmask: %s", strerror(errno)); in server_loop2()
382 error_f("osigset sigprocmask: %s", strerror(errno)); in server_loop2()
432 error_f("invalid target port"); in server_request_direct_tcpip()
437 error_f("invalid originator port"); in server_request_direct_tcpip()
483 error_f("invalid originator port"); in server_request_direct_streamlocal()
699 error_f("unknown host %s key", sshkey_type(key)); in server_input_hostkeys_prove()
708 error_f("can't retrieve hostkey %d", ndx); in server_input_hostkeys_prove()
H A Dssh-pkcs11.c95 error_f("%s", msg); in ossl_error()
97 error_f("libcrypto error: %s", ERR_error_string(e, NULL)); in ossl_error()
140 error_f("provider \"%s\" still valid", p->name); in pkcs11_provider_unref()
559 error_f("no key found"); in pkcs11_sign_rsa()
649 error_f("no key found"); in pkcs11_sign_ecdsa()
686 error_f("bad signature length: %lu", (u_long)slen); in pkcs11_sign_ecdsa()
734 error_f("no key found"); in pkcs11_sign_ed25519()
760 error_f("bad signature length: %lu", (u_long)slen); in pkcs11_sign_ed25519()
1069 error_f("RSA key too small %d < minimum %d", in pkcs11_fetch_rsa_pubkey()
1308 error_f("RSA key too small %d < minimum %d", in pkcs11_fetch_x509_pubkey()
[all …]
H A Dhostfile.c448 error_f("host_hash failed"); in format_host_entry()
490 error_f("fwrite: %s", strerror(errno)); in write_host_entry()
659 error_f("mkstemp: %s", strerror(oerrno)); in hostfile_replace_entries()
666 error_f("fdopen: %s", strerror(oerrno)); in hostfile_replace_entries()
728 error_f("unlink %.100s: %s", back, strerror(errno)); in hostfile_replace_entries()
734 error_f("link %.100s to %.100s: %s", filename, in hostfile_replace_entries()
741 error_f("rename \"%s\" to \"%s\": %s", temp, in hostfile_replace_entries()
749 error_f("unlink \"%s\": %s", temp, strerror(errno)); in hostfile_replace_entries()
906 error_f("sshkey_new failed"); in hostkeys_foreach_file()
H A Dsession.c249 error_f("mkstemp: %s", strerror(errno)); in prepare_auth_info_file()
254 error_f("write: %s", strerror(errno)); in prepare_auth_info_file()
258 error_f("close: %s", strerror(errno)); in prepare_auth_info_file()
378 error_f("pipe in: %.100s", strerror(errno)); in do_exec_no_pty()
382 error_f("pipe out: %.100s", strerror(errno)); in do_exec_no_pty()
388 error_f("pipe err: %.100s", strerror(errno)); in do_exec_no_pty()
403 error_f("socketpair #1: %.100s", strerror(errno)); in do_exec_no_pty()
407 error_f("socketpair #2: %.100s", strerror(errno)); in do_exec_no_pty()
419 error_f("fork: %.100s", strerror(errno)); in do_exec_no_pty()
551 error_f("dup #1: %s", strerror(errno)); in do_exec_pty()
[all …]
H A Dsshconnect2.c732 error_f("server replied with unknown key: %s %s", in input_userauth_pk_ok()
1239 error_f("private key %s contents do not match public", in identity_sign()
1399 error_f("no mutual signature supported"); in sign_and_send_pubkey()
2040 error_f("not installed: %s", strerror(errno)); in ssh_keysign()
2044 error_f("fflush: %s", strerror(errno)); in ssh_keysign()
2048 error_f("pipe: %s", strerror(errno)); in ssh_keysign()
2052 error_f("pipe: %s", strerror(errno)); in ssh_keysign()
2056 error_f("fork: %s", strerror(errno)); in ssh_keysign()
2100 error_f("no reply"); in ssh_keysign()
2107 error_f("waitpid %ld: %s", (long)pid, strerror(errno)); in ssh_keysign()
[all …]
H A Dclientloop.c324 error_f("display name too long"); in client_x11_get_proto()
339 error_f("mkdtemp: %s", strerror(errno)); in client_x11_get_proto()
346 error_f("xauthfile path too long"); in client_x11_get_proto()
1552 error_f("bsigset setup: %s", strerror(errno)); in client_loop()
1555 error_f("bsigset setup: %s", strerror(errno)); in client_loop()
1595 error_f("bsigset sigprocmask: %s", strerror(errno)); in client_loop()
1606 error_f("osigset sigprocmask: %s", strerror(errno)); in client_loop()
1735 error_f("invalid listen port"); in client_request_forwarded_tcpip()
1737 error_f("invalid originator port"); in client_request_forwarded_tcpip()
1746 error_f("alloc reply"); in client_request_forwarded_tcpip()
[all …]
H A Dauth2-hostbased.c96 error_f("cannot decode key: %s", pkalg); in userauth_hostbased()
101 error_f("key type mismatch for decoded key " in userauth_hostbased()
H A Dauth2-pubkey.c148 error_f("cannot decode key: %s", pkalg); in userauth_pubkey()
153 error_f("key type mismatch for decoded key " in userauth_pubkey()
429 error_f("sshkey_fingerprint failed"); in match_principals_command()
434 error_f("sshkey_fingerprint failed"); in match_principals_command()
695 error_f("sshkey_fingerprint failed"); in user_key_command_allowed2()
H A Dssh-pkcs11-client.c305 error_f("private key %s doesn't match cert %s", in pkcs11_make_cert()
340 error_f("socketpair: %s", strerror(errno)); in pkcs11_start_helper()
345 error_f("fork: %s", strerror(errno)); in pkcs11_start_helper()
/freebsd/crypto/openssh/openbsd-compat/
H A Dport-linux.c359 error_f("socket \"%s\" is not compatible with AF_UNIX", path); in ssh_systemd_notify()
364 error_f("socket \"%s\" stat: %s", path, strerror(errno)); in ssh_systemd_notify()
372 error_f("socket path \"%s\" too long", path); in ssh_systemd_notify()
379 error_f("socket \"%s\": %s", path, strerror(errno)); in ssh_systemd_notify()
383 error_f("socket \"%s\" connect: %s", path, strerror(errno)); in ssh_systemd_notify()
387 error_f("socket \"%s\" write: %s", path, strerror(errno)); in ssh_systemd_notify()
410 error_f("monotime returned negative value"); in ssh_systemd_notify_reload()
H A Dbsd-pselect.c64 error_f("fcntl: %s", strerror(errno)); in pselect_set_nonblock()
192 error_f("failed to restore signal handler for " in pselect()
/freebsd/crypto/openssh/regress/misc/fuzz-harness/
H A Dagent_fuzz_helper.c15 error_f("open /dev/null: %s", strerror(errno)); in devnull_or_die()
47 error_f("sshbuf_from failed"); in privkey_or_die()
141 error_f("dup: %s", strerror(errno)); in reset_sockettab()

12