/net-tools-2.7.6/mbedtls-2.4.0/programs/test/ |
D | ssl_cert_test.c | 84 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/ |
D | ssl_client1.c | 93 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()
|
D | dtls_client.c | 96 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()
|
D | ssl_mail_client.c | 362 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()
|
D | ssl_client2.c | 424 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()
|
D | ssl_server2.c | 809 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/ |
D | cert_app.c | 155 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/ |
D | dtls-client.c | 347 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/ |
D | x509.c | 1006 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()
|