Searched refs:srvcert (Results 1 – 7 of 7) sorted by relevance
/openthread-3.4.0/third_party/mbedtls/repo/programs/fuzz/ |
D | fuzz_dtlsserver.c | 22 static mbedtls_x509_crt srvcert; variable 47 mbedtls_x509_crt_init( &srvcert ); in LLVMFuzzerTestOneInput() 49 if (mbedtls_x509_crt_parse( &srvcert, (const unsigned char *) mbedtls_test_srv_crt, in LLVMFuzzerTestOneInput() 52 if (mbedtls_x509_crt_parse( &srvcert, (const unsigned char *) mbedtls_test_cas_pem, in LLVMFuzzerTestOneInput() 85 mbedtls_ssl_conf_ca_chain( &conf, srvcert.next, NULL ); in LLVMFuzzerTestOneInput() 86 if( mbedtls_ssl_conf_own_cert( &conf, &srvcert, &pkey ) != 0 ) in LLVMFuzzerTestOneInput()
|
D | fuzz_server.c | 18 static mbedtls_x509_crt srvcert; variable 58 mbedtls_x509_crt_init( &srvcert ); in LLVMFuzzerTestOneInput() 60 if (mbedtls_x509_crt_parse( &srvcert, (const unsigned char *) mbedtls_test_srv_crt, in LLVMFuzzerTestOneInput() 63 if (mbedtls_x509_crt_parse( &srvcert, (const unsigned char *) mbedtls_test_cas_pem, in LLVMFuzzerTestOneInput() 102 mbedtls_ssl_conf_ca_chain( &conf, srvcert.next, NULL ); in LLVMFuzzerTestOneInput() 103 if( mbedtls_ssl_conf_own_cert( &conf, &srvcert, &pkey ) != 0 ) in LLVMFuzzerTestOneInput()
|
/openthread-3.4.0/third_party/mbedtls/repo/programs/ssl/ |
D | ssl_server.c | 106 mbedtls_x509_crt srvcert; in main() local 119 mbedtls_x509_crt_init( &srvcert ); in main() 139 ret = mbedtls_x509_crt_parse( &srvcert, (const unsigned char *) mbedtls_test_srv_crt, in main() 147 ret = mbedtls_x509_crt_parse( &srvcert, (const unsigned char *) mbedtls_test_cas_pem, in main() 219 mbedtls_ssl_conf_ca_chain( &conf, srvcert.next, NULL ); in main() 220 if( ( ret = mbedtls_ssl_conf_own_cert( &conf, &srvcert, &pkey ) ) != 0 ) in main() 383 mbedtls_x509_crt_free( &srvcert ); in main()
|
D | dtls_server.c | 118 mbedtls_x509_crt srvcert; in main() local 133 mbedtls_x509_crt_init( &srvcert ); in main() 153 ret = mbedtls_x509_crt_parse( &srvcert, (const unsigned char *) mbedtls_test_srv_crt, in main() 161 ret = mbedtls_x509_crt_parse( &srvcert, (const unsigned char *) mbedtls_test_cas_pem, in main() 234 mbedtls_ssl_conf_ca_chain( &conf, srvcert.next, NULL ); in main() 235 if( ( ret = mbedtls_ssl_conf_own_cert( &conf, &srvcert, &pkey ) ) != 0 ) in main() 413 mbedtls_x509_crt_free( &srvcert ); in main()
|
D | ssl_fork_server.c | 111 mbedtls_x509_crt srvcert; in main() local 120 mbedtls_x509_crt_init( &srvcert ); in main() 152 ret = mbedtls_x509_crt_parse( &srvcert, (const unsigned char *) mbedtls_test_srv_crt, in main() 160 ret = mbedtls_x509_crt_parse( &srvcert, (const unsigned char *) mbedtls_test_cas_pem, in main() 196 mbedtls_ssl_conf_ca_chain( &conf, srvcert.next, NULL ); in main() 197 if( ( ret = mbedtls_ssl_conf_own_cert( &conf, &srvcert, &pkey ) ) != 0 ) in main() 406 mbedtls_x509_crt_free( &srvcert ); in main()
|
D | ssl_pthread_server.c | 327 mbedtls_x509_crt srvcert; in main() local 345 mbedtls_x509_crt_init( &srvcert ); in main() 374 ret = mbedtls_x509_crt_parse( &srvcert, (const unsigned char *) mbedtls_test_srv_crt, in main() 445 if( ( ret = mbedtls_ssl_conf_own_cert( &conf, &srvcert, &pkey ) ) != 0 ) in main() 505 mbedtls_x509_crt_free( &srvcert ); in main()
|
D | ssl_server2.c | 1301 mbedtls_x509_crt srvcert; in main() local 1390 mbedtls_x509_crt_init( &srvcert ); in main() 2377 if( ( ret = mbedtls_x509_crt_parse_file( &srvcert, opt.crt_file ) ) != 0 ) in main() 2439 if( ( ret = mbedtls_x509_crt_parse( &srvcert, in main() 2828 ret = ssl_async_set_key( &ssl_async_keys, &srvcert, pk, 0, in main() 2839 if( ( ret = mbedtls_ssl_conf_own_cert( &conf, &srvcert, pk ) ) != 0 ) in main() 3966 mbedtls_x509_crt_free( &srvcert ); in main()
|