Searched refs:tokenlen (Results 1 – 7 of 7) sorted by relevance
/third_party/lwip/src/core/ |
D | def.c | 108 size_t tokenlen = strlen(token); in lwip_strnstr() local 109 if (tokenlen == 0) { in lwip_strnstr() 112 for (p = buffer; *p && (p + tokenlen <= buffer + n); p++) { in lwip_strnstr() 113 if ((*p == *token) && (strncmp(p, token, tokenlen) == 0)) { in lwip_strnstr()
|
/third_party/nghttp2/src/ |
D | shrpx_quic_connection_handler.cc | 174 size_t tokenlen = 0; in handle_packet() local 206 if (hd.tokenlen == 0) { in handle_packet() 228 if (verify_retry_token(odcid, hd.token, hd.tokenlen, hd.version, in handle_packet() 251 tokenlen = hd.tokenlen; in handle_packet() 262 if (hd.tokenlen != NGTCP2_CRYPTO_MAX_REGULAR_TOKENLEN + 1) { in handle_packet() 281 if (verify_token(hd.token, hd.tokenlen - 1, &remote_addr.su.sa, in handle_packet() 305 tokenlen = hd.tokenlen; in handle_packet() 360 token, tokenlen); in handle_packet() 382 const uint8_t *token, size_t tokenlen) { in handle_new_connection() argument 434 tokenlen) != 0) { in handle_new_connection() [all …]
|
D | shrpx_quic.cc | 273 int generate_retry_token(uint8_t *token, size_t &tokenlen, uint32_t version, in generate_retry_token() argument 287 tokenlen = stokenlen; 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() 310 int generate_token(uint8_t *token, size_t &tokenlen, const sockaddr *sa, in generate_token() argument 322 tokenlen = stokenlen; in generate_token() 327 int verify_token(const uint8_t *token, size_t tokenlen, const sockaddr *sa, in verify_token() argument 333 if (ngtcp2_crypto_verify_regular_token(token, tokenlen, secret, secretlen, sa, in verify_token()
|
D | shrpx_quic.h | 111 int generate_retry_token(uint8_t *token, size_t &tokenlen, uint32_t version, 116 int verify_retry_token(ngtcp2_cid &odcid, const uint8_t *token, size_t tokenlen, 121 int generate_token(uint8_t *token, size_t &tokenlen, const sockaddr *sa, 124 int verify_token(const uint8_t *token, size_t tokenlen, const sockaddr *sa,
|
D | shrpx_quic_connection_handler.h | 124 const uint8_t *token, size_t tokenlen);
|
D | shrpx_http3_upstream.cc | 483 size_t tokenlen; in handshake_completed() local 491 if (generate_token(token.data(), tokenlen, path->remote.addr, in handshake_completed() 497 assert(tokenlen == NGTCP2_CRYPTO_MAX_REGULAR_TOKENLEN); in handshake_completed() 499 token[tokenlen++] = qkm.id; in handshake_completed() 501 auto rv = ngtcp2_conn_submit_new_token(conn_, token.data(), tokenlen); in handshake_completed() 530 size_t tokenlen) { in init() argument 617 settings.tokenlen = tokenlen; in init()
|
D | shrpx_http3_upstream.h | 92 const ngtcp2_cid *odcid, const uint8_t *token, size_t tokenlen);
|