Home
last modified time | relevance | path

Searched refs:extensions_len (Results 1 – 8 of 8) sorted by relevance

/third_party/openssl/util/perl/TLSProxy/
DEncryptedExtensions.pm41 my $extensions_len = unpack('n', $self->data);
42 if (!defined $extensions_len) {
43 $extensions_len = 0;
47 if ($extensions_len != 0) {
50 if (length($extension_data) != $extensions_len) {
69 print " Extensions Len:".$extensions_len."\n";
DClientHello.pm40 $self->{extensions_len} = 0;
66 my $extensions_len = unpack('n', substr($self->data, $ptr));
72 if (length($extension_data) != $extensions_len) {
91 $self->extensions_len($extensions_len);
100 print " Extensions Len:".$extensions_len."\n";
232 sub extensions_len subroutine
236 $self->{extensions_len} = shift;
238 return $self->{extensions_len};
DCertificate.pm68 my $extensions_len = unpack('n', $remdata);
72 if ($certlen + 3 + $extensions_len + 2) > $certlistlen;
75 if ($extensions_len != 0) {
76 $extension_data = substr($remdata, 0, $extensions_len);
78 if (length($extension_data) != $extensions_len) {
89 $remdata = substr($remdata, $extensions_len);
99 print " Extensions Len:".$extensions_len."\n";
DServerHello.pm70 my $extensions_len = unpack('n', substr($self->data, $ptr));
71 if (!defined $extensions_len) {
72 $extensions_len = 0;
79 if ($extensions_len != 0) {
82 if (length($extension_data) != $extensions_len) {
127 print " Extensions Len:".$extensions_len."\n";
DCertificateRequest.pm47 my $extensions_len = unpack('n', substr($self->data, $ptr));
50 if (length($extension_data) != $extensions_len) {
62 print " Extensions Len:".$extensions_len."\n";
/third_party/mbedtls/library/
Dssl_tls13_client.c685 size_t extensions_len; /* Length of the list of extensions*/ in ssl_tls13_write_client_hello_body() local
823 extensions_len = p - p_extensions_len - 2; in ssl_tls13_write_client_hello_body()
824 MBEDTLS_PUT_UINT16_BE( extensions_len, p_extensions_len, 0 ); in ssl_tls13_write_client_hello_body()
826 extensions_len ) ); in ssl_tls13_write_client_hello_body()
827 MBEDTLS_SSL_DEBUG_BUF( 3, "client hello extensions", p_extensions_len, extensions_len ); in ssl_tls13_write_client_hello_body()
1071 size_t extensions_len; in ssl_tls13_parse_server_hello() local
1194 extensions_len = MBEDTLS_GET_UINT16_BE( p, 0 ); in ssl_tls13_parse_server_hello()
1198 MBEDTLS_SSL_CHK_BUF_READ_PTR( p, end, extensions_len ); in ssl_tls13_parse_server_hello()
1199 extensions_end = p + extensions_len; in ssl_tls13_parse_server_hello()
1201 MBEDTLS_SSL_DEBUG_BUF( 3, "server hello extensions", p, extensions_len ); in ssl_tls13_parse_server_hello()
[all …]
Dssl_tls13_generic.c631 size_t cert_data_len, extensions_len; in ssl_tls13_parse_certificate() local
686 extensions_len = MBEDTLS_GET_UINT16_BE( p, 0 ); in ssl_tls13_parse_certificate()
688 MBEDTLS_SSL_CHK_BUF_READ_PTR( p, certificate_list_end, extensions_len ); in ssl_tls13_parse_certificate()
689 p += extensions_len; in ssl_tls13_parse_certificate()
/third_party/openssl/test/recipes/
D70-test_sslextension.t75 $message->extensions_len(0);