Home
last modified time | relevance | path

Searched refs:msg (Results 1 – 25 of 36) sorted by relevance

12

/openssh-portable/
H A Dsftp-client.c183 struct sshbuf *msg; in send_string_request() local
194 sshbuf_free(msg); in send_string_request()
213 sshbuf_free(msg); in send_string_attrs_request()
239 sshbuf_free(msg); in get_status()
278 sshbuf_free(msg); in get_handle()
286 sshbuf_free(msg); in get_handle()
320 sshbuf_free(msg); in get_decode_stat()
331 sshbuf_free(msg); in get_decode_stat()
390 sshbuf_free(msg); in get_decode_statvfs()
484 sshbuf_free(msg); in do_init()
[all …]
H A Dauthfd.c191 if ((r = ssh_request_reply(sock, msg, msg)) != 0) in ssh_lock_agent()
197 sshbuf_free(msg); in ssh_lock_agent()
246 if ((r = ssh_request_reply(sock, msg, msg)) != 0) in ssh_fetch_identitylist()
296 sshbuf_free(msg); in ssh_fetch_identitylist()
366 if ((r = ssh_request_reply(sock, msg, msg)) != 0) in ssh_agent_sign()
390 sshbuf_free(msg); in ssh_agent_sign()
465 if ((r = ssh_request_reply(sock, msg, msg)) != 0) in ssh_add_identity_constrained()
471 sshbuf_free(msg); in ssh_add_identity_constrained()
501 if ((r = ssh_request_reply(sock, msg, msg)) != 0) in ssh_remove_identity()
543 if ((r = ssh_request_reply(sock, msg, msg)) != 0) in ssh_update_card()
[all …]
H A Dmonitor_fdpass.c55 struct msghdr msg; in mm_send_fd() local
68 memset(&msg, 0, sizeof(msg)); in mm_send_fd()
76 cmsg = CMSG_FIRSTHDR(&msg); in mm_send_fd()
85 msg.msg_iov = &vec; in mm_send_fd()
86 msg.msg_iovlen = 1; in mm_send_fd()
116 struct msghdr msg; in mm_receive_fd() local
130 memset(&msg, 0, sizeof(msg)); in mm_receive_fd()
133 msg.msg_iov = &vec; in mm_receive_fd()
134 msg.msg_iovlen = 1; in mm_receive_fd()
140 msg.msg_control = &cmsgbuf.buf; in mm_receive_fd()
[all …]
H A Dssh-pkcs11-client.c147 send_msg(msg); in rsa_encrypt()
148 sshbuf_reset(msg); in rsa_encrypt()
162 sshbuf_free(msg); in rsa_encrypt()
206 send_msg(msg); in ecdsa_do_sign()
207 sshbuf_reset(msg); in ecdsa_do_sign()
220 sshbuf_free(msg); in ecdsa_do_sign()
333 send_msg(msg); in pkcs11_add_provider()
334 sshbuf_reset(msg); in pkcs11_add_provider()
359 sshbuf_free(msg); in pkcs11_add_provider()
375 send_msg(msg); in pkcs11_del_provider()
[all …]
H A Dssh-pkcs11-helper.c118 struct sshbuf *msg; in process_add() local
120 if ((msg = sshbuf_new()) == NULL) in process_add()
126 if ((r = sshbuf_put_u8(msg, in process_add()
152 send_msg(msg); in process_add()
153 sshbuf_free(msg); in process_add()
160 struct sshbuf *msg; in process_del() local
174 send_msg(msg); in process_del()
175 sshbuf_free(msg); in process_del()
185 struct sshbuf *msg; in process_sign() local
244 send_msg(msg); in process_sign()
[all …]
H A Dsftp-server.c536 send_msg(msg); in send_status()
537 sshbuf_free(msg); in send_status()
551 send_msg(msg); in send_data_or_handle()
552 sshbuf_free(msg); in send_data_or_handle()
593 send_msg(msg); in send_names()
594 sshbuf_free(msg); in send_names()
610 send_msg(msg); in send_attrib()
611 sshbuf_free(msg); in send_attrib()
640 send_msg(msg); in send_statvfs()
641 sshbuf_free(msg); in send_statvfs()
[all …]
H A Dauth-pam.c83 # define PAM_MSG_MEMBER(msg, n, member) ((*(msg))[(n)].member) argument
85 # define PAM_MSG_MEMBER(msg, n, member) ((msg)[(n)]->member) argument
417 PAM_MSG_MEMBER(msg, i, msg))) != 0) in sshpam_thread_conv()
439 PAM_MSG_MEMBER(msg, i, msg))) != 0) in sshpam_thread_conv()
636 PAM_MSG_MEMBER(msg, i, msg))) != 0) in sshpam_store_conv()
827 char *msg; in sshpam_query() local
853 free(msg); in sshpam_query()
864 free(msg); in sshpam_query()
1121 read_passphrase(PAM_MSG_MEMBER(msg, i, msg), in sshpam_tty_conv()
1287 len = strlen(PAM_MSG_MEMBER(msg, i, msg)); in sshpam_passwd_conv()
[all …]
H A Dxmss_fast.h84 …igned char *sig_msg, unsigned long long *sig_msg_len, const unsigned char *msg,unsigned long long …
90 int xmss_sign_open(unsigned char *msg,unsigned long long *msglen, const unsigned char *sig_msg,unsi…
105 …igned char *sig_msg, unsigned long long *sig_msg_len, const unsigned char *msg, unsigned long long…
109 int xmssmt_sign_open(unsigned char *msg, unsigned long long *msglen, const unsigned char *sig_msg, …
H A Dgss-genr.c111 gss_buffer_desc msg = GSS_C_EMPTY_BUFFER; in ssh_gssapi_last_error() local
129 GSS_C_GSS_CODE, ctxt->oid, &ctx, &msg); in ssh_gssapi_last_error()
131 if ((r = sshbuf_put(b, msg.value, msg.length)) != 0 || in ssh_gssapi_last_error()
135 gss_release_buffer(&lmin, &msg); in ssh_gssapi_last_error()
141 GSS_C_MECH_CODE, ctxt->oid, &ctx, &msg); in ssh_gssapi_last_error()
143 if ((r = sshbuf_put(b, msg.value, msg.length)) != 0 || in ssh_gssapi_last_error()
147 gss_release_buffer(&lmin, &msg); in ssh_gssapi_last_error()
H A Dentropy.c83 u_char msg[2]; in get_random_bytes_prngd() local
136 msg[0] = 0x02; in get_random_bytes_prngd()
137 msg[1] = len; in get_random_bytes_prngd()
139 if (atomicio(vwrite, fd, msg, sizeof(msg)) != sizeof(msg)) { in get_random_bytes_prngd()
H A Dssh-agent.c241 struct sshbuf *msg; in process_request_identities() local
244 if ((msg = sshbuf_new()) == NULL) in process_request_identities()
258 if ((r = sshbuf_put_stringb(e->output, msg)) != 0) in process_request_identities()
260 sshbuf_free(msg); in process_request_identities()
290 struct sshbuf *msg; in process_sign_request2() local
294 if ((msg = sshbuf_new()) == NULL) in process_sign_request2()
330 sshbuf_free(msg); in process_sign_request2()
546 struct sshbuf *msg; in no_identities() local
549 if ((msg = sshbuf_new()) == NULL) in no_identities()
552 (r = sshbuf_put_u32(msg, 0)) != 0 || in no_identities()
[all …]
H A Dsshconnect.c584 for (msg = prompt;;msg = fingerprint ? again_fp : again) { in confirm()
585 p = read_passphrase(msg, RP_ECHO); in confirm()
717 char msg[1024]; in check_host_key() local
890 snprintf(msg, sizeof(msg), in check_host_key()
901 confirmed = confirm(msg, fp); in check_host_key()
1082 snprintf(msg, sizeof(msg), in check_host_key()
1088 len = strlen(msg); in check_host_key()
1089 snprintf(msg + len, sizeof(msg) - len, in check_host_key()
1097 if (!confirm(msg, NULL)) in check_host_key()
1101 logit("%s", msg); in check_host_key()
[all …]
H A Dxmss_wots.h55 int wots_sign(unsigned char *sig, const unsigned char *msg, const unsigned char *sk, const wots_par…
61 int wots_pkFromSig(unsigned char *pk, const unsigned char *sig, const unsigned char *msg, const wot…
H A Dsandbox-seccomp-filter.c295 void mm_log_handler(LogLevel level, const char *msg, void *ctx);
300 char msg[256]; in ssh_sandbox_violation() local
302 snprintf(msg, sizeof(msg), in ssh_sandbox_violation()
305 mm_log_handler(SYSLOG_LEVEL_FATAL, msg, pmonitor); in ssh_sandbox_violation()
H A Dxmss_wots.c119 int wots_sign(unsigned char *sig, const unsigned char *msg, const unsigned char *sk, const wots_par… in wots_sign() argument
128 base_w(basew, params->len_1, msg, params); in wots_sign()
158 int wots_pkFromSig(unsigned char *pk, const unsigned char *sig, const unsigned char *msg, const wot… in wots_pkFromSig() argument
166 base_w(basew, params->len_1, msg, params); in wots_pkFromSig()
H A Dmonitor_wrap.c85 mm_log_handler(LogLevel level, const char *msg, void *ctx) in mm_log_handler() argument
100 (r = sshbuf_put_cstring(log_msg, msg)) != 0) in mm_log_handler()
549 char *p, *msg; in mm_pty_allocate() local
580 (r = sshbuf_get_cstring(m, &msg, NULL)) != 0) in mm_pty_allocate()
587 if ((r = sshbuf_put(loginmsg, msg, strlen(msg))) != 0) in mm_pty_allocate()
589 free(msg); in mm_pty_allocate()
644 char *msg; in mm_do_pam_account() local
659 (r = sshbuf_get_cstring(m, &msg, &msglen)) != 0 || in mm_do_pam_account()
660 (r = sshbuf_put(loginmsg, msg, msglen)) != 0) in mm_do_pam_account()
663 free(msg); in mm_do_pam_account()
H A Dssh-add.c196 char msg[1024], *certpath = NULL; in add_file() local
251 snprintf(msg, sizeof msg, "Enter passphrase for %s%s: ", in add_file()
254 pass = read_passphrase(msg, RP_ALLOW_STDIN); in add_file()
270 snprintf(msg, sizeof msg, in add_file()
H A Dxmss_fast.c551 …igned char *sig_msg, unsigned long long *sig_msg_len, const unsigned char *msg, unsigned long long… in xmss_sign() argument
599 h_msg(msg_h, msg, msglen, hash_key, 3*n, n); in xmss_sign()
654 memcpy(sig_msg, msg, msglen); in xmss_sign()
663 int xmss_sign_open(unsigned char *msg, unsigned long long *msglen, const unsigned char *sig_msg, un… in xmss_sign_open() argument
732 msg[i] = sig_msg[i]; in xmss_sign_open()
740 msg[i] = 0; in xmss_sign_open()
846 h_msg(msg_h, msg, msglen, hash_key, 3*n, n); in xmssmt_sign()
961 memcpy(sig_msg, msg, msglen); in xmssmt_sign()
970 int xmssmt_sign_open(unsigned char *msg, unsigned long long *msglen, const unsigned char *sig_msg, … in xmssmt_sign_open() argument
1094 msg[i] = sig_msg[i]; in xmssmt_sign_open()
[all …]
H A Dauth.c680 char *msg; in auth_debug_send() local
686 if ((r = sshbuf_get_cstring(auth_debug, &msg, NULL)) != 0) in auth_debug_send()
689 ssh_packet_send_debug(ssh, "%s", msg); in auth_debug_send()
690 free(msg); in auth_debug_send()
1004 char msg[1024], buf[64]; in auth_log_authopts() local
1008 snprintf(msg, sizeof(msg), "key options:%s%s%s%s%s%s%s%s%s%s%s%s%s", in auth_log_authopts()
1023 debug("%s: %s", loc, msg); in auth_log_authopts()
1025 auth_debug_add("%s: %s", loc, msg); in auth_log_authopts()
H A Dreadpass.c51 ssh_askpass(char *askpass, const char *msg) in ssh_askpass() argument
78 execlp(askpass, askpass, msg, (char *)NULL); in ssh_askpass()
/openssh-portable/openbsd-compat/
H A Dport-aix.c206 if (msg && *msg) { in sys_auth_passwd()
208 msg, strlen(msg))) != 0) in sys_auth_passwd()
223 name, msg); in sys_auth_passwd()
224 free(msg); in sys_auth_passwd()
243 char *msg = NULL; in sys_auth_allowed_user() local
268 if ((r = sshbuf_put(loginmsg, msg, strlen(msg))) != 0) in sys_auth_allowed_user()
271 if (msg == NULL) in sys_auth_allowed_user()
278 free(msg); in sys_auth_allowed_user()
286 char *msg = NULL; in sys_auth_record_login() local
292 if (msg != NULL) { in sys_auth_record_login()
[all …]
/openssh-portable/contrib/redhat/
H A Dsshd.init.old32 local msg
34 msg="$2"
36 msg="done"
43 echo -n "${msg}"
48 local msg
50 msg="$2"
52 msg="FAILED"
59 echo -n "${msg}"
/openssh-portable/regress/unittests/sshbuf/
H A Dtest_sshbuf_misc.c30 char tmp[512], msg[] = "imploring ping silence ping over", *p; in sshbuf_misc_tests() local
169 p1 = sshbuf_from(msg, sizeof(msg) - 1); in sshbuf_misc_tests()
185 ASSERT_INT_EQ(sshbuf_cmp(p1, 0, msg, sizeof(msg) - 1), 0); in sshbuf_misc_tests()
189 p1 = sshbuf_from(msg, sizeof(msg) - 1); in sshbuf_misc_tests()
214 ASSERT_INT_EQ(sshbuf_find(p1, 0, msg + 1, sizeof(msg) - 2, &sz), 0); in sshbuf_misc_tests()
/openssh-portable/openbsd-compat/regress/
H A Dutimensattest.c44 fail(char *msg, long expect, long got) in fail() argument
49 fprintf(stderr, "utimensat: %s: %s\n", msg, in fail()
53 msg, expect, got); in fail()
H A Dclosefromtest.c30 fail(char *msg) in fail() argument
32 fprintf(stderr, "closefrom: %s\n", msg); in fail()

Completed in 54 milliseconds

12