Home
last modified time | relevance | path

Searched refs:ext (Results 1 – 15 of 15) sorted by relevance

/openthread-3.6.0/src/core/instance/
Dextension_example.cpp69 ExtensionBase *ext = reinterpret_cast<ExtensionBase *>(&sExtensionRaw); in Init() local
71 VerifyOrExit(!ext->mIsInitialized); in Init()
73 ext = new (&sExtensionRaw) Extension(aInstance); in Init()
76 return *ext; in Init()
/openthread-3.6.0/third_party/mbedtls/repo/library/
Dx509_create.c321 mbedtls_asn1_named_data *ext ) in x509_write_extension() argument
326 MBEDTLS_ASN1_CHK_ADD( len, mbedtls_asn1_write_raw_buffer( p, start, ext->val.p + 1, in x509_write_extension()
327 ext->val.len - 1 ) ); in x509_write_extension()
328 MBEDTLS_ASN1_CHK_ADD( len, mbedtls_asn1_write_len( p, start, ext->val.len - 1 ) ); in x509_write_extension()
331 if( ext->val.p[0] != 0 ) in x509_write_extension()
336 MBEDTLS_ASN1_CHK_ADD( len, mbedtls_asn1_write_raw_buffer( p, start, ext->oid.p, in x509_write_extension()
337 ext->oid.len ) ); in x509_write_extension()
338 MBEDTLS_ASN1_CHK_ADD( len, mbedtls_asn1_write_len( p, start, ext->oid.len ) ); in x509_write_extension()
Dx509_crl.c97 mbedtls_x509_buf *ext ) in x509_get_crl_ext() argument
108 if( ( ret = mbedtls_x509_get_ext( p, end, ext, 0 ) ) != 0 ) in x509_get_crl_ext()
111 end = ext->p + ext->len; in x509_get_crl_ext()
177 mbedtls_x509_buf *ext ) in x509_get_crl_entry_ext() argument
186 ext->tag = **p; in x509_get_crl_entry_ext()
187 ext->p = *p; in x509_get_crl_entry_ext()
193 if( ( ret = mbedtls_asn1_get_tag( p, end, &ext->len, in x509_get_crl_entry_ext()
198 ext->p = NULL; in x509_get_crl_entry_ext()
204 end = *p + ext->len; in x509_get_crl_entry_ext()
206 if( end != *p + ext->len ) in x509_get_crl_entry_ext()
Dssl_srv.c1422 unsigned char *buf, *p, *ext; in ssl_parse_client_hello() local
1901 ext = buf + ext_offset + 2; in ssl_parse_client_hello()
1902 MBEDTLS_SSL_DEBUG_BUF( 3, "client hello extensions", ext, ext_len ); in ssl_parse_client_hello()
1914 ext_id = ( ( ext[0] << 8 ) | ( ext[1] ) ); in ssl_parse_client_hello()
1915 ext_size = ( ( ext[2] << 8 ) | ( ext[3] ) ); in ssl_parse_client_hello()
1932 ret = ssl_parse_servername_ext( ssl, ext + 4, ext_size ); in ssl_parse_client_hello()
1944 ret = ssl_parse_renegotiation_info( ssl, ext + 4, ext_size ); in ssl_parse_client_hello()
1954 ret = ssl_parse_signature_algorithms_ext( ssl, ext + 4, ext_size ); in ssl_parse_client_hello()
1968 ret = ssl_parse_supported_elliptic_curves( ssl, ext + 4, ext_size ); in ssl_parse_client_hello()
1977 ret = ssl_parse_supported_point_formats( ssl, ext + 4, ext_size ); in ssl_parse_client_hello()
[all …]
Dx509.c706 mbedtls_x509_buf *ext, int tag ) in mbedtls_x509_get_ext() argument
714 ret = mbedtls_asn1_get_tag( p, end, &ext->len, in mbedtls_x509_get_ext()
719 ext->tag = MBEDTLS_ASN1_CONTEXT_SPECIFIC | MBEDTLS_ASN1_CONSTRUCTED | tag; in mbedtls_x509_get_ext()
720 ext->p = *p; in mbedtls_x509_get_ext()
721 end = *p + ext->len; in mbedtls_x509_get_ext()
Dssl_cli.c2039 unsigned char *buf, *ext; in ssl_parse_server_hello() local
2360 ext = buf + 40 + n; in ssl_parse_server_hello()
2367 unsigned int ext_id = ( ( ext[0] << 8 ) in ssl_parse_server_hello()
2368 | ( ext[1] ) ); in ssl_parse_server_hello()
2369 unsigned int ext_size = ( ( ext[2] << 8 ) in ssl_parse_server_hello()
2370 | ( ext[3] ) ); in ssl_parse_server_hello()
2389 if( ( ret = ssl_parse_renegotiation_info( ssl, ext + 4, in ssl_parse_server_hello()
2401 ext + 4, ext_size ) ) != 0 ) in ssl_parse_server_hello()
2414 ext + 4, ext_size ) ) != 0 ) in ssl_parse_server_hello()
2427 ext + 4, in ssl_parse_server_hello()
[all …]
/openthread-3.6.0/third_party/mbedtls/repo/tests/suites/
Dtest_suite_pk.data170 Verify ext RSA #1 (PKCS1 v2.1, salt_len = ANY, OK)
174 Verify ext RSA #2 (PKCS1 v2.1, salt_len = ANY, wrong message)
178 Verify ext RSA #3 (PKCS1 v2.1, salt_len = 0, OK)
182 Verify ext RSA #4 (PKCS1 v2.1, salt_len = max, OK)
186 Verify ext RSA #5 (PKCS1 v2.1, wrong salt_len)
190 Verify ext RSA #6 (PKCS1 v2.1, MGF1 alg != MSG hash alg)
194 Verify ext RSA #7 (PKCS1 v2.1, wrong MGF1 alg != MSG hash alg)
198 Verify ext RSA #8 (PKCS1 v2.1, RSASSA-PSS without options)
202 Verify ext RSA #9 (PKCS1 v1.5, RSA with options)
206 Verify ext RSA #10 (PKCS1 v1.5, RSA without options)
[all …]
Dtest_suite_pkcs1_v21.data807 RSASSA-PSS verify ext, 512-bit key, empty salt, good signature
811 RSASSA-PSS verify ext, 512-bit key, empty salt, bad signature
815 RSASSA-PSS verify ext, 522-bit key, SHA-512, empty salt, good signature
819 RSASSA-PSS verify ext, 522-bit key, SHA-512, saltlen=64, good signature with saltlen=0
823 RSASSA-PSS verify ext, 528-bit key, SHA-512, empty salt, good signature
827 RSASSA-PSS verify ext, 528-bit key, SHA-512, saltlen=64, good signature with saltlen=0
831 RSASSA-PSS verify ext, 512-bit key, SHA-512 (hash too large)
835 RSASSA-PSS verify ext, 521-bit key, SHA-512, empty salt, bad signature
839 RSASSA-PSS verify ext, 521-bit key, SHA-256, empty salt, good signature
843 RSASSA-PSS verify ext, 521-bit key, SHA-256, empty salt, flipped-highest-bit signature
[all …]
Dtest_suite_x509parse.data1585 X509 CRT ASN1 (TBSCertificate v3, ext SubjectAlternativeName malformed)
1657 X509 CRT ASN1 (TBS, inv v3Ext, first ext inv tag)
1661 X509 CRT ASN1 (TBS, inv v3Ext, first ext length missing)
1665 X509 CRT ASN1 (TBS, inv v3Ext, inv first ext length encoding)
1669 X509 CRT ASN1 (TBS, inv v3Ext, first ext length out of bounds)
1673 X509 CRT ASN1 (TBS, inv v3Ext, first ext empty)
1677 X509 CRT ASN1 (TBS, inv v3Ext, first ext extnID inv tag)
1681 X509 CRT ASN1 (TBS, inv v3Ext, first ext extnID length missing)
1685 X509 CRT ASN1 (TBS, inv v3Ext, first ext extnID inv length encoding)
1689 X509 CRT ASN1 (TBS, inv v3Ext, first ext extnID length out of bounds)
/openthread-3.6.0/third_party/mbedtls/repo/scripts/
Dgenerate_visualc_files.pl155 my ($path, $template, $dir, $ext) = @_;
176 content_to_file( $content, "$dir/$appname.$ext" );
/openthread-3.6.0/third_party/mbedtls/repo/tests/scripts/
Dcheck_files.py157 _root, ext = os.path.splitext(filepath)
158 return ext in ('.bat', '.dsp', '.dsw', '.sln', '.vcxproj')
/openthread-3.6.0/third_party/mbedtls/repo/include/mbedtls/
Dx509.h349 mbedtls_x509_buf *ext, int tag );
/openthread-3.6.0/src/cli/
DREADME.md2088 id:02 rloc16:0x0800 ext-addr:8aa57d2c603fe16c ver:4 - me - leader
2090 id:46 rloc16:0xb800 ext-addr:fe109d277e0175cc ver:4
2092 id:33 rloc16:0x8400 ext-addr:d2e511a146b9e54d ver:4
2094 id:51 rloc16:0xcc00 ext-addr:9aab43ababf05352 ver:4
2097 id:57 rloc16:0xe400 ext-addr:dae9c4c0e9da55ff ver:4
2107 id:62 rloc16:0xf800 ext-addr:ce349873897233a5 ver:4 - me - br
2114 id:02 rloc16:0x0800 ext-addr:8aa57d2c603fe16c ver:4 - leader - br
2124 id:33 rloc16:0x8400 ext-addr:d2e511a146b9e54d ver:4
2131 id:51 rloc16:0xcc00 ext-addr:9aab43ababf05352 ver:4
2138 id:57 rloc16:0xe400 ext-addr:dae9c4c0e9da55ff ver:4
[all …]
/openthread-3.6.0/third_party/mbedtls/repo/doxygen/
Dmbedtls.doxyfile248 # using this tag. The format is ext=language, where ext is a file extension,
782 # using *.ext= (so without naming a filter). This option only has effect when
/openthread-3.6.0/doc/
DDoxyfile.in308 # using this tag. The format is ext=language, where ext is a file extension, and
953 # *.ext= (so without naming a filter).