Home
last modified time | relevance | path

Searched refs:in (Results 1 – 25 of 27) sorted by last modified time

12

/openssh-portable/
H A Dmonitor_wrap.c940 mm_ssh_gssapi_accept_ctx(Gssctxt *ctx, gss_buffer_desc *in, in mm_ssh_gssapi_accept_ctx() argument
950 if ((r = sshbuf_put_string(m, in->value, in->length)) != 0) in mm_ssh_gssapi_accept_ctx()
H A Dssh-sk-helper.c276 int in, out, ch, r, vflag = 0; in main() local
304 if ((in = dup(STDIN_FILENO)) == -1 || (out = dup(STDOUT_FILENO)) == -1) in main()
312 if (ssh_msg_recv(in, req) < 0) in main()
314 close(in); in main()
H A Dsftp.c2300 connect_to_server(char *path, char **args, int *in, int *out) in connect_to_server() argument
2309 *in = pin[0]; in connect_to_server()
2318 *in = *out = inout[0]; in connect_to_server()
2330 close(*in); in connect_to_server() local
2378 int in, out, ch, err, tmp, port = -1, noisy = 0; in main() local
2575 connect_to_server(ssh_program, args.list, &in, &out); in main()
2580 connect_to_server(sftp_direct, args.list, &in, &out); in main()
2584 conn = do_init(in, out, copy_buffer_len, num_requests, limit_kbps); in main()
2598 shutdown(in, SHUT_RDWR); in main()
2602 close(in); in main()
H A Dchannels.c1494 const char *host_to_connect, u_short port_to_connect, int in, int out) in channel_connect_stdio_fwd() argument
1500 c = channel_new(ssh, "stdio-forward", SSH_CHANNEL_OPENING, in, out, in channel_connect_stdio_fwd()
1509 channel_register_fds(ssh, c, in, out, -1, 0, 1, 0); in channel_connect_stdio_fwd()
H A Dmonitor.c1839 gss_buffer_desc in; in mm_answer_gss_accept_ctx() local
1848 if ((r = ssh_gssapi_get_buffer_desc(m, &in)) != 0) in mm_answer_gss_accept_ctx()
1850 major = ssh_gssapi_accept_ctx(gsscontext, &in, &out, &flags); in mm_answer_gss_accept_ctx()
1851 free(in.value); in mm_answer_gss_accept_ctx()
H A Dmux.c1153 struct sshbuf *in = NULL, *out = NULL; in mux_master_read_cb() local
1180 if ((r = sshbuf_froms(c->input, &in)) != 0) { in mux_master_read_cb()
1186 if ((r = sshbuf_get_u32(in, &type)) != 0) in mux_master_read_cb()
1189 type, sshbuf_len(in)); in mux_master_read_cb()
1199 if ((r = sshbuf_get_u32(in, &rid)) != 0) in mux_master_read_cb()
1206 c, in, out); in mux_master_read_cb()
1220 sshbuf_free(in); in mux_master_read_cb()
H A Dpacket.c744 compress_buffer(struct ssh *ssh, struct sshbuf *in, struct sshbuf *out) in compress_buffer() argument
753 if (sshbuf_len(in) == 0) in compress_buffer()
758 sshbuf_mutable_ptr(in)) == NULL) in compress_buffer()
760 ssh->state->compression_out_stream.avail_in = sshbuf_len(in); in compress_buffer()
790 uncompress_buffer(struct ssh *ssh, struct sshbuf *in, struct sshbuf *out) in uncompress_buffer() argument
799 sshbuf_mutable_ptr(in)) == NULL) in uncompress_buffer()
801 ssh->state->compression_in_stream.avail_in = sshbuf_len(in); in uncompress_buffer()
851 compress_buffer(struct ssh *ssh, struct sshbuf *in, struct sshbuf *out) in compress_buffer() argument
857 uncompress_buffer(struct ssh *ssh, struct sshbuf *in, struct sshbuf *out) in uncompress_buffer() argument
H A Dsshconnect.c535 int in, out; in ssh_connect() local
541 if ((in = dup(STDIN_FILENO)) == -1 || in ssh_connect()
543 if (in >= 0) in ssh_connect()
544 close(in); in ssh_connect()
548 if ((ssh_packet_set_connection(ssh, in, out)) == NULL) in ssh_connect()
H A Dssh-keygen.c2852 FILE *out, *in = stdin; in do_moduli_screen() local
2885 if ((in = fopen(identity_file, "r")) == NULL) { in do_moduli_screen()
2897 if (prime_test(in, out, prime_tests == 0 ? 100 : prime_tests, in do_moduli_screen()
H A Dssh.c1852 int in, out; in ssh_init_stdio_forwarding() local
1860 if ((in = dup(STDIN_FILENO)) == -1 || in ssh_init_stdio_forwarding()
1864 options.stdio_forward_port, in, out)) == NULL) in ssh_init_stdio_forwarding()
2006 int window, packetmax, in, out, err; in ssh_session2_open() local
2009 in = open(_PATH_DEVNULL, O_RDONLY); in ssh_session2_open()
2011 in = dup(STDIN_FILENO); in ssh_session2_open()
2016 if (in == -1 || out == -1 || err == -1) in ssh_session2_open()
2020 if (!isatty(in)) in ssh_session2_open()
2021 set_nonblock(in); in ssh_session2_open()
2034 "session", SSH_CHANNEL_OPENING, in, out, err, in ssh_session2_open()
H A Dssh-pkcs11-helper.c321 int r, ch, in, out, log_stderr = 0; in main() local
354 in = STDIN_FILENO; in main()
364 pfd[0].fd = in; in main()
389 len = read(in, buf, sizeof buf); in main()
H A Dsftp-server.c1570 int i, r, in, out, max, ch, skipargs = 0, log_stderr = 0; in sftp_server_main() local
1680 in = STDIN_FILENO; in sftp_server_main()
1684 setmode(in, O_BINARY); in sftp_server_main()
1689 if (in > max) in sftp_server_main()
1690 max = in; in sftp_server_main()
1722 FD_SET(in, rset); in sftp_server_main()
1738 if (FD_ISSET(in, rset)) { in sftp_server_main()
1739 len = read(in, buf, sizeof buf); in sftp_server_main()
H A Dconfigure.ac191 case $GCC_VER in
533 case "$host" in
735 case "$host" in
755 case "$host" in
851 case "$host" in
873 case "$host" in
992 [syslog_r function is safe to use in in a signal handler])
1129 case "$host" in
1214 case "$host" in
3448 case "$host" in
[all …]
H A Dumac.c164 #define aes_encryption(in,out,int_key) \ argument
165 AES_encrypt((u_char *)(in),(u_char *)(out),(AES_KEY *)int_key)
172 #define aes_encryption(in,out,int_key) \ argument
173 rijndaelEncrypt((u32 *)(int_key), AES_ROUNDS, (u8 *)(in), (u8 *)(out))
H A Dhash.c19 crypto_hash_sha512(unsigned char *out, const unsigned char *in, in crypto_hash_sha512() argument
23 if (!EVP_Digest(in, inlen, out, NULL, EVP_sha512(), NULL)) in crypto_hash_sha512()
34 crypto_hash_sha512(unsigned char *out, const unsigned char *in, in crypto_hash_sha512() argument
41 SHA512Update(&ctx, in, inlen); in crypto_hash_sha512()
H A Dmoduli.c577 prime_test(FILE *in, FILE *out, u_int32_t trials, u_int32_t generator_wanted, in prime_test() argument
594 end_lineno = count_lines(in); in prime_test()
619 while (fgets(lp, QLINESIZE + 1, in) != NULL && count_in < end_lineno) { in prime_test()
H A Dxmss_wots.c71 static void gen_chain(unsigned char *out, const unsigned char *in, unsigned int start, unsigned int… in gen_chain() argument
75 out[j] = in[j]; in gen_chain()
90 int in = 0; in base_w() local
98 total = input[in]; in base_w()
99 in++; in base_w()
H A Dxmss_commons.c19 void to_byte(unsigned char *out, unsigned long long in, uint32_t bytes) in to_byte() argument
23 out[i] = in & 0xff; in to_byte()
24 in = in >> 8; in to_byte()
H A Dxmss_hash.c41 … type, const unsigned char *key, unsigned int keylen, const unsigned char *in, unsigned long long … in core_hash_SHA2() argument
55 buf[keylen + n + i] = in[i]; in core_hash_SHA2()
74 int prf(unsigned char *out, const unsigned char *in, const unsigned char *key, unsigned int keylen) in prf() argument
76 return core_hash_SHA2(out, 3, key, keylen, in, 32, keylen); in prf()
82 int h_msg(unsigned char *out, const unsigned char *in, unsigned long long inlen, const unsigned cha… in h_msg() argument
88 return core_hash_SHA2(out, 2, key, keylen, in, inlen, n); in h_msg()
94 int hash_h(unsigned char *out, const unsigned char *in, const unsigned char *pub_seed, uint32_t add… in hash_h() argument
114 buf[i] = in[i] ^ bitmask[i]; in hash_h()
119 int hash_f(unsigned char *out, const unsigned char *in, const unsigned char *pub_seed, uint32_t add… in hash_f() argument
136 buf[i] = in[i] ^ bitmask[i]; in hash_f()
H A Dxmss_commons.h17 void to_byte(unsigned char *output, unsigned long long in, uint32_t bytes);
H A Dxmss_hash.h16 int prf(unsigned char *out, const unsigned char *in, const unsigned char *key, unsigned int keylen)…
17 int h_msg(unsigned char *out,const unsigned char *in,unsigned long long inlen, const unsigned char …
18 int hash_h(unsigned char *out, const unsigned char *in, const unsigned char *pub_seed, uint32_t add…
19 int hash_f(unsigned char *out, const unsigned char *in, const unsigned char *pub_seed, uint32_t add…
/openssh-portable/m4/
H A Dopenssh.m419 /* Some math to catch -ftrapv problems in the toolchain */
67 /* Some math to catch -ftrapv problems in the toolchain */
106 /* Some math to catch -ftrapv problems in the toolchain */
135 # look for field '$1' in header '$2'
140 AC_MSG_CHECKING(for $1 field in $2)
152 AC_DEFINE($3, 1, [Define if you have $1 in $2])
159 dnl Check for socklen_t: historically on BSD it is an int, and in
172 for arg2 in "struct sockaddr" void; do
173 for t in int size_t unsigned long "unsigned long"; do
190 AC_MSG_ERROR([Cannot find a type to use in place of socklen_t])
[all …]
/openssh-portable/openbsd-compat/
H A Dopenbsd-compat.h149 char *inet_ntoa(struct in_addr in);
H A Dbindresvport.c57 struct sockaddr_in *in; in bindresvport_sa() local
78 in = (struct sockaddr_in *)sa; in bindresvport_sa()
80 portp = &in->sin_port; in bindresvport_sa()
H A Dmd5.c159 u_int32_t a, b, c, d, in[MD5_BLOCK_LENGTH / 4]; in MD5Transform() local
162 memcpy(in, block, sizeof(in)); in MD5Transform()
165 in[a] = (u_int32_t)( in MD5Transform()
178 MD5STEP(F1, a, b, c, d, in[ 0] + 0xd76aa478, 7); in MD5Transform()
179 MD5STEP(F1, d, a, b, c, in[ 1] + 0xe8c7b756, 12); in MD5Transform()
180 MD5STEP(F1, c, d, a, b, in[ 2] + 0x242070db, 17); in MD5Transform()
181 MD5STEP(F1, b, c, d, a, in[ 3] + 0xc1bdceee, 22); in MD5Transform()
182 MD5STEP(F1, a, b, c, d, in[ 4] + 0xf57c0faf, 7); in MD5Transform()
183 MD5STEP(F1, d, a, b, c, in[ 5] + 0x4787c62a, 12); in MD5Transform()
184 MD5STEP(F1, c, d, a, b, in[ 6] + 0xa8304613, 17); in MD5Transform()
[all …]

Completed in 52 milliseconds

12