| /trueos/crypto/openssh/ |
| HD | roaming_common.c | 42 static char *out_buf = NULL; variable 85 if (out_buf == NULL) { in set_out_buffer_size() 87 out_buf = xmalloc(size); in set_out_buffer_size() 126 memcpy(out_buf + out_last, buf, count); in buf_append() 133 memcpy(out_buf + out_last, buf, chunk); in buf_append() 134 memcpy(out_buf, buf + chunk, count - chunk); in buf_append() 215 atomicio(vwrite, fd, out_buf + out_buf_size - chunkend, in resend_bytes() 217 atomicio(vwrite, fd, out_buf, out_last); in resend_bytes() 219 atomicio(vwrite, fd, out_buf + (out_last - needed), needed); in resend_bytes()
|
| HD | umac.c | 198 UINT8 out_buf[AES_BLOCK_LEN]; in kdf() local 207 aes_encryption(in_buf, out_buf, key); in kdf() 208 memcpy(dst_buf,out_buf,AES_BLOCK_LEN); in kdf() 214 aes_encryption(in_buf, out_buf, key); in kdf() 215 memcpy(dst_buf,out_buf,nbytes); in kdf()
|
| /trueos/crypto/openssl/apps/ |
| HD | passwd.c | 297 static char out_buf[6 + 9 + 24 + 2]; in md5crypt() local 306 out_buf[0] = '$'; in md5crypt() 307 out_buf[1] = 0; in md5crypt() 309 strncat(out_buf, magic, 4); in md5crypt() 310 strncat(out_buf, "$", 1); in md5crypt() 311 strncat(out_buf, salt, 8); in md5crypt() 312 assert(strlen(out_buf) <= 6 + 8); /* "$apr1$..salt.." */ in md5crypt() 313 salt_out = out_buf + 2 + strlen(magic); in md5crypt() 376 assert(output == out_buf + strlen(out_buf)); in md5crypt() 392 assert(strlen(out_buf) < sizeof(out_buf)); in md5crypt() [all …]
|
| /trueos/contrib/libarchive/libarchive/ |
| HD | archive_read_support_filter_program.c | 117 char *out_buf; member 401 char *out_buf; in __archive_read_program() local 408 out_buf = (char *)malloc(out_buf_len); in __archive_read_program() 409 if (state == NULL || out_buf == NULL || in __archive_read_program() 417 free(out_buf); in __archive_read_program() 426 state->out_buf = out_buf; in __archive_read_program() 432 free(state->out_buf); in __archive_read_program() 443 free(state->out_buf); in __archive_read_program() 483 p = state->out_buf; in program_filter_read() 497 *buff = state->out_buf; in program_filter_read() [all …]
|
| /trueos/contrib/wpa/src/eap_server/ |
| HD | eap_server_tnc.c | 24 struct wpabuf *out_buf; member 98 wpabuf_free(data->out_buf); in eap_tnc_reset() 227 send_len = wpabuf_len(data->out_buf) - data->out_used; in eap_tnc_build_msg() 247 wpabuf_put_be32(req, wpabuf_len(data->out_buf)); in eap_tnc_build_msg() 249 wpabuf_put_data(req, wpabuf_head_u8(data->out_buf) + data->out_used, in eap_tnc_build_msg() 253 if (data->out_used == wpabuf_len(data->out_buf)) { in eap_tnc_build_msg() 257 wpabuf_free(data->out_buf); in eap_tnc_build_msg() 258 data->out_buf = NULL; in eap_tnc_build_msg() 267 (unsigned long) wpabuf_len(data->out_buf) - in eap_tnc_build_msg() 289 if (data->out_buf == NULL) { in eap_tnc_buildReq() [all …]
|
| HD | eap_server_wsc.c | 23 struct wpabuf *out_buf; member 159 wpabuf_free(data->out_buf); in eap_wsc_reset() 193 send_len = wpabuf_len(data->out_buf) - data->out_used; in eap_wsc_build_msg() 216 wpabuf_put_be16(req, wpabuf_len(data->out_buf)); in eap_wsc_build_msg() 218 wpabuf_put_data(req, wpabuf_head_u8(data->out_buf) + data->out_used, in eap_wsc_build_msg() 222 if (data->out_used == wpabuf_len(data->out_buf)) { in eap_wsc_build_msg() 226 wpabuf_free(data->out_buf); in eap_wsc_build_msg() 227 data->out_buf = NULL; in eap_wsc_build_msg() 233 (unsigned long) wpabuf_len(data->out_buf) - in eap_wsc_build_msg() 250 if (data->out_buf == NULL) { in eap_wsc_buildReq() [all …]
|
| HD | eap_server_ikev2.c | 21 struct wpabuf *out_buf; member 125 wpabuf_free(data->out_buf); in eap_ikev2_reset() 140 send_len = wpabuf_len(data->out_buf) - data->out_used; in eap_ikev2_build_msg() 175 wpabuf_put_be32(req, wpabuf_len(data->out_buf)); in eap_ikev2_build_msg() 177 wpabuf_put_data(req, wpabuf_head_u8(data->out_buf) + data->out_used, in eap_ikev2_build_msg() 190 if (data->out_used == wpabuf_len(data->out_buf)) { in eap_ikev2_build_msg() 194 wpabuf_free(data->out_buf); in eap_ikev2_build_msg() 195 data->out_buf = NULL; in eap_ikev2_build_msg() 200 (unsigned long) wpabuf_len(data->out_buf) - in eap_ikev2_build_msg() 215 if (data->out_buf == NULL) { in eap_ikev2_buildReq() [all …]
|
| /trueos/crypto/heimdal/appl/push/ |
| HD | push.c | 214 char out_buf[PUSH_BUFSIZ]; in doit() local 273 out_len = snprintf (out_buf, sizeof(out_buf), in doit() 276 if (out_len < 0 || out_len > sizeof(out_buf)) in doit() 278 if (net_write (s, out_buf, out_len) != out_len) in doit() 281 fprintf (stderr, "%s", out_buf); in doit() 481 out_len = snprintf (out_buf, sizeof(out_buf), in doit() 484 out_len = snprintf (out_buf, sizeof(out_buf), in doit() 487 out_len = snprintf(out_buf, sizeof(out_buf), in doit() 492 out_len = snprintf (out_buf, sizeof(out_buf), in doit() 494 if (out_len < 0 || out_len > sizeof(out_buf)) in doit() [all …]
|
| /trueos/contrib/wpa/src/eap_peer/ |
| HD | eap_tnc.c | 20 struct wpabuf *out_buf; member 59 wpabuf_free(data->out_buf); in eap_tnc_deinit() 95 send_len = wpabuf_len(data->out_buf) - data->out_used; in eap_tnc_build_msg() 115 wpabuf_put_be32(resp, wpabuf_len(data->out_buf)); in eap_tnc_build_msg() 117 wpabuf_put_data(resp, wpabuf_head_u8(data->out_buf) + data->out_used, in eap_tnc_build_msg() 124 if (data->out_used == wpabuf_len(data->out_buf)) { in eap_tnc_build_msg() 128 wpabuf_free(data->out_buf); in eap_tnc_build_msg() 129 data->out_buf = NULL; in eap_tnc_build_msg() 134 (unsigned long) wpabuf_len(data->out_buf) - in eap_tnc_build_msg() 347 if (data->out_buf) { in eap_tnc_process() [all …]
|
| HD | eap_ikev2.c | 21 struct wpabuf *out_buf; member 109 wpabuf_free(data->out_buf); in eap_ikev2_deinit() 143 send_len = wpabuf_len(data->out_buf) - data->out_used; in eap_ikev2_build_msg() 184 wpabuf_put_be32(resp, wpabuf_len(data->out_buf)); in eap_ikev2_build_msg() 186 wpabuf_put_data(resp, wpabuf_head_u8(data->out_buf) + data->out_used, in eap_ikev2_build_msg() 202 if (data->out_used == wpabuf_len(data->out_buf)) { in eap_ikev2_build_msg() 206 wpabuf_free(data->out_buf); in eap_ikev2_build_msg() 207 data->out_buf = NULL; in eap_ikev2_build_msg() 238 (unsigned long) wpabuf_len(data->out_buf) - in eap_ikev2_build_msg() 420 if (data->out_buf == NULL) { in eap_ikev2_process() [all …]
|
| HD | eap_wsc.c | 23 struct wpabuf *out_buf; member 260 wpabuf_free(data->out_buf); in eap_wsc_deinit() 280 send_len = wpabuf_len(data->out_buf) - data->out_used; in eap_wsc_build_msg() 300 wpabuf_put_be16(resp, wpabuf_len(data->out_buf)); in eap_wsc_build_msg() 302 wpabuf_put_data(resp, wpabuf_head_u8(data->out_buf) + data->out_used, in eap_wsc_build_msg() 309 if (data->out_used == wpabuf_len(data->out_buf)) { in eap_wsc_build_msg() 313 wpabuf_free(data->out_buf); in eap_wsc_build_msg() 314 data->out_buf = NULL; in eap_wsc_build_msg() 326 (unsigned long) wpabuf_len(data->out_buf) - in eap_wsc_build_msg() 522 if (data->out_buf == NULL) { in eap_wsc_process() [all …]
|
| /trueos/sys/arm/lpc/ |
| HD | lpc_spi.c | 147 uint8_t *in_buf, *out_buf; in lpc_spi_transfer() local 158 out_buf = cmd->tx_cmd; in lpc_spi_transfer() 160 lpc_spi_write_4(sc, LPC_SSP_DR, out_buf[i]); in lpc_spi_transfer() 166 out_buf = cmd->tx_data; in lpc_spi_transfer() 168 lpc_spi_write_4(sc, LPC_SSP_DR, out_buf[i]); in lpc_spi_transfer()
|
| /trueos/contrib/binutils/gas/ |
| HD | app.c | 199 static char out_buf[20]; variable 217 char out_buf[sizeof (out_buf)]; member 240 memcpy (saved->out_buf, out_buf, sizeof (out_buf)); in app_push() 276 memcpy (out_buf, saved->out_buf, sizeof (out_buf)); in app_pop() 1030 sprintf (out_buf, "%d", (int) (unsigned char) ch); in do_scrub_chars() 1042 if (strlen (out_buf) == 1) in do_scrub_chars() 1044 PUT (out_buf[0]); in do_scrub_chars() 1052 out_string = out_buf; in do_scrub_chars()
|
| /trueos/usr.sbin/ctm/ctm_rmail/ |
| HD | ctm_rmail.c | 42 int decode_line(char *line, char *out_buf); 270 char out_buf[200]; in read_piece() local 378 n = decode_line(line, out_buf); in read_piece() 393 add_ck(cksum, out_buf[i]); in read_piece() 395 fwrite(out_buf, sizeof(char), n, ofp); in read_piece() 610 decode_line(char *line, char *out_buf) in decode_line() argument 613 unsigned char *op = (unsigned char *)out_buf; in decode_line() 644 return op - (unsigned char *)out_buf; in decode_line()
|
| /trueos/contrib/xz/src/xzdec/ |
| HD | xzdec.c | 165 uint8_t out_buf[BUFSIZ]; in uncompress() local 168 strm->next_out = out_buf; in uncompress() 203 if (fwrite(out_buf, 1, write_size, stdout) in uncompress() 213 strm->next_out = out_buf; in uncompress()
|
| /trueos/share/examples/libusb20/ |
| HD | bulk.c | 60 uint8_t out_buf[BUFLEN]; variable 124 if ((rv = libusb20_tr_bulk_intr_sync(xfr_out, out_buf, out_len, &rlen, TIMEOUT)) in doit() 208 out_buf[out_len] = (uint8_t)n; in main()
|
| HD | control.c | 63 uint8_t out_buf[BUFLEN]; variable 120 data = out_buf; in doit() 379 out_buf[out_len] = (uint8_t)n; in main()
|
| /trueos/contrib/wpa/src/crypto/ |
| HD | tls_schannel.c | 322 struct wpabuf *out_buf = NULL; in tls_connection_handshake() local 386 out_buf = wpabuf_alloc_copy(outbufs[0].pvBuffer, in tls_connection_handshake() 390 if (out_buf == NULL) in tls_connection_handshake() 410 if (out_buf == NULL) in tls_connection_handshake() 411 out_buf = wpabuf_alloc(0); in tls_connection_handshake() 440 "(out_buf=%p)", out_buf); in tls_connection_handshake() 443 return out_buf; in tls_connection_handshake() 454 return out_buf; in tls_connection_handshake()
|
| /trueos/contrib/xz/src/xz/ |
| HD | coder.c | 37 static io_buf out_buf; variable 481 strm.next_out = out_buf.u8; in coder_normal() 504 if (opt_mode != MODE_TEST && io_write(pair, &out_buf, in coder_normal() 508 strm.next_out = out_buf.u8; in coder_normal() 525 &out_buf, IO_BUFFER_SIZE in coder_normal()
|
| /trueos/sys/dev/drm2/i915/ |
| HD | intel_modes.c | 44 u8 out_buf[] = { 0x0, 0x0}; in intel_ddc_probe() local 51 .buf = out_buf, in intel_ddc_probe()
|
| /trueos/sys/dev/drm2/radeon/ |
| HD | radeon_i2c.c | 1279 u8 out_buf[2]; in radeon_i2c_get_byte() local 1286 .buf = out_buf, in radeon_i2c_get_byte() 1296 out_buf[0] = addr; in radeon_i2c_get_byte() 1297 out_buf[1] = 0; in radeon_i2c_get_byte() 1313 uint8_t out_buf[2]; in radeon_i2c_put_byte() local 1318 .buf = out_buf, in radeon_i2c_put_byte() 1321 out_buf[0] = addr; in radeon_i2c_put_byte() 1322 out_buf[1] = val; in radeon_i2c_put_byte()
|
| /trueos/contrib/atf/atf-c/detail/ |
| HD | fs.c | 809 goto out_buf; in atf_fs_mkdtemp() 814 out_buf: in atf_fs_mkdtemp() 838 goto out_buf; in atf_fs_mkstemp() 844 out_buf: in atf_fs_mkstemp()
|
| /trueos/sys/cam/scsi/ |
| HD | scsi_sg.c | 738 goto out_buf; in sgwrite() 780 out_buf: in sgwrite()
|