Home
last modified time | relevance | path

Searched refs:cacert (Results 1 – 9 of 9) sorted by relevance

/net-tools-2.7.6/mbedtls-2.4.0/programs/test/
Dssl_cert_test.c84 mbedtls_x509_crt cacert; in main() local
88 mbedtls_x509_crt_init( &cacert ); in main()
101 ret = mbedtls_x509_crt_parse_file( &cacert, "ssl/test-ca/test-ca.crt" ); in main()
110 mbedtls_x509_crt_info( buf, 1024, "CRT: ", &cacert ); in main()
164 ret = mbedtls_x509_crt_verify( &clicert, &cacert, &crl, NULL, &flags, NULL, in main()
245 mbedtls_x509_crt_free( &cacert ); in main()
/net-tools-2.7.6/mbedtls-2.4.0/programs/ssl/
Dssl_client1.c93 mbedtls_x509_crt cacert; in main() local
105 mbedtls_x509_crt_init( &cacert ); in main()
128 ret = mbedtls_x509_crt_parse( &cacert, (const unsigned char *) mbedtls_test_cas_pem, in main()
173 mbedtls_ssl_conf_ca_chain( &conf, &cacert, NULL ); in main()
297 mbedtls_x509_crt_free( &cacert ); in main()
Ddtls_client.c96 mbedtls_x509_crt cacert; in main() local
112 mbedtls_x509_crt_init( &cacert ); in main()
135 ret = mbedtls_x509_crt_parse( &cacert, (const unsigned char *) mbedtls_test_cas_pem, in main()
179 mbedtls_ssl_conf_ca_chain( &conf, &cacert, NULL ); in main()
330 mbedtls_x509_crt_free( &cacert ); in main()
Dssl_mail_client.c362 mbedtls_x509_crt cacert; in main() local
377 mbedtls_x509_crt_init( &cacert ); in main()
494 ret = mbedtls_x509_crt_parse_file( &cacert, opt.ca_file ); in main()
498 ret = mbedtls_x509_crt_parse( &cacert, (const unsigned char *) mbedtls_test_cas_pem, in main()
605 mbedtls_ssl_conf_ca_chain( &conf, &cacert, NULL ); in main()
826 mbedtls_x509_crt_free( &cacert ); in main()
Dssl_client2.c424 mbedtls_x509_crt cacert; in main() local
440 mbedtls_x509_crt_init( &cacert ); in main()
957 ret = mbedtls_x509_crt_parse_path( &cacert, opt.ca_path ); in main()
962 ret = mbedtls_x509_crt_parse_file( &cacert, opt.ca_file ); in main()
968 ret = mbedtls_x509_crt_parse( &cacert, in main()
1175 mbedtls_ssl_conf_ca_chain( &conf, &cacert, NULL ); in main()
1651 mbedtls_x509_crt_free( &cacert ); in main()
Dssl_server2.c809 mbedtls_x509_crt cacert; in main() local
852 mbedtls_x509_crt_init( &cacert ); in main()
1403 ret = mbedtls_x509_crt_parse_path( &cacert, opt.ca_path ); in main()
1408 ret = mbedtls_x509_crt_parse_file( &cacert, opt.ca_file ); in main()
1414 ret = mbedtls_x509_crt_parse( &cacert, in main()
1769 mbedtls_ssl_conf_ca_chain( &conf, &cacert, NULL ); in main()
2285 mbedtls_x509_crt_free( &cacert ); in main()
/net-tools-2.7.6/mbedtls-2.4.0/programs/x509/
Dcert_app.c155 mbedtls_x509_crt cacert; in main() local
170 mbedtls_x509_crt_init( &cacert ); in main()
255 ret = mbedtls_x509_crt_parse_path( &cacert, opt.ca_path ); in main()
260 ret = mbedtls_x509_crt_parse_file( &cacert, opt.ca_file ); in main()
344 if( ( ret = mbedtls_x509_crt_verify( &crt, &cacert, &cacrl, NULL, &flags, in main()
413 mbedtls_ssl_conf_ca_chain( &conf, &cacert, NULL ); in main()
476 mbedtls_x509_crt_free( &cacert ); in main()
/net-tools-2.7.6/
Ddtls-client.c347 mbedtls_x509_crt cacert; in main() local
406 mbedtls_x509_crt_init(&cacert); in main()
429 ret = mbedtls_x509_crt_parse_file(&cacert, ca_cert_file); in main()
468 mbedtls_ssl_conf_ca_chain(&conf, &cacert, NULL); in main()
645 mbedtls_x509_crt_free(&cacert); in main()
/net-tools-2.7.6/mbedtls-2.4.0/library/
Dx509.c1006 mbedtls_x509_crt cacert; in mbedtls_x509_self_test() local
1024 mbedtls_x509_crt_init( &cacert ); in mbedtls_x509_self_test()
1026 ret = mbedtls_x509_crt_parse( &cacert, (const unsigned char *) mbedtls_test_ca_crt, in mbedtls_x509_self_test()
1039 ret = mbedtls_x509_crt_verify( &clicert, &cacert, NULL, NULL, &flags, NULL, NULL ); in mbedtls_x509_self_test()
1051 mbedtls_x509_crt_free( &cacert ); in mbedtls_x509_self_test()