Home
last modified time | relevance | path

Searched refs:src_buf (Results 1 – 2 of 2) sorted by relevance

/openssl/test/
H A Dquic_stream_test.c224 unsigned char *src_buf = NULL, *dst_buf = NULL; in test_sstream_bulk() local
234 if (!TEST_ptr(src_buf = OPENSSL_zalloc(init_size))) in test_sstream_bulk()
249 if (!TEST_true(ossl_quic_sstream_append(sstream, src_buf, init_size / 2, in test_sstream_bulk()
262 src_buf[i] = (unsigned char)(test_random() & 0xFF); in test_sstream_bulk()
268 if (!TEST_true(ossl_quic_sstream_append(sstream, src_buf, l, &consumed))) in test_sstream_bulk()
271 memcpy(ref_src_cur, src_buf, consumed); in test_sstream_bulk()
333 OPENSSL_free(src_buf); in test_sstream_bulk()
/openssl/crypto/bio/
H A Dbss_dgram_pair.c842 uint8_t *src_buf = NULL; in dgram_pair_read_inner() local
849 ring_buf_tail(&b->rbuf, &src_buf, &src_len); in dgram_pair_read_inner()
857 memcpy(buf, src_buf, src_len); in dgram_pair_read_inner()

Completed in 9 milliseconds