Home
last modified time | relevance | path

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

/openthread-2.7.6/src/core/common/
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-2.7.6/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
1902 ext = buf + ext_offset + 2; in ssl_parse_client_hello()
1903 MBEDTLS_SSL_DEBUG_BUF( 3, "client hello extensions", ext, ext_len ); in ssl_parse_client_hello()
1915 ext_id = ( ( ext[0] << 8 ) | ( ext[1] ) ); in ssl_parse_client_hello()
1916 ext_size = ( ( ext[2] << 8 ) | ( ext[3] ) ); in ssl_parse_client_hello()
1933 ret = ssl_parse_servername_ext( ssl, ext + 4, ext_size ); in ssl_parse_client_hello()
1945 ret = ssl_parse_renegotiation_info( ssl, ext + 4, ext_size ); in ssl_parse_client_hello()
1955 ret = ssl_parse_signature_algorithms_ext( ssl, ext + 4, ext_size ); in ssl_parse_client_hello()
1969 ret = ssl_parse_supported_elliptic_curves( ssl, ext + 4, ext_size ); in ssl_parse_client_hello()
1978 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.c2052 unsigned char *buf, *ext; in ssl_parse_server_hello() local
2373 ext = buf + 40 + n; in ssl_parse_server_hello()
2380 unsigned int ext_id = ( ( ext[0] << 8 ) in ssl_parse_server_hello()
2381 | ( ext[1] ) ); in ssl_parse_server_hello()
2382 unsigned int ext_size = ( ( ext[2] << 8 ) in ssl_parse_server_hello()
2383 | ( ext[3] ) ); in ssl_parse_server_hello()
2402 if( ( ret = ssl_parse_renegotiation_info( ssl, ext + 4, in ssl_parse_server_hello()
2414 ext + 4, ext_size ) ) != 0 ) in ssl_parse_server_hello()
2427 ext + 4, ext_size ) ) != 0 ) in ssl_parse_server_hello()
2440 ext + 4, in ssl_parse_server_hello()
[all …]
/openthread-2.7.6/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.data1589 X509 CRT ASN1 (TBSCertificate v3, ext SubjectAlternativeName malformed)
1661 X509 CRT ASN1 (TBS, inv v3Ext, first ext inv tag)
1665 X509 CRT ASN1 (TBS, inv v3Ext, first ext length missing)
1669 X509 CRT ASN1 (TBS, inv v3Ext, inv first ext length encoding)
1673 X509 CRT ASN1 (TBS, inv v3Ext, first ext length out of bounds)
1677 X509 CRT ASN1 (TBS, inv v3Ext, first ext empty)
1681 X509 CRT ASN1 (TBS, inv v3Ext, first ext extnID inv tag)
1685 X509 CRT ASN1 (TBS, inv v3Ext, first ext extnID length missing)
1689 X509 CRT ASN1 (TBS, inv v3Ext, first ext extnID inv length encoding)
1693 X509 CRT ASN1 (TBS, inv v3Ext, first ext extnID length out of bounds)
/openthread-2.7.6/third_party/mbedtls/repo/scripts/
Dgenerate_visualc_files.pl153 my ($path, $template, $dir, $ext) = @_;
171 content_to_file( $content, "$dir/$appname.$ext" );
/openthread-2.7.6/third_party/nlbuild-autotools/repo/third_party/autoconf/m4/
Dax_cxx_compile_stdcxx_14.m47 # AX_CXX_COMPILE_STDCXX_14([ext|noext], [mandatory|optional])
Dax_cxx_compile_stdcxx_11.m47 # AX_CXX_COMPILE_STDCXX_11([ext|noext], [mandatory|optional])
Dax_cxx_compile_stdcxx.m47 # AX_CXX_COMPILE_STDCXX(VERSION, [ext|noext], [mandatory|optional])
53 [$2], [ext], [],
94 m4_if([$2], [ext], [], [dnl
/openthread-2.7.6/third_party/mbedtls/repo/tests/scripts/
Dcheck_files.py153 _root, ext = os.path.splitext(filepath)
154 return ext in ('.bat', '.dsp', '.dsw', '.sln', '.vcxproj')
/openthread-2.7.6/third_party/mbedtls/repo/include/mbedtls/
Dx509.h329 mbedtls_x509_buf *ext, int tag );
/openthread-2.7.6/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-2.7.6/third_party/nlbuild-autotools/repo/examples/
DDoxyfile.in297 # using this tag. The format is ext=language, where ext is a file extension, and
940 # *.ext= (so without naming a filter).
/openthread-2.7.6/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).
/openthread-2.7.6/src/cli/
DREADME.md1740 ### multiradio neighbor \<ext address\>