Home
last modified time | relevance | path

Searched refs:crt_file (Results 1 – 6 of 6) sorted by relevance

/mbedtls-development/tests/suites/
A Dtest_suite_x509parse.function404 void x509_parse_san( char * crt_file, char * result_str )
417 TEST_ASSERT( mbedtls_x509_crt_parse_file( &crt, crt_file ) == 0 );
444 void x509_cert_info( char * crt_file, char * result_str )
453 TEST_ASSERT( mbedtls_x509_crt_parse_file( &crt, crt_file ) == 0 );
545 void x509_verify_restart( char *crt_file, char *ca_file,
569 TEST_ASSERT( mbedtls_x509_crt_parse_file( &crt, crt_file ) == 0 );
601 void x509_verify( char *crt_file, char *ca_file, char *crl_file,
646 TEST_ASSERT( mbedtls_x509_crt_parse_file( &crt, crt_file ) == 0 );
707 void x509_verify_callback( char *crt_file, char *ca_file, char *name,
814 void x509parse_crt_file( char * crt_file, int result )
[all …]
A Dtest_suite_debug.function150 void mbedtls_debug_print_crt( char * crt_file, char * file, int line,
173 TEST_ASSERT( mbedtls_x509_crt_parse_file( &crt, crt_file ) == 0 );
A Dtest_suite_ssl.function1440 const char *crt_file )
1453 if( crt_file != NULL && strlen( crt_file ) != 0 )
1459 ret = mbedtls_x509_crt_parse_file( &tmp_crt, crt_file );
1491 (void) crt_file;
4093 void ssl_serialize_session_save_load( int ticket_len, char *crt_file )
4191 void ssl_serialize_session_load_save( int ticket_len, char *crt_file )
4204 TEST_ASSERT( ssl_populate_session_tls12( &session, ticket_len, crt_file ) == 0 );
4241 void ssl_serialize_session_save_buf_size( int ticket_len, char *crt_file )
4254 TEST_ASSERT( ssl_populate_session_tls12( &session, ticket_len, crt_file ) == 0 );
4277 void ssl_serialize_session_load_buf_size( int ticket_len, char *crt_file )
[all …]
/mbedtls-development/programs/ssl/
A Dssl_mail_client.c157 const char *crt_file; /* the file with the client certificate */ member
425 opt.crt_file = DFL_CRT_FILE; in main()
469 opt.crt_file = q; in main()
541 if( strlen( opt.crt_file ) ) in main()
542 ret = mbedtls_x509_crt_parse_file( &clicert, opt.crt_file ); in main()
A Dssl_server2.c570 const char *crt_file; /* the file with the server certificate */ member
727 char *crt_file, *key_file, *ca_file, *auth_str; in sni_parse() local
745 GET_ITEM( crt_file ); in sni_parse()
760 if( mbedtls_x509_crt_parse_file( new->cert, crt_file ) != 0 || in sni_parse()
1497 opt.crt_file = DFL_CRT_FILE; in main()
1626 opt.crt_file = q; in main()
2388 if( strlen( opt.crt_file ) && strcmp( opt.crt_file, "none" ) != 0 ) in main()
2391 if( ( ret = mbedtls_x509_crt_parse_file( &srvcert, opt.crt_file ) ) != 0 ) in main()
2442 strcmp( opt.crt_file, "none" ) != 0 && in main()
A Dssl_client2.c455 const char *crt_file; /* the file with the client certificate */ member
824 opt.crt_file = DFL_CRT_FILE; in main()
951 opt.crt_file = q; in main()
1646 if( strcmp( opt.crt_file, "none" ) == 0 ) in main()
1650 if( strlen( opt.crt_file ) ) in main()
1651 ret = mbedtls_x509_crt_parse_file( &clicert, opt.crt_file ); in main()
1876 if( strcmp( opt.crt_file, "none" ) != 0 && in main()

Completed in 20 milliseconds