Home
last modified time | relevance | path

Searched refs:out_buf (Results 1 – 25 of 30) sorted by relevance

12

/freebsd-13.1/crypto/openssl/apps/
H A Dpasswd.c360 OPENSSL_strlcat(out_buf, ascii_salt, sizeof(out_buf)); in md5crypt()
457 assert(output == out_buf + strlen(out_buf)); in md5crypt()
473 assert(strlen(out_buf) < sizeof(out_buf)); in md5crypt()
475 ascii2ebcdic(out_buf, out_buf, strlen(out_buf)); in md5crypt()
584 OPENSSL_strlcat(out_buf, ascii_dollar, sizeof(out_buf)); in shacrypt()
585 OPENSSL_strlcat(out_buf, ascii_magic, sizeof(out_buf)); in shacrypt()
586 OPENSSL_strlcat(out_buf, ascii_dollar, sizeof(out_buf)); in shacrypt()
595 OPENSSL_strlcat(out_buf, tmp_buf, sizeof(out_buf)); in shacrypt()
598 OPENSSL_strlcat(out_buf, ascii_salt, sizeof(out_buf)); in shacrypt()
703 cp = out_buf + strlen(out_buf); in shacrypt()
[all …]
/freebsd-13.1/contrib/llvm-project/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_stacktrace_libcdep.cpp87 internal_memcpy(out_buf, str.data(), copy_size); in CopyStringToBuffer()
88 out_buf[copy_size] = '\0'; in CopyStringToBuffer()
120 uptr StackTrace::PrintTo(char *out_buf, uptr out_buf_size) const { in PrintTo() argument
121 CHECK(out_buf); in PrintTo()
125 CopyStringToBuffer(output, out_buf, out_buf_size); in PrintTo()
189 void __sanitizer_symbolize_pc(uptr pc, const char *fmt, char *out_buf, in __sanitizer_symbolize_pc() argument
202 CopyStringToBuffer(output, out_buf, out_buf_size); in __sanitizer_symbolize_pc()
207 char *out_buf, uptr out_buf_size) { in __sanitizer_symbolize_global() argument
209 out_buf[0] = 0; in __sanitizer_symbolize_global()
214 internal_strncpy(out_buf, data_desc.data(), out_buf_size); in __sanitizer_symbolize_global()
[all …]
/freebsd-13.1/contrib/wpa/src/eap_server/
H A Deap_server_tnc.c24 struct wpabuf *out_buf; member
98 wpabuf_free(data->out_buf); in eap_tnc_reset()
247 wpabuf_put_be32(req, 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()
290 data->out_buf = eap_tnc_build(sm, data); in eap_tnc_buildReq()
291 if (data->out_buf == NULL) { in eap_tnc_buildReq()
300 if (data->out_buf == NULL) { in eap_tnc_buildReq()
[all …]
H A Deap_server_wsc.c23 struct wpabuf *out_buf; member
161 wpabuf_free(data->out_buf); in eap_wsc_reset()
195 send_len = wpabuf_len(data->out_buf) - data->out_used; in eap_wsc_build_msg()
218 wpabuf_put_be16(req, wpabuf_len(data->out_buf)); in eap_wsc_build_msg()
224 if (data->out_used == wpabuf_len(data->out_buf)) { in eap_wsc_build_msg()
228 wpabuf_free(data->out_buf); in eap_wsc_build_msg()
229 data->out_buf = NULL; in eap_wsc_build_msg()
235 (unsigned long) wpabuf_len(data->out_buf) - in eap_wsc_build_msg()
252 if (data->out_buf == NULL) { in eap_wsc_buildReq()
253 data->out_buf = wps_get_msg(data->wps, in eap_wsc_buildReq()
[all …]
H A Deap_server_ikev2.c21 struct wpabuf *out_buf; member
127 wpabuf_free(data->out_buf); in eap_ikev2_reset()
142 send_len = wpabuf_len(data->out_buf) - data->out_used; in eap_ikev2_build_msg()
177 wpabuf_put_be32(req, wpabuf_len(data->out_buf)); in eap_ikev2_build_msg()
192 if (data->out_used == wpabuf_len(data->out_buf)) { in eap_ikev2_build_msg()
196 wpabuf_free(data->out_buf); in eap_ikev2_build_msg()
197 data->out_buf = NULL; in eap_ikev2_build_msg()
202 (unsigned long) wpabuf_len(data->out_buf) - in eap_ikev2_build_msg()
217 if (data->out_buf == NULL) { in eap_ikev2_buildReq()
218 data->out_buf = ikev2_initiator_build(&data->ikev2); in eap_ikev2_buildReq()
[all …]
/freebsd-13.1/contrib/libarchive/libarchive/
H A Darchive_read_support_filter_program.c117 char *out_buf; member
396 char *out_buf; in __archive_read_program() local
403 out_buf = (char *)malloc(out_buf_len); in __archive_read_program()
404 if (state == NULL || out_buf == NULL || in __archive_read_program()
412 free(out_buf); in __archive_read_program()
421 state->out_buf = out_buf; in __archive_read_program()
427 free(state->out_buf); in __archive_read_program()
463 p = state->out_buf; in program_filter_read()
477 *buff = state->out_buf; in program_filter_read()
491 free(state->out_buf); in program_filter_close()
/freebsd-13.1/crypto/heimdal/appl/push/
H A Dpush.c214 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 …]
/freebsd-13.1/contrib/wpa/src/eap_peer/
H A Deap_tnc.c21 struct wpabuf *out_buf; member
64 wpabuf_free(data->out_buf); in eap_tnc_deinit()
100 send_len = wpabuf_len(data->out_buf) - data->out_used; in eap_tnc_build_msg()
120 wpabuf_put_be32(resp, wpabuf_len(data->out_buf)); in eap_tnc_build_msg()
122 wpabuf_put_data(resp, wpabuf_head_u8(data->out_buf) + data->out_used, in eap_tnc_build_msg()
129 if (data->out_used == wpabuf_len(data->out_buf)) { in eap_tnc_build_msg()
133 wpabuf_free(data->out_buf); in eap_tnc_build_msg()
134 data->out_buf = NULL; in eap_tnc_build_msg()
139 (unsigned long) wpabuf_len(data->out_buf) - in eap_tnc_build_msg()
399 data->out_buf = resp; in eap_tnc_process()
H A Deap_ikev2.c21 struct wpabuf *out_buf; member
112 wpabuf_free(data->out_buf); in eap_ikev2_deinit()
146 send_len = wpabuf_len(data->out_buf) - data->out_used; in eap_ikev2_build_msg()
181 wpabuf_put_be32(resp, wpabuf_len(data->out_buf)); in eap_ikev2_build_msg()
199 if (data->out_used == wpabuf_len(data->out_buf)) { in eap_ikev2_build_msg()
203 wpabuf_free(data->out_buf); in eap_ikev2_build_msg()
204 data->out_buf = NULL; in eap_ikev2_build_msg()
235 (unsigned long) wpabuf_len(data->out_buf) - in eap_ikev2_build_msg()
423 if (data->out_buf == NULL) { in eap_ikev2_process()
424 data->out_buf = ikev2_responder_build(&data->ikev2); in eap_ikev2_process()
[all …]
H A Deap_wsc.c23 struct wpabuf *out_buf; member
292 wpabuf_free(data->out_buf); in eap_wsc_deinit()
312 send_len = wpabuf_len(data->out_buf) - data->out_used; in eap_wsc_build_msg()
332 wpabuf_put_be16(resp, wpabuf_len(data->out_buf)); in eap_wsc_build_msg()
341 if (data->out_used == wpabuf_len(data->out_buf)) { in eap_wsc_build_msg()
345 wpabuf_free(data->out_buf); in eap_wsc_build_msg()
346 data->out_buf = NULL; in eap_wsc_build_msg()
358 (unsigned long) wpabuf_len(data->out_buf) - in eap_wsc_build_msg()
554 if (data->out_buf == NULL) { in eap_wsc_process()
555 data->out_buf = wps_get_msg(data->wps, &data->out_op_code); in eap_wsc_process()
[all …]
/freebsd-13.1/sys/contrib/openzfs/module/os/freebsd/zfs/
H A Dhkdf.c27 uint_t km_len, uint8_t *out_buf) in hkdf_sha512_extract() argument
36 crypto_mac(&key, key_material, km_len, out_buf, SHA512_DIGEST_LENGTH); in hkdf_sha512_extract()
43 uint8_t *out_buf, uint_t out_len) in hkdf_sha512_expand() argument
68 bcopy(T, out_buf + pos, in hkdf_sha512_expand()
/freebsd-13.1/contrib/xz/src/xzdec/
H A Dxzdec.c165 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()
/freebsd-13.1/sys/contrib/openzfs/module/zfs/
H A Dhkdf.c26 uint_t km_len, uint8_t *out_buf) in hkdf_sha512_extract() argument
53 output_cd.cd_raw.iov_base = (char *)out_buf; in hkdf_sha512_extract()
65 uint8_t *out_buf, uint_t out_len) in hkdf_sha512_expand() argument
137 bcopy(T, out_buf + pos, in hkdf_sha512_expand()
/freebsd-13.1/share/examples/libusb20/
H A Dbulk.c63 uint8_t out_buf[BUFLEN]; variable
127 if ((rv = libusb20_tr_bulk_intr_sync(xfr_out, out_buf, out_len, &rlen, TIMEOUT)) in doit()
211 out_buf[out_len] = (uint8_t)n; in main()
H A Dcontrol.c66 uint8_t out_buf[BUFLEN]; variable
123 data = out_buf; in doit()
382 out_buf[out_len] = (uint8_t)n; in main()
/freebsd-13.1/contrib/llvm-project/compiler-rt/include/sanitizer/
H A Ddfsan_interface.h126 char *out_buf, size_t out_buf_size);
139 size_t dfsan_sprint_stack_trace(char *out_buf, size_t out_buf_size);
H A Dcommon_interface_defs.h209 void __sanitizer_symbolize_pc(void *pc, const char *fmt, char *out_buf,
213 char *out_buf, size_t out_buf_size);
/freebsd-13.1/sys/dev/cxgbe/cudbg/
H A Dfastlz_api.c86 int write_to_buf(void *out_buf, u32 out_buf_size, u32 *offset, void *in_buf, in write_to_buf() argument
96 memcpy((char *)out_buf + *offset, in_buf, in_buf_size); in write_to_buf()
103 int read_from_buf(void *in_buf, u32 in_buf_size, u32 *offset, void *out_buf, in read_from_buf() argument
109 memcpy((char *)out_buf, (char *)in_buf + *offset, out_buf_size); in read_from_buf()
/freebsd-13.1/sys/dev/xilinx/
H A Daxi_quad_spi.c159 spi_txrx(struct spi_softc *sc, uint8_t *out_buf, in spi_txrx() argument
166 WRITE4(sc, SPI_DTR, out_buf[i]); in spi_txrx()
/freebsd-13.1/contrib/llvm-project/compiler-rt/lib/dfsan/
H A Ddfsan.cpp714 char *out_buf, size_t out_buf_size) { in dfsan_sprint_origin_trace() argument
715 CHECK(out_buf); in dfsan_sprint_origin_trace()
737 internal_strncpy(out_buf, trace.data(), out_buf_size - 1); in dfsan_sprint_origin_trace()
738 out_buf[out_buf_size - 1] = '\0'; in dfsan_sprint_origin_trace()
784 dfsan_sprint_stack_trace(char *out_buf, size_t out_buf_size) { in dfsan_sprint_stack_trace() argument
785 CHECK(out_buf); in dfsan_sprint_stack_trace()
788 return stack.PrintTo(out_buf, out_buf_size); in dfsan_sprint_stack_trace()
/freebsd-13.1/contrib/xz/src/xz/
H A Dcoder.c40 static io_buf out_buf; variable
619 if (io_write(pair, &out_buf, IO_BUFFER_SIZE - strm.avail_out)) in coder_write_output()
623 strm.next_out = out_buf.u8; in coder_write_output()
688 strm.next_out = out_buf.u8; in coder_normal()
/freebsd-13.1/sys/arm/freescale/vybrid/
H A Dvf_spi.c207 spi_txrx(struct spi_softc *sc, uint8_t *out_buf, in spi_txrx() argument
218 wreg = out_buf[i]; in spi_txrx()
/freebsd-13.1/contrib/atf/atf-c/detail/
H A Dfs.c809 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()
/freebsd-13.1/crypto/openssh/
H A Dumac.c188 UINT8 out_buf[AES_BLOCK_LEN]; in kdf() local
197 aes_encryption(in_buf, out_buf, key); in kdf()
198 memcpy(dst_buf,out_buf,AES_BLOCK_LEN); in kdf()
204 aes_encryption(in_buf, out_buf, key); in kdf()
205 memcpy(dst_buf,out_buf,nbytes); in kdf()
208 explicit_bzero(out_buf, sizeof(out_buf)); in kdf()
/freebsd-13.1/contrib/llvm-project/compiler-rt/lib/fuzzer/
H A DFuzzerExtFunctions.def41 (void *, const char *fmt, char *out_buf, size_t out_buf_size), false);

12