/third_party/mbedtls/include/mbedtls/ |
D | x509_crt.h | 53 typedef struct mbedtls_x509_crt struct 101 struct mbedtls_x509_crt *next; argument 103 mbedtls_x509_crt; typedef 300 mbedtls_x509_crt *MBEDTLS_PRIVATE(crt); 322 mbedtls_x509_crt *MBEDTLS_PRIVATE(trust_ca_cb_result); 337 mbedtls_x509_crt *MBEDTLS_PRIVATE(parent); /* non-null iff parent_in in progress */ 338 mbedtls_x509_crt *MBEDTLS_PRIVATE(fallback_parent); 415 int mbedtls_x509_crt_parse_der( mbedtls_x509_crt *chain, 450 mbedtls_x509_crt const *crt, 496 int mbedtls_x509_crt_parse_der_with_ext_cb( mbedtls_x509_crt *chain, [all …]
|
D | ssl.h | 901 mbedtls_x509_crt *cert, 967 mbedtls_x509_crt *cert, 1136 mbedtls_x509_crt *MBEDTLS_PRIVATE(peer_cert); /*!< peer X.509 cert chain */ 1307 int (*MBEDTLS_PRIVATE(f_vrfy))(void *, mbedtls_x509_crt *, int, uint32_t *); 1343 mbedtls_x509_crt *MBEDTLS_PRIVATE(ca_chain); /*!< trusted CAs */ 1476 int (*MBEDTLS_PRIVATE(f_vrfy))(void *, mbedtls_x509_crt *, int, uint32_t *); 1809 int (*f_vrfy)(void *, mbedtls_x509_crt *, int, uint32_t *), 2077 int (*f_vrfy)(void *, mbedtls_x509_crt *, int, uint32_t *), 2868 mbedtls_x509_crt *ca_chain, 2965 mbedtls_x509_crt *own_cert, [all …]
|
/third_party/mbedtls/library/ |
D | x509_crt.c | 89 mbedtls_x509_crt *crt; 905 mbedtls_x509_crt *crt, in x509_get_crt_ext() 1085 static int x509_crt_parse_der_core( mbedtls_x509_crt *crt, in x509_crt_parse_der_core() 1348 static int mbedtls_x509_crt_parse_der_internal( mbedtls_x509_crt *chain, in mbedtls_x509_crt_parse_der_internal() 1356 mbedtls_x509_crt *crt = chain, *prev = NULL; in mbedtls_x509_crt_parse_der_internal() 1375 crt->next = mbedtls_calloc( 1, sizeof( mbedtls_x509_crt ) ); in mbedtls_x509_crt_parse_der_internal() 1400 int mbedtls_x509_crt_parse_der_nocopy( mbedtls_x509_crt *chain, in mbedtls_x509_crt_parse_der_nocopy() 1407 int mbedtls_x509_crt_parse_der_with_ext_cb( mbedtls_x509_crt *chain, in mbedtls_x509_crt_parse_der_with_ext_cb() 1417 int mbedtls_x509_crt_parse_der( mbedtls_x509_crt *chain, in mbedtls_x509_crt_parse_der() 1428 int mbedtls_x509_crt_parse( mbedtls_x509_crt *chain, in mbedtls_x509_crt_parse() [all …]
|
D | ssl_misc.h | 568 mbedtls_x509_crt *ecrs_peer_cert; /*!< The peer's CRT chain. */ 647 mbedtls_x509_crt *sni_ca_chain; /*!< trusted CAs from SNI callback */ 1020 mbedtls_x509_crt *cert; /*!< cert */ 1315 static inline mbedtls_x509_crt *mbedtls_ssl_own_cert( mbedtls_ssl_context *ssl ) in mbedtls_ssl_own_cert() 1336 int mbedtls_ssl_check_cert_usage( const mbedtls_x509_crt *cert,
|
D | ssl_tls.c | 198 dst->peer_cert = mbedtls_calloc( 1, sizeof(mbedtls_x509_crt) ); in mbedtls_ssl_session_copy() 1684 const mbedtls_x509_crt *crt; in mbedtls_ssl_write_certificate() 1781 mbedtls_x509_crt const * const peer_crt = ssl->session->peer_cert; in ssl_check_peer_crt_unchanged() 1827 mbedtls_x509_crt *chain ) in ssl_parse_certificate_chain() 2040 mbedtls_x509_crt *chain, in ssl_parse_certificate_verify() 2048 int (*f_vrfy)(void *, mbedtls_x509_crt *, int, uint32_t *); in ssl_parse_certificate_verify() 2089 mbedtls_x509_crt *ca_chain; in ssl_parse_certificate_verify() 2289 mbedtls_x509_crt *chain = NULL; in mbedtls_ssl_parse_certificate() 2334 chain = mbedtls_calloc( 1, sizeof( mbedtls_x509_crt ) ); in mbedtls_ssl_parse_certificate() 2338 sizeof( mbedtls_x509_crt ) ) ); in mbedtls_ssl_parse_certificate() [all …]
|
/third_party/mbedtls/tests/suites/ |
D | test_suite_x509parse.function | 61 int verify_none( void *data, mbedtls_x509_crt *crt, int certificate_depth, uint32_t *flags ) 71 int verify_all( void *data, mbedtls_x509_crt *crt, int certificate_depth, uint32_t *flags ) 82 int ca_callback_fail( void *data, mbedtls_x509_crt const *child, mbedtls_x509_crt **candidates ) 91 int ca_callback( void *data, mbedtls_x509_crt const *child, 92 mbedtls_x509_crt **candidates ) 95 mbedtls_x509_crt *ca = (mbedtls_x509_crt *) data; 96 mbedtls_x509_crt *first; 108 first = mbedtls_calloc( 1, sizeof( mbedtls_x509_crt ) ); 146 int verify_fatal( void *data, mbedtls_x509_crt *crt, int certificate_depth, uint32_t *flags ) 205 int verify_print( void *data, mbedtls_x509_crt *crt, int certificate_depth, uint32_t *flags ) [all …]
|
/third_party/mbedtls/programs/ssl/ |
D | ssl_test_lib.c | 195 int ca_callback( void *data, mbedtls_x509_crt const *child, in ca_callback() 196 mbedtls_x509_crt **candidates ) in ca_callback() 199 mbedtls_x509_crt *ca = (mbedtls_x509_crt *) data; in ca_callback() 200 mbedtls_x509_crt *first; in ca_callback() 212 first = mbedtls_calloc( 1, sizeof( mbedtls_x509_crt ) ); in ca_callback()
|
D | ssl_test_lib.h | 232 int ca_callback( void *data, mbedtls_x509_crt const *child, 233 mbedtls_x509_crt **candidates );
|
D | ssl_pthread_server.c | 322 mbedtls_x509_crt srvcert; in main() 323 mbedtls_x509_crt cachain; in main()
|
D | ssl_server2.c | 687 mbedtls_x509_crt *cert; 689 mbedtls_x509_crt* ca; 757 if( ( new->cert = mbedtls_calloc( 1, sizeof( mbedtls_x509_crt ) ) ) == NULL || in sni_parse() 770 if( ( new->ca = mbedtls_calloc( 1, sizeof( mbedtls_x509_crt ) ) ) == NULL ) in sni_parse() 991 mbedtls_x509_crt *cert; /*!< Certificate corresponding to the key */ 1015 mbedtls_x509_crt *cert, in ssl_async_set_key() 1057 mbedtls_x509_crt *cert, in ssl_async_start() 1123 mbedtls_x509_crt *cert, in ssl_async_sign() 1134 mbedtls_x509_crt *cert, in ssl_async_decrypt() 1320 mbedtls_x509_crt cacert; in main() [all …]
|
/third_party/libwebsockets/lib/tls/mbedtls/ |
D | private-lib-tls-mbedtls.h | 31 mbedtls_x509_crt cert; /* has a .next for linked-list / chain */ 54 lws_tls_mbedtls_cert_info(mbedtls_x509_crt *x509, enum lws_tls_cert_info type, 58 lws_x509_get_crt_ext(mbedtls_x509_crt *crt, mbedtls_x509_buf *skid,
|
D | mbedtls-x509.c | 98 lws_tls_mbedtls_cert_info(mbedtls_x509_crt *x509, enum lws_tls_cert_info type, in lws_tls_mbedtls_cert_info() 281 mbedtls_x509_crt *x509; in lws_tls_vhost_cert_info() 292 mbedtls_x509_crt *x509; in lws_tls_peer_cert_info()
|
/third_party/libwebsockets/lib/tls/mbedtls/wrapper/platform/ |
D | ssl_pm.c | 56 mbedtls_x509_crt *x509_crt; 58 mbedtls_x509_crt *ex_crt; 103 lws_mbedtls_f_vrfy(void *opaque, mbedtls_x509_crt *x509, int state, uint32_t *pflags) in lws_mbedtls_f_vrfy() 347 x509_pm->ex_crt = (mbedtls_x509_crt *)mbedtls_ssl_get_peer_cert(&ssl_pm->ssl); in ssl_pm_handshake() 367 mbedtls_x509_crt * 378 mbedtls_x509_crt * 575 mbedtls_x509_crt *x509_crt; in x509_pm_show_info() 663 x509_pm->x509_crt = ssl_mem_malloc(sizeof(mbedtls_x509_crt)); in x509_pm_load()
|
/third_party/libwebsockets/lib/tls/mbedtls/wrapper/include/openssl/ |
D | ssl.h | 38 mbedtls_x509_crt * 41 mbedtls_x509_crt * 711 void SSL_CTX_set_verify(SSL_CTX *ctx, int mode, int (*verify_callback)(SSL *, mbedtls_x509_crt *)); 722 void SSL_set_verify(SSL *s, int mode, int (*verify_callback)(SSL *, mbedtls_x509_crt *)); 742 int verify_callback(SSL *, mbedtls_x509_crt *);
|
/third_party/mbedtls/programs/x509/ |
D | cert_app.c | 124 static int my_verify( void *data, mbedtls_x509_crt *crt, int depth, uint32_t *flags ) in my_verify() 154 mbedtls_x509_crt cacert; in main() 289 mbedtls_x509_crt crt; in main() 290 mbedtls_x509_crt *cur = &crt; in main()
|
D | load_roots.c | 105 mbedtls_x509_crt cas; in read_certificates()
|
/third_party/libwebsockets/lib/tls/mbedtls/wrapper/include/internal/ |
D | ssl_types.h | 190 int (*default_verify_callback) (SSL *, mbedtls_x509_crt *); 232 int (*verify_callback) (SSL *, mbedtls_x509_crt *);
|
/third_party/mbedtls/programs/fuzz/ |
D | fuzz_x509crt.c | 9 mbedtls_x509_crt crt; in LLVMFuzzerTestOneInput()
|
D | fuzz_dtlsclient.c | 20 static mbedtls_x509_crt cacert;
|
/third_party/mbedtls/port/include/ |
D | tls_client.h | 41 mbedtls_x509_crt cacert;
|
/third_party/lwip/src/apps/altcp_tls/ |
D | altcp_tls_mbedtls.c | 99 mbedtls_x509_crt *cert; 105 mbedtls_x509_crt *ca; 676 mbedtls_x509_crt *mem; in altcp_tls_create_config() 687 sz += (cert_count * sizeof(mbedtls_x509_crt)); in altcp_tls_create_config() 690 sz += sizeof(mbedtls_x509_crt); in altcp_tls_create_config() 701 mem = (mbedtls_x509_crt *)(conf + 1); in altcp_tls_create_config() 805 mbedtls_x509_crt *srvcert; in altcp_tls_config_server_add_privkey_cert()
|
/third_party/libwebsockets/lib/tls/mbedtls/wrapper/library/ |
D | ssl_lib.c | 229 mbedtls_x509_crt **px = (mbedtls_x509_crt **)ctx->client_CA->x509_pm; in SSL_CTX_new() 1083 void SSL_CTX_set_verify(SSL_CTX *ctx, int mode, int (*verify_callback)(SSL *, mbedtls_x509_crt *)) in SSL_CTX_set_verify() argument 1094 void SSL_set_verify(SSL *ssl, int mode, int (*verify_callback)(SSL *, mbedtls_x509_crt *)) in SSL_set_verify() argument
|
/third_party/libcoap/src/ |
D | coap_mbedtls.c | 98 mbedtls_x509_crt cacert; 99 mbedtls_x509_crt public_cert; 113 mbedtls_x509_crt cacert; 114 mbedtls_x509_crt public_cert; 259 get_san_or_cn_from_cert(mbedtls_x509_crt *crt) in get_san_or_cn_from_cert() 300 cert_verify_callback_mbedtls(void *data, mbedtls_x509_crt *crt, in cert_verify_callback_mbedtls() 452 setup_pki_credentials(mbedtls_x509_crt *cacert, in setup_pki_credentials() 453 mbedtls_x509_crt *public_cert, in setup_pki_credentials()
|
/third_party/ffmpeg/libavformat/ |
D | tls_mbedtls.c | 44 mbedtls_x509_crt ca_cert; 45 mbedtls_x509_crt own_cert;
|
/third_party/curl/lib/vtls/ |
D | mbedtls.c | 79 mbedtls_x509_crt cacert; 80 mbedtls_x509_crt clicert; 560 const mbedtls_x509_crt *peercert; in mbed_connect_step2() 632 mbedtls_x509_crt *p; in mbed_connect_step2()
|