Home
last modified time | relevance | path

Searched refs:crl (Results 1 – 10 of 10) sorted by relevance

/net-tools-3.4.0/mbedtls-2.4.0/library/
Dx509_crl.c262 mbedtls_x509_crl *crl = chain; in mbedtls_x509_crl_parse_der() local
267 if( crl == NULL || buf == NULL ) in mbedtls_x509_crl_parse_der()
277 while( crl->version != 0 && crl->next != NULL ) in mbedtls_x509_crl_parse_der()
278 crl = crl->next; in mbedtls_x509_crl_parse_der()
280 if( crl->version != 0 && crl->next == NULL ) in mbedtls_x509_crl_parse_der()
282 crl->next = mbedtls_calloc( 1, sizeof( mbedtls_x509_crl ) ); in mbedtls_x509_crl_parse_der()
284 if( crl->next == NULL ) in mbedtls_x509_crl_parse_der()
286 mbedtls_x509_crl_free( crl ); in mbedtls_x509_crl_parse_der()
290 mbedtls_x509_crl_init( crl->next ); in mbedtls_x509_crl_parse_der()
291 crl = crl->next; in mbedtls_x509_crl_parse_der()
[all …]
Dx509_crt.c1606 int mbedtls_x509_crt_is_revoked( const mbedtls_x509_crt *crt, const mbedtls_x509_crl *crl ) in mbedtls_x509_crt_is_revoked() argument
1608 const mbedtls_x509_crl_entry *cur = &crl->entry; in mbedtls_x509_crt_is_revoked()
/net-tools-3.4.0/mbedtls-2.4.0/programs/x509/
Dcrl_app.c72 mbedtls_x509_crl crl; in main() local
79 mbedtls_x509_crl_init( &crl ); in main()
109 ret = mbedtls_x509_crl_parse_file( &crl, opt.filename ); in main()
114 mbedtls_x509_crl_free( &crl ); in main()
124 ret = mbedtls_x509_crl_info( (char *) buf, sizeof( buf ) - 1, " ", &crl ); in main()
128 mbedtls_x509_crl_free( &crl ); in main()
135 mbedtls_x509_crl_free( &crl ); in main()
/net-tools-3.4.0/mbedtls-2.4.0/programs/test/
Dssl_cert_test.c85 mbedtls_x509_crl crl; in main() local
89 mbedtls_x509_crl_init( &crl ); in main()
119 ret = mbedtls_x509_crl_parse_file( &crl, "ssl/test-ca/crl.pem" ); in main()
128 mbedtls_x509_crl_info( buf, 1024, "CRL: ", &crl ); in main()
164 ret = mbedtls_x509_crt_verify( &clicert, &cacert, &crl, NULL, &flags, NULL, in main()
246 mbedtls_x509_crl_free( &crl ); in main()
/net-tools-3.4.0/mbedtls-2.4.0/include/mbedtls/
Dx509_crl.h150 const mbedtls_x509_crl *crl );
157 void mbedtls_x509_crl_init( mbedtls_x509_crl *crl );
164 void mbedtls_x509_crl_free( mbedtls_x509_crl *crl );
Dx509_crt.h395 int mbedtls_x509_crt_is_revoked( const mbedtls_x509_crt *crt, const mbedtls_x509_crl *crl );
/net-tools-3.4.0/mbedtls-2.4.0/tests/data_files/
DReadme-x509.txt83 - crl-ec-sha*.pem: (2) server6.crt
84 - crl-future.pem: (2) server6.crt + unknown
85 - crl-rsa-pss-*.pem: (1) server9{,badsign,with-ca}.crt + cert_sha384.crt + unknown
86 - crl.pem, crl_expired.pem: (1) server1{,.cert_type,.key_usage,.v1}.crt + unknown
87 - crl_md*.pem: crl_sha*.pem: (1) same as crl.pem
89 ec = crl-ec-sha256.pem, ecfut = crl-future.pem
90 rsa = crl.pem, rsabadpem = same with pem error, rsaexp = crl_expired.pem
93 crl-rsa-pss* would revoke server6.crt if signed by CA 2
/net-tools-3.4.0/mbedtls-2.4.0/tests/suites/
Dtest_suite_x509parse.function146 mbedtls_x509_crl crl;
150 mbedtls_x509_crl_init( &crl );
153 TEST_ASSERT( mbedtls_x509_crl_parse_file( &crl, crl_file ) == 0 );
154 res = mbedtls_x509_crl_info( buf, 2000, "", &crl );
162 mbedtls_x509_crl_free( &crl );
212 mbedtls_x509_crl crl;
220 mbedtls_x509_crl_init( &crl );
236 TEST_ASSERT( mbedtls_x509_crl_parse_file( &crl, crl_file ) == 0 );
238 …res = mbedtls_x509_crt_verify_with_profile( &crt, &ca, &crl, &compat_profile, cn_name, &flags, f_v…
246 mbedtls_x509_crl_free( &crl );
[all …]
Dtest_suite_x509parse.data163 mbedtls_x509_crl_info:"data_files/crl-rsa-pss-sha1.pem":"CRL version \: 2\nissuer name \: C=NL,…
167 mbedtls_x509_crl_info:"data_files/crl-rsa-pss-sha224.pem":"CRL version \: 2\nissuer name \: C=N…
171 mbedtls_x509_crl_info:"data_files/crl-rsa-pss-sha256.pem":"CRL version \: 2\nissuer name \: C=N…
175 mbedtls_x509_crl_info:"data_files/crl-rsa-pss-sha384.pem":"CRL version \: 2\nissuer name \: C=N…
179 mbedtls_x509_crl_info:"data_files/crl-rsa-pss-sha512.pem":"CRL version \: 2\nissuer name \: C=N…
183 mbedtls_x509_crl_info:"data_files/crl-ec-sha1.pem":"CRL version \: 2\nissuer name \: C=NL, O=Po…
187 mbedtls_x509_crl_info:"data_files/crl-ec-sha224.pem":"CRL version \: 2\nissuer name \: C=NL, O=…
191 mbedtls_x509_crl_info:"data_files/crl-ec-sha256.pem":"CRL version \: 2\nissuer name \: C=NL, O=…
195 mbedtls_x509_crl_info:"data_files/crl-ec-sha384.pem":"CRL version \: 2\nissuer name \: C=NL, O=…
199 mbedtls_x509_crl_info:"data_files/crl-ec-sha512.pem":"CRL version \: 2\nissuer name \: C=NL, O=…
[all …]
/net-tools-3.4.0/mbedtls-2.4.0/programs/ssl/
Dssl_server2.c491 mbedtls_x509_crl* crl; member
511 mbedtls_x509_crl_free( cur->crl ); in sni_free()
512 mbedtls_free( cur->crl ); in sni_free()
577 if( ( new->crl = mbedtls_calloc( 1, sizeof( mbedtls_x509_crl ) ) ) == NULL ) in sni_parse()
580 mbedtls_x509_crl_init( new->crl ); in sni_parse()
582 if( mbedtls_x509_crl_parse_file( new->crl, crl_file ) != 0 ) in sni_parse()
620 mbedtls_ssl_set_hs_ca_chain( ssl, cur->ca, cur->crl ); in sni_callback()