Home
last modified time | relevance | path

Searched refs:cur_len (Results 1 – 2 of 2) sorted by relevance

/net-tools-3.6.0/mbedtls-2.4.0/library/
Dssl_srv.c516 size_t list_len, cur_len, ours_len; in ssl_parse_alpn_ext() local
548 for( theirs = start; theirs != end; theirs += cur_len ) in ssl_parse_alpn_ext()
554 cur_len = *theirs++; in ssl_parse_alpn_ext()
557 if( cur_len == 0 ) in ssl_parse_alpn_ext()
560 if( cur_len == ours_len && in ssl_parse_alpn_ext()
561 memcmp( theirs, *ours, cur_len ) == 0 ) in ssl_parse_alpn_ext()
Dssl_tls.c6005 size_t cur_len, tot_len; in mbedtls_ssl_conf_alpn_protocols() local
6015 cur_len = strlen( *p ); in mbedtls_ssl_conf_alpn_protocols()
6016 tot_len += cur_len; in mbedtls_ssl_conf_alpn_protocols()
6018 if( cur_len == 0 || cur_len > 255 || tot_len > 65535 ) in mbedtls_ssl_conf_alpn_protocols()