Home
last modified time | relevance | path

Searched refs:odcid (Results 1 – 14 of 14) sorted by relevance

/third_party/nghttp2/src/
Dshrpx_quic.cc275 const ngtcp2_cid &retry_scid, const ngtcp2_cid &odcid, in generate_retry_token() argument
282 token, secret, secretlen, version, sa, salen, &retry_scid, &odcid, t); in generate_retry_token()
292 int verify_retry_token(ngtcp2_cid &odcid, const uint8_t *token, size_t tokenlen, in verify_retry_token() argument
301 if (ngtcp2_crypto_verify_retry_token(&odcid, token, tokenlen, secret, in verify_retry_token()
Dshrpx_quic.h113 const ngtcp2_cid &retry_scid, const ngtcp2_cid &odcid,
116 int verify_retry_token(ngtcp2_cid &odcid, const uint8_t *token, size_t tokenlen,
Dshrpx_quic_connection_handler.cc172 ngtcp2_cid odcid, *podcid = nullptr; in handle_packet() local
228 if (verify_retry_token(odcid, hd.token, hd.tokenlen, hd.version, in handle_packet()
249 podcid = &odcid; in handle_packet()
366 const Address &local_addr, const ngtcp2_pkt_hd &hd, const ngtcp2_cid *odcid, in handle_new_connection() argument
418 if (upstream->init(faddr, remote_addr, local_addr, hd, odcid, token, in handle_new_connection()
Dshrpx_quic_connection_handler.h123 const ngtcp2_cid *odcid,
Dshrpx_http3_upstream.h92 const ngtcp2_cid *odcid, const uint8_t *token, size_t tokenlen);
Dshrpx_http3_upstream.cc553 const ngtcp2_cid *odcid, const uint8_t *token, in init() argument
693 if (odcid) { in init()
694 params.original_dcid = *odcid; in init()
/third_party/node/deps/ngtcp2/ngtcp2/crypto/includes/ngtcp2/
Dngtcp2_crypto.h660 const ngtcp2_cid *retry_scid, const ngtcp2_cid *odcid, ngtcp2_tstamp ts);
681 ngtcp2_cid *odcid, const uint8_t *token, size_t tokenlen,
763 const ngtcp2_cid *scid, const ngtcp2_cid *odcid, const uint8_t *token,
/third_party/node/deps/ngtcp2/ngtcp2/lib/
Dngtcp2_pkt.c2252 const ngtcp2_cid *scid, const ngtcp2_cid *odcid, const uint8_t *token, in ngtcp2_pkt_write_retry() argument
2266 assert(!ngtcp2_cid_eq(scid, odcid)); in ngtcp2_pkt_write_retry()
2271 if (odcid->datalen < NGTCP2_MIN_INITIAL_DCIDLEN) { in ngtcp2_pkt_write_retry()
2281 /* unused = */ 0, odcid, token, tokenlen); in ngtcp2_pkt_write_retry()
2307 offset = 1 + odcid->datalen; in ngtcp2_pkt_write_retry()
2321 const ngtcp2_cid *odcid, const uint8_t *token, size_t tokenlen) { in ngtcp2_pkt_encode_pseudo_retry() argument
2325 if (destlen < 1 + odcid->datalen) { in ngtcp2_pkt_encode_pseudo_retry()
2329 *p++ = (uint8_t)odcid->datalen; in ngtcp2_pkt_encode_pseudo_retry()
2330 p = ngtcp2_cpymem(p, odcid->data, odcid->datalen); in ngtcp2_pkt_encode_pseudo_retry()
2368 1 + retry->odcid.datalen + pktlen - sizeof(retry->tag)) { in ngtcp2_pkt_verify_retry_tag()
[all …]
Dngtcp2_qlog.c188 static uint8_t *write_common_fields(uint8_t *p, const ngtcp2_cid *odcid) { in write_common_fields() argument
192 p = write_cid(p, odcid); in write_common_fields()
197 static uint8_t *write_trace(uint8_t *p, int server, const ngtcp2_cid *odcid) { in write_trace() argument
206 p = write_common_fields(p, odcid); in write_trace()
211 void ngtcp2_qlog_start(ngtcp2_qlog *qlog, const ngtcp2_cid *odcid, int server) { in ngtcp2_qlog_start() argument
221 p = write_trace(p, server, odcid); in ngtcp2_qlog_start()
Dngtcp2_qlog.h72 void ngtcp2_qlog_start(ngtcp2_qlog *qlog, const ngtcp2_cid *odcid, int server);
Dngtcp2_pkt.h141 ngtcp2_cid odcid; member
1203 const ngtcp2_cid *odcid, const uint8_t *token, size_t tokenlen);
Dngtcp2_conn.c1348 ngtcp2_qlog_start(&(*pconn)->qlog, server ? &settings->qlog.odcid : dcid, in conn_new()
5314 uint8_t cidbuf[sizeof(retry.odcid.data) * 2 + 1]; in conn_on_retry()
5328 retry.odcid = conn->dcid.current.cid; in conn_on_retry()
5340 (const char *)ngtcp2_encode_hex(cidbuf, retry.odcid.data, in conn_on_retry()
5341 retry.odcid.datalen)); in conn_on_retry()
/third_party/node/deps/ngtcp2/ngtcp2/crypto/
Dshared.c899 const ngtcp2_cid *retry_scid, const ngtcp2_cid *odcid, ngtcp2_tstamp ts) { in ngtcp2_crypto_generate_retry_token() argument
919 *p++ = (uint8_t)odcid->datalen; in ngtcp2_crypto_generate_retry_token()
920 memcpy(p, odcid->data, odcid->datalen); in ngtcp2_crypto_generate_retry_token()
974 ngtcp2_cid *odcid, const uint8_t *token, size_t tokenlen, in ngtcp2_crypto_verify_retry_token() argument
1047 ngtcp2_cid_init(odcid, plaintext + /* cid len = */ 1, cil); in ngtcp2_crypto_verify_retry_token()
1278 const ngtcp2_cid *odcid, in ngtcp2_crypto_write_retry() argument
1307 spktlen = ngtcp2_pkt_write_retry(dest, destlen, version, dcid, scid, odcid, in ngtcp2_crypto_write_retry()
/third_party/node/deps/ngtcp2/ngtcp2/lib/includes/ngtcp2/
Dngtcp2.h1751 ngtcp2_cid odcid; member
3638 const ngtcp2_cid *scid, const ngtcp2_cid *odcid, const uint8_t *token,