Searched refs:cookie_len (Results 1 – 5 of 5) sorted by relevance
/optee_os-3.20.0/lib/libmbedtls/mbedtls/library/ |
A D | ssl_cookie.c | 195 const unsigned char *cookie, size_t cookie_len, in mbedtls_ssl_cookie_check() argument 207 if( cookie_len != COOKIE_LEN ) in mbedtls_ssl_cookie_check()
|
A D | ssl_cli.c | 1986 unsigned char cookie_len; in ssl_parse_hello_verify_request() local 2030 cookie_len = *p++; in ssl_parse_hello_verify_request() 2031 if( ( ssl->in_msg + ssl->in_msglen ) - p < cookie_len ) in ssl_parse_hello_verify_request() 2039 MBEDTLS_SSL_DEBUG_BUF( 3, "cookie", p, cookie_len ); in ssl_parse_hello_verify_request() 2043 ssl->handshake->verify_cookie = mbedtls_calloc( 1, cookie_len ); in ssl_parse_hello_verify_request() 2046 MBEDTLS_SSL_DEBUG_MSG( 1, ( "alloc failed (%d bytes)", cookie_len ) ); in ssl_parse_hello_verify_request() 2050 memcpy( ssl->handshake->verify_cookie, p, cookie_len ); in ssl_parse_hello_verify_request() 2051 ssl->handshake->verify_cookie_len = cookie_len; in ssl_parse_hello_verify_request()
|
A D | ssl_srv.c | 1441 size_t cookie_offset, cookie_len; in ssl_parse_client_hello() local 1792 cookie_len = buf[cookie_offset]; in ssl_parse_client_hello() 1794 if( cookie_offset + 1 + cookie_len + 2 > msg_len ) in ssl_parse_client_hello() 1803 buf + cookie_offset + 1, cookie_len ); in ssl_parse_client_hello() 1813 buf + cookie_offset + 1, cookie_len, in ssl_parse_client_hello() 1829 if( cookie_len != 0 ) in ssl_parse_client_hello() 1842 ciph_offset = cookie_offset + 1 + cookie_len; in ssl_parse_client_hello()
|
A D | ssl_msg.c | 3271 size_t sid_len, cookie_len; in mbedtls_ssl_check_dtls_clihlo_cookie() local 3331 cookie_len = in[60 + sid_len]; in mbedtls_ssl_check_dtls_clihlo_cookie() 3332 if( 59 + 1 + sid_len + 1 + cookie_len > in_len ) in mbedtls_ssl_check_dtls_clihlo_cookie() 3335 (unsigned) cookie_len, in mbedtls_ssl_check_dtls_clihlo_cookie() 3341 in + sid_len + 61, cookie_len ); in mbedtls_ssl_check_dtls_clihlo_cookie() 3343 in + sid_len + 61, cookie_len, in mbedtls_ssl_check_dtls_clihlo_cookie()
|
A D | ssl_tls.c | 3916 const unsigned char *cookie, size_t cookie_len, in ssl_cookie_check_dummy() argument 3921 ((void) cookie_len); in ssl_cookie_check_dummy()
|
Completed in 32 milliseconds