Searched refs:clicert (Results 1 – 4 of 4) sorted by relevance
/net-tools-3.4.0/mbedtls-2.4.0/programs/test/ |
D | ssl_cert_test.c | 138 mbedtls_x509_crt clicert; in main() local 141 mbedtls_x509_crt_init( &clicert ); in main() 149 ret = mbedtls_x509_crt_parse_file( &clicert, name ); in main() 164 ret = mbedtls_x509_crt_verify( &clicert, &cacert, &crl, NULL, &flags, NULL, in main() 210 if( ! mbedtls_pk_can_do( &clicert.pk, MBEDTLS_PK_RSA ) ) in main() 217 ret = mbedtls_mpi_cmp_mpi(&mbedtls_pk_rsa( pk )->N, &mbedtls_pk_rsa( clicert.pk )->N); in main() 224 ret = mbedtls_mpi_cmp_mpi(&mbedtls_pk_rsa( pk )->E, &mbedtls_pk_rsa( clicert.pk )->E); in main() 240 mbedtls_x509_crt_free( &clicert ); in main()
|
/net-tools-3.4.0/mbedtls-2.4.0/programs/ssl/ |
D | ssl_mail_client.c | 363 mbedtls_x509_crt clicert; in main() local 378 mbedtls_x509_crt_init( &clicert ); in main() 524 ret = mbedtls_x509_crt_parse_file( &clicert, opt.crt_file ); in main() 528 ret = mbedtls_x509_crt_parse( &clicert, (const unsigned char *) mbedtls_test_cli_crt, in main() 606 if( ( ret = mbedtls_ssl_conf_own_cert( &conf, &clicert, &pkey ) ) != 0 ) in main() 825 mbedtls_x509_crt_free( &clicert ); in main()
|
D | ssl_client2.c | 425 mbedtls_x509_crt clicert; in main() local 441 mbedtls_x509_crt_init( &clicert ); in main() 1001 ret = mbedtls_x509_crt_parse_file( &clicert, opt.crt_file ); in main() 1005 ret = mbedtls_x509_crt_parse( &clicert, (const unsigned char *) mbedtls_test_cli_crt, in main() 1180 if( ( ret = mbedtls_ssl_conf_own_cert( &conf, &clicert, &pkey ) ) != 0 ) in main() 1650 mbedtls_x509_crt_free( &clicert ); in main()
|
/net-tools-3.4.0/mbedtls-2.4.0/library/ |
D | x509.c | 1007 mbedtls_x509_crt clicert; in mbedtls_x509_self_test() local 1012 mbedtls_x509_crt_init( &clicert ); in mbedtls_x509_self_test() 1014 ret = mbedtls_x509_crt_parse( &clicert, (const unsigned char *) mbedtls_test_cli_crt, in mbedtls_x509_self_test() 1039 ret = mbedtls_x509_crt_verify( &clicert, &cacert, NULL, NULL, &flags, NULL, NULL ); in mbedtls_x509_self_test() 1052 mbedtls_x509_crt_free( &clicert ); in mbedtls_x509_self_test()
|