/third_party/nghttp2/src/ |
D | shrpx_quic.cc | 275 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()
|
D | shrpx_quic.h | 113 const ngtcp2_cid &retry_scid, const ngtcp2_cid &odcid, 116 int verify_retry_token(ngtcp2_cid &odcid, const uint8_t *token, size_t tokenlen,
|
D | shrpx_quic_connection_handler.cc | 172 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()
|
D | shrpx_quic_connection_handler.h | 123 const ngtcp2_cid *odcid,
|
D | shrpx_http3_upstream.h | 92 const ngtcp2_cid *odcid, const uint8_t *token, size_t tokenlen);
|
D | shrpx_http3_upstream.cc | 553 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/ |
D | ngtcp2_crypto.h | 660 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/ |
D | ngtcp2_pkt.c | 2252 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 …]
|
D | ngtcp2_qlog.c | 188 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()
|
D | ngtcp2_qlog.h | 72 void ngtcp2_qlog_start(ngtcp2_qlog *qlog, const ngtcp2_cid *odcid, int server);
|
D | ngtcp2_pkt.h | 141 ngtcp2_cid odcid; member 1203 const ngtcp2_cid *odcid, const uint8_t *token, size_t tokenlen);
|
D | ngtcp2_conn.c | 1348 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/ |
D | shared.c | 899 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/ |
D | ngtcp2.h | 1751 ngtcp2_cid odcid; member 3638 const ngtcp2_cid *scid, const ngtcp2_cid *odcid, const uint8_t *token,
|