Home
last modified time | relevance | path

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

/net-tools-latest/mbedtls-2.4.0/tests/suites/
Dtest_suite_pk.data85 Verify ext RSA #1 (PKCS1 v2.1, salt_len = ANY, OK)
89 Verify ext RSA #2 (PKCS1 v2.1, salt_len = ANY, wrong message)
93 Verify ext RSA #3 (PKCS1 v2.1, salt_len = 0, OK)
97 Verify ext RSA #4 (PKCS1 v2.1, salt_len = max, OK)
101 Verify ext RSA #5 (PKCS1 v2.1, wrong salt_len)
105 Verify ext RSA #6 (PKCS1 v2.1, MGF1 alg != MSG hash alg)
109 Verify ext RSA #7 (PKCS1 v2.1, wrong MGF1 alg != MSG hash alg)
113 Verify ext RSA #8 (PKCS1 v2.1, RSASSA-PSS without options)
117 Verify ext RSA #9 (PKCS1 v2.1, RSA with options)
121 Verify ext RSA #10 (PKCS1 v2.1, RSA without options)
[all …]
Dtest_suite_x509parse.data961 X509 Certificate ASN1 (TBSCertificate v3, UIDs, no ext)
969 X509 Certificate ASN1 (TBSCertificate v3, ext empty)
973 X509 Certificate ASN1 (TBSCertificate v3, ext length mismatch)
977 X509 Certificate ASN1 (TBSCertificate v3, first ext invalid)
981 X509 Certificate ASN1 (TBSCertificate v3, first ext invalid tag)
985 X509 Certificate ASN1 (TBSCertificate v3, ext BasicContraint tag, bool len missing)
989 X509 Certificate ASN1 (TBSCertificate v3, ext BasicContraint tag, data missing)
993 X509 Certificate ASN1 (TBSCertificate v3, ext BasicContraint tag, no octet present)
997 X509 Certificate ASN1 (TBSCertificate v3, ext BasicContraint tag, octet data missing)
1001 X509 Certificate ASN1 (TBSCertificate v3, ext BasicContraint tag, no pathlen)
[all …]
/net-tools-latest/mbedtls-2.4.0/library/
Dx509_create.c287 mbedtls_asn1_named_data *ext ) in x509_write_extension() argument
292 MBEDTLS_ASN1_CHK_ADD( len, mbedtls_asn1_write_raw_buffer( p, start, ext->val.p + 1, in x509_write_extension()
293 ext->val.len - 1 ) ); in x509_write_extension()
294 MBEDTLS_ASN1_CHK_ADD( len, mbedtls_asn1_write_len( p, start, ext->val.len - 1 ) ); in x509_write_extension()
297 if( ext->val.p[0] != 0 ) in x509_write_extension()
302 MBEDTLS_ASN1_CHK_ADD( len, mbedtls_asn1_write_raw_buffer( p, start, ext->oid.p, in x509_write_extension()
303 ext->oid.len ) ); in x509_write_extension()
304 MBEDTLS_ASN1_CHK_ADD( len, mbedtls_asn1_write_len( p, start, ext->oid.len ) ); in x509_write_extension()
Dx509_crl.c102 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()
137 mbedtls_x509_buf *ext ) in x509_get_crl_entry_ext() argument
146 ext->tag = **p; in x509_get_crl_entry_ext()
147 ext->p = *p; in x509_get_crl_entry_ext()
153 if( ( ret = mbedtls_asn1_get_tag( p, end, &ext->len, in x509_get_crl_entry_ext()
158 ext->p = NULL; in x509_get_crl_entry_ext()
164 end = *p + ext->len; in x509_get_crl_entry_ext()
166 if( end != *p + ext->len ) in x509_get_crl_entry_ext()
Dssl_srv.c1079 unsigned char *buf, *p, *ext; local
1537 ext = buf + ext_offset + 2;
1538 MBEDTLS_SSL_DEBUG_BUF( 3, "client hello extensions", ext, ext_len );
1542 unsigned int ext_id = ( ( ext[0] << 8 )
1543 | ( ext[1] ) );
1544 unsigned int ext_size = ( ( ext[2] << 8 )
1545 | ( ext[3] ) );
1560 ret = ssl_parse_servername_ext( ssl, ext + 4, ext_size );
1572 ret = ssl_parse_renegotiation_info( ssl, ext + 4, ext_size );
1586 ret = ssl_parse_signature_algorithms_ext( ssl, ext + 4, ext_size );
[all …]
Dssl_cli.c1396 unsigned char *buf, *ext; local
1669 ext = buf + 40 + n;
1675 unsigned int ext_id = ( ( ext[0] << 8 )
1676 | ( ext[1] ) );
1677 unsigned int ext_size = ( ( ext[2] << 8 )
1678 | ( ext[3] ) );
1694 if( ( ret = ssl_parse_renegotiation_info( ssl, ext + 4,
1705 ext + 4, ext_size ) ) != 0 )
1718 ext + 4, ext_size ) ) != 0 )
1731 ext + 4, ext_size ) ) != 0 )
[all …]
Dx509.c667 mbedtls_x509_buf *ext, int tag ) in mbedtls_x509_get_ext() argument
675 ext->tag = **p; in mbedtls_x509_get_ext()
677 if( ( ret = mbedtls_asn1_get_tag( p, end, &ext->len, in mbedtls_x509_get_ext()
681 ext->p = *p; in mbedtls_x509_get_ext()
682 end = *p + ext->len; in mbedtls_x509_get_ext()
/net-tools-latest/mbedtls-2.4.0/scripts/
Dgenerate_visualc_files.pl91 my ($path, $template, $dir, $ext) = @_;
102 content_to_file( $content, "$dir/$appname.$ext" );
/net-tools-latest/mbedtls-2.4.0/include/mbedtls/
Dx509.h301 mbedtls_x509_buf *ext, int tag );
/net-tools-latest/mbedtls-2.4.0/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
/net-tools-latest/tinydtls-0.8.2/doc/
DDoxyfile.in213 # The format is ext=language, where ext is a file extension, and language is one of
/net-tools-latest/libcoap/doc/
DDoxyfile.in270 # using this tag. The format is ext=language, where ext is a file extension, and
884 # *.ext= (so without naming a filter).