Searched refs:cookie_len (Results 1 – 4 of 4) sorted by relevance
/net-tools-3.6.0/mbedtls-2.4.0/library/ |
D | ssl_cookie.c | 207 const unsigned char *cookie, size_t cookie_len, in mbedtls_ssl_cookie_check() argument 219 if( cookie_len != COOKIE_LEN ) in mbedtls_ssl_cookie_check()
|
D | ssl_cli.c | 1324 unsigned char cookie_len; local 1355 cookie_len = *p++; 1356 MBEDTLS_SSL_DEBUG_BUF( 3, "cookie", p, cookie_len ); 1358 if( ( ssl->in_msg + ssl->in_msglen ) - p < cookie_len ) 1369 ssl->handshake->verify_cookie = mbedtls_calloc( 1, cookie_len ); 1372 MBEDTLS_SSL_DEBUG_MSG( 1, ( "alloc failed (%d bytes)", cookie_len ) ); 1376 memcpy( ssl->handshake->verify_cookie, p, cookie_len ); 1377 ssl->handshake->verify_cookie_len = cookie_len;
|
D | ssl_srv.c | 1077 size_t cookie_offset, cookie_len; local 1404 cookie_len = buf[cookie_offset]; 1406 if( cookie_offset + 1 + cookie_len + 2 > msg_len ) 1413 buf + cookie_offset + 1, cookie_len ); 1423 buf + cookie_offset + 1, cookie_len, 1439 if( cookie_len != 0 ) 1451 ciph_offset = cookie_offset + 1 + cookie_len;
|
D | ssl_tls.c | 3288 size_t sid_len, cookie_len; in ssl_check_dtls_clihlo_cookie() local 3332 cookie_len = in[60 + sid_len]; in ssl_check_dtls_clihlo_cookie() 3333 if( cookie_len > in_len - 60 ) in ssl_check_dtls_clihlo_cookie() 3336 if( f_cookie_check( p_cookie, in + sid_len + 61, cookie_len, in ssl_check_dtls_clihlo_cookie() 5369 const unsigned char *cookie, size_t cookie_len, in ssl_cookie_check_dummy() argument 5374 ((void) cookie_len); in ssl_cookie_check_dummy()
|