Home
last modified time | relevance | path

Searched refs:cur (Results 1 – 10 of 10) sorted by relevance

/openssl/ssl/quic/
H A Dquic_record_tx.c355 cur->iovec = iovec; in iovec_cur_init()
357 cur->idx = 0; in iovec_cur_init()
358 cur->byte_off = 0; in iovec_cur_init()
380 if (cur->idx >= cur->num_iovec) in iovec_cur_get_buffer()
383 l = cur->iovec[cur->idx].buf_len - cur->byte_off; in iovec_cur_get_buffer()
388 *buf = cur->iovec[cur->idx].buf + cur->byte_off; in iovec_cur_get_buffer()
389 cur->byte_off += l; in iovec_cur_get_buffer()
398 ++cur->idx; in iovec_cur_get_buffer()
399 cur->byte_off = 0; in iovec_cur_get_buffer()
606 struct iovec_cur cur; in qtx_write() local
[all …]
H A Dquic_srtm.c223 SRTM_ITEM *cur = head, **fixup = new_head; in sorted_insert_seq_num() local
227 while (cur != NULL && cur->seq_num > seq_num) { in sorted_insert_seq_num()
228 fixup = &cur->next_by_seq_num; in sorted_insert_seq_num()
229 cur = cur->next_by_seq_num; in sorted_insert_seq_num()
244 SRTM_ITEM *cur = head, **fixup = new_head; in sorted_insert_srt() local
248 while (cur != NULL && (uintptr_t)cur->opaque > opaque) { in sorted_insert_srt()
249 fixup = &cur->next_by_srt_blinded; in sorted_insert_srt()
250 cur = cur->next_by_srt_blinded; in sorted_insert_srt()
H A Djson_enc.c28 wbuf->cur = 0; in wbuf_init()
49 wbuf->cur = 0; in wbuf_clean()
55 return wbuf->alloc - wbuf->cur; in wbuf_avail()
66 wbuf->buf[wbuf->cur++] = c; in wbuf_write_char()
89 while (total_written < wbuf->cur) { in wbuf_flush()
92 wbuf->cur - total_written, in wbuf_flush()
96 wbuf->cur - total_written); in wbuf_flush()
97 wbuf->cur = 0; in wbuf_flush()
104 wbuf->cur = 0; in wbuf_flush()
H A Dquic_impl.c2253 uint64_t cur = ossl_quic_sstream_get_cur_size(sstream); in xso_sstream_append() local
2255 uint64_t permitted = (cwm >= cur ? cwm - cur : 0); in xso_sstream_append()
/openssl/crypto/
H A Dparams_dup.c24 OSSL_PARAM_ALIGNED_BLOCK *cur; /* Current position in the allocated buf */ member
43 out->cur = out->alloc + extra_blocks; in ossl_param_buf_alloc()
69 dst->data = buf[is_secure].cur; in ossl_param_dup()
88 buf[is_secure].cur += blks; in ossl_param_dup()
/openssl/test/
H A Devp_xof_test.c445 EVP_MD_CTX *cur, *ctx = NULL, *dupctx = NULL; in do_shake_squeeze_dup_test() local
452 cur = ctx; in do_shake_squeeze_dup_test()
461 if (!TEST_true(EVP_DigestSqueeze(cur, out + i, sz))) in do_shake_squeeze_dup_test()
468 cur = dupctx; in do_shake_squeeze_dup_test()
H A Dquic_stream_test.c17 const unsigned char *cur = ref; in compare_iov() local
26 if (memcmp(cur, iov[i].buf, iov[i].buf_len)) in compare_iov()
29 cur += iov[i].buf_len; in compare_iov()
/openssl/include/internal/
H A Djson_enc.h26 size_t alloc, cur; member
/openssl/test/helpers/
H A Dquictestlib.c716 unsigned char *cur; in packet_plain_mutate() local
729 fault->pplainio.buf = cur = OPENSSL_malloc(bufsz); in packet_plain_mutate()
730 if (cur == NULL) { in packet_plain_mutate()
739 memcpy(cur, iovecin[i].buf, iovecin[i].buf_len); in packet_plain_mutate()
740 cur += iovecin[i].buf_len; in packet_plain_mutate()
/openssl/apps/
H A Ds_client.c3644 const unsigned char *cur, *end; in ldap_ExtendedResponse_parse() local
3648 cur = (const unsigned char *)buf; in ldap_ExtendedResponse_parse()
3649 end = cur + rem; in ldap_ExtendedResponse_parse()
3679 inf = ASN1_get_object(&cur, &len, &tag, &xclass, rem); in ldap_ExtendedResponse_parse()
3681 (rem = end - cur, len > rem)) { in ldap_ExtendedResponse_parse()
3689 inf = ASN1_get_object(&cur, &len, &tag, &xclass, rem); in ldap_ExtendedResponse_parse()
3691 (rem = end - cur, len > rem)) { in ldap_ExtendedResponse_parse()
3699 rem = end - cur; in ldap_ExtendedResponse_parse()
3708 rem = end - cur; in ldap_ExtendedResponse_parse()
3711 (rem = end - cur, len > rem)) { in ldap_ExtendedResponse_parse()
[all …]

Completed in 56 milliseconds