Searched refs:cookie_len (Results 1 – 7 of 7) sorted by relevance
/openthread-3.5.0/third_party/tcplp/bsdtcp/ |
D | tcp_fastopen.c | 590 tcp_fastopen_make_psk_cookie(uint8_t *psk, uint8_t *cookie, uint8_t cookie_len) 597 SipHash_Update(&ctx, cookie, cookie_len); 947 if ((cce->cookie_len > 0) && in tcp_fastopen_connect() 953 cce->cookie, cce->cookie_len); in tcp_fastopen_connect() 955 tp->t_tfo_client_cookie_len = cce->cookie_len; in tcp_fastopen_connect() 957 cce->cookie_len); in tcp_fastopen_connect() 986 cce->cookie_len = 0; in tcp_fastopen_connect() 1032 cce->cookie_len = 0; in tcp_fastopen_disable_path() 1050 uint8_t cookie_len, uint8_t *cookie) in tcp_fastopen_update_cache() argument 1059 if ((cookie_len >= TCP_FASTOPEN_MIN_COOKIE_LEN) && in tcp_fastopen_update_cache() [all …]
|
D | tcp_fastopen.h | 63 uint8_t cookie_len;
|
/openthread-3.5.0/third_party/mbedtls/repo/library/ |
D | ssl_cookie.c | 194 const unsigned char *cookie, size_t cookie_len, in mbedtls_ssl_cookie_check() argument 206 if( cookie_len != COOKIE_LEN ) in mbedtls_ssl_cookie_check()
|
D | ssl_cli.c | 1955 unsigned char cookie_len; in ssl_parse_hello_verify_request() local 1999 cookie_len = *p++; in ssl_parse_hello_verify_request() 2000 if( ( ssl->in_msg + ssl->in_msglen ) - p < cookie_len ) in ssl_parse_hello_verify_request() 2008 MBEDTLS_SSL_DEBUG_BUF( 3, "cookie", p, cookie_len ); in ssl_parse_hello_verify_request() 2012 ssl->handshake->verify_cookie = mbedtls_calloc( 1, cookie_len ); in ssl_parse_hello_verify_request() 2015 MBEDTLS_SSL_DEBUG_MSG( 1, ( "alloc failed (%d bytes)", cookie_len ) ); in ssl_parse_hello_verify_request() 2019 memcpy( ssl->handshake->verify_cookie, p, cookie_len ); in ssl_parse_hello_verify_request() 2020 ssl->handshake->verify_cookie_len = cookie_len; in ssl_parse_hello_verify_request()
|
D | ssl_srv.c | 1420 size_t cookie_offset, cookie_len; in ssl_parse_client_hello() local 1758 cookie_len = buf[cookie_offset]; in ssl_parse_client_hello() 1760 if( cookie_offset + 1 + cookie_len + 2 > msg_len ) in ssl_parse_client_hello() 1769 buf + cookie_offset + 1, cookie_len ); in ssl_parse_client_hello() 1779 buf + cookie_offset + 1, cookie_len, in ssl_parse_client_hello() 1795 if( cookie_len != 0 ) in ssl_parse_client_hello() 1808 ciph_offset = cookie_offset + 1 + cookie_len; in ssl_parse_client_hello()
|
D | ssl_msg.c | 3250 size_t sid_len, cookie_len; in ssl_check_dtls_clihlo_cookie() local 3291 cookie_len = in[60 + sid_len]; in ssl_check_dtls_clihlo_cookie() 3292 if( cookie_len > in_len - 60 ) in ssl_check_dtls_clihlo_cookie() 3295 if( f_cookie_check( p_cookie, in + sid_len + 61, cookie_len, in ssl_check_dtls_clihlo_cookie()
|
D | ssl_tls.c | 3890 const unsigned char *cookie, size_t cookie_len, in ssl_cookie_check_dummy() argument 3895 ((void) cookie_len); in ssl_cookie_check_dummy()
|