Home
last modified time | relevance | path

Searched refs:src_len (Results 1 – 8 of 8) sorted by relevance

/openssl/ssl/quic/
H A Dquic_sstream.c97 size_t num_iov_ = 0, src_len = 0, total_len = 0, i; in ossl_quic_sstream_get_stream_frame() local
139 &src, &src_len)) in ossl_quic_sstream_get_stream_frame()
142 if (src_len == 0) in ossl_quic_sstream_get_stream_frame()
147 if (total_len + src_len > max_len) in ossl_quic_sstream_get_stream_frame()
148 src_len = (size_t)(max_len - total_len); in ossl_quic_sstream_get_stream_frame()
151 iov[num_iov_].buf_len = src_len; in ossl_quic_sstream_get_stream_frame()
153 total_len += src_len; in ossl_quic_sstream_get_stream_frame()
H A Dquic_record_tx.c552 size_t src_len; in qtx_encrypt_into_txe() local
554 src_len = iovec_cur_get_buffer(cur, &src, SIZE_MAX); in qtx_encrypt_into_txe()
555 if (src_len == 0) in qtx_encrypt_into_txe()
559 &l, src, src_len) != 1) { in qtx_encrypt_into_txe()
569 assert(l > 0 && src_len == (size_t)l); in qtx_encrypt_into_txe()
570 txe->data_len += src_len; in qtx_encrypt_into_txe()
695 size_t src_len; in qtx_write() local
699 src_len = iovec_cur_get_buffer(&cur, &src, SIZE_MAX); in qtx_write()
700 if (src_len == 0) in qtx_write()
703 memcpy(txe_data(txe) + txe->data_len, src, src_len); in qtx_write()
[all …]
H A Dquic_record_rx.c661 size_t src_len, size_t *dec_len, in qrx_decrypt_pkt_body() argument
674 if (src_len > INT_MAX || aad_len > INT_MAX) in qrx_decrypt_pkt_body()
681 if (el->tag_len >= src_len) in qrx_decrypt_pkt_body()
728 (unsigned char *)src + src_len - el->tag_len) != 1) in qrx_decrypt_pkt_body()
736 if (EVP_CipherUpdate(cctx, dst, &l, src, src_len - el->tag_len) != 1) in qrx_decrypt_pkt_body()
/openssl/include/internal/
H A Dring_buf.h236 size_t src_len = 0, copied = 0; in ring_buf_resize() local
253 if (!ring_buf_get_buf_at(r, r->ctail_offset + copied, &src, &src_len)) { in ring_buf_resize()
258 if (src_len == 0) in ring_buf_resize()
261 if (ring_buf_push(&rnew, src, src_len) != src_len) { in ring_buf_resize()
266 copied += src_len; in ring_buf_resize()
/openssl/crypto/
H A Dparams.c125 if (src_len < dest_len) { in copy_integer()
126 n = dest_len - src_len; in copy_integer()
128 memcpy(dest + n, src, src_len); in copy_integer()
130 n = src_len - dest_len; in copy_integer()
143 if (src_len < dest_len) { in copy_integer()
144 n = dest_len - src_len; in copy_integer()
145 memset(dest + src_len, pad, n); in copy_integer()
146 memcpy(dest, src, src_len); in copy_integer()
148 n = src_len - dest_len; in copy_integer()
168 return copy_integer(dest, dest_len, src, src_len, in signed_from_signed()
[all …]
/openssl/crypto/bio/
H A Dbss_dgram_pair.c843 size_t src_len = 0; in dgram_pair_read_inner() local
849 ring_buf_tail(&b->rbuf, &src_buf, &src_len); in dgram_pair_read_inner()
850 if (src_len == 0) in dgram_pair_read_inner()
853 if (src_len > sz) in dgram_pair_read_inner()
854 src_len = sz; in dgram_pair_read_inner()
857 memcpy(buf, src_buf, src_len); in dgram_pair_read_inner()
859 ring_buf_pop(&b->rbuf, src_len); in dgram_pair_read_inner()
862 buf += src_len; in dgram_pair_read_inner()
863 total_read += src_len; in dgram_pair_read_inner()
864 sz -= src_len; in dgram_pair_read_inner()
/openssl/providers/common/
H A Dprovider_util.c356 int ossl_prov_memdup(const void *src, size_t src_len, in ossl_prov_memdup() argument
360 if ((*dest = OPENSSL_memdup(src, src_len)) == NULL) in ossl_prov_memdup()
362 *dest_len = src_len; in ossl_prov_memdup()
/openssl/providers/common/include/prov/
H A Dprovider_util.h141 int ossl_prov_memdup(const void *src, size_t src_len,

Completed in 103 milliseconds