/openthread-2.7.6/third_party/mbedtls/repo/include/mbedtls/ |
D | x509_crt.h | 52 typedef struct mbedtls_x509_crt struct 97 struct mbedtls_x509_crt *next; /**< Next certificate in the CA-chain. */ argument 99 mbedtls_x509_crt; typedef 201 mbedtls_x509_crt *crt; 223 mbedtls_x509_crt *trust_ca_cb_result; 238 mbedtls_x509_crt *parent; /* non-null iff parent_in in progress */ 239 mbedtls_x509_crt *fallback_parent; 300 int mbedtls_x509_crt_parse_der( mbedtls_x509_crt *chain, 335 mbedtls_x509_crt const *crt, 381 int mbedtls_x509_crt_parse_der_with_ext_cb( mbedtls_x509_crt *chain, [all …]
|
D | ssl.h | 707 mbedtls_x509_crt *cert, 773 mbedtls_x509_crt *cert, 923 mbedtls_x509_crt *peer_cert; /*!< peer X.509 cert chain */ 988 int (*f_vrfy)(void *, mbedtls_x509_crt *, int, uint32_t *); 1037 mbedtls_x509_crt *ca_chain; /*!< trusted CAs */ 1223 int (*f_vrfy)(void *, mbedtls_x509_crt *, int, uint32_t *); 1571 int (*f_vrfy)(void *, mbedtls_x509_crt *, int, uint32_t *), 1842 int (*f_vrfy)(void *, mbedtls_x509_crt *, int, uint32_t *), 2648 mbedtls_x509_crt *ca_chain, 2745 mbedtls_x509_crt *own_cert, [all …]
|
D | ssl_internal.h | 480 mbedtls_x509_crt *sni_ca_chain; /*!< trusted CAs from SNI callback */ 494 mbedtls_x509_crt *ecrs_peer_cert; /*!< The peer's CRT chain. */ 860 mbedtls_x509_crt *cert; /*!< cert */ 1133 static inline mbedtls_x509_crt *mbedtls_ssl_own_cert( mbedtls_ssl_context *ssl ) in mbedtls_ssl_own_cert() 1154 int mbedtls_ssl_check_cert_usage( const mbedtls_x509_crt *cert,
|
D | pkcs11.h | 85 MBEDTLS_DEPRECATED int mbedtls_pkcs11_x509_cert_bind( mbedtls_x509_crt *cert,
|
D | debug.h | 225 const char *text, const mbedtls_x509_crt *crt );
|
/openthread-2.7.6/third_party/mbedtls/repo/library/ |
D | x509_crt.c | 85 mbedtls_x509_crt *crt; 885 mbedtls_x509_crt *crt, in x509_get_crt_ext() 1071 static int x509_crt_parse_der_core( mbedtls_x509_crt *crt, in x509_crt_parse_der_core() 1336 static int mbedtls_x509_crt_parse_der_internal( mbedtls_x509_crt *chain, in mbedtls_x509_crt_parse_der_internal() 1344 mbedtls_x509_crt *crt = chain, *prev = NULL; in mbedtls_x509_crt_parse_der_internal() 1363 crt->next = mbedtls_calloc( 1, sizeof( mbedtls_x509_crt ) ); in mbedtls_x509_crt_parse_der_internal() 1388 int mbedtls_x509_crt_parse_der_nocopy( mbedtls_x509_crt *chain, in mbedtls_x509_crt_parse_der_nocopy() 1395 int mbedtls_x509_crt_parse_der_with_ext_cb( mbedtls_x509_crt *chain, in mbedtls_x509_crt_parse_der_with_ext_cb() 1405 int mbedtls_x509_crt_parse_der( mbedtls_x509_crt *chain, in mbedtls_x509_crt_parse_der() 1416 int mbedtls_x509_crt_parse( mbedtls_x509_crt *chain, in mbedtls_x509_crt_parse() [all …]
|
D | pkcs11.c | 47 int mbedtls_pkcs11_x509_cert_bind( mbedtls_x509_crt *cert, pkcs11h_certificate_t pkcs11_cert ) in mbedtls_pkcs11_x509_cert_bind() 100 mbedtls_x509_crt cert; in mbedtls_pkcs11_priv_key_bind()
|
D | ssl_tls.c | 197 dst->peer_cert = mbedtls_calloc( 1, sizeof(mbedtls_x509_crt) ); in mbedtls_ssl_session_copy() 2082 const mbedtls_x509_crt *crt; in mbedtls_ssl_write_certificate() 2199 mbedtls_x509_crt const * const peer_crt = ssl->session->peer_cert; in ssl_check_peer_crt_unchanged() 2245 mbedtls_x509_crt *chain ) in ssl_parse_certificate_chain() 2473 mbedtls_x509_crt *chain, in ssl_parse_certificate_verify() 2481 int (*f_vrfy)(void *, mbedtls_x509_crt *, int, uint32_t *); in ssl_parse_certificate_verify() 2522 mbedtls_x509_crt *ca_chain; in ssl_parse_certificate_verify() 2722 mbedtls_x509_crt *chain = NULL; in mbedtls_ssl_parse_certificate() 2767 chain = mbedtls_calloc( 1, sizeof( mbedtls_x509_crt ) ); in mbedtls_ssl_parse_certificate() 2771 sizeof( mbedtls_x509_crt ) ) ); in mbedtls_ssl_parse_certificate() [all …]
|
/openthread-2.7.6/third_party/mbedtls/repo/tests/suites/ |
D | test_suite_x509parse.function | 60 int verify_none( void *data, mbedtls_x509_crt *crt, int certificate_depth, uint32_t *flags ) 70 int verify_all( void *data, mbedtls_x509_crt *crt, int certificate_depth, uint32_t *flags ) 81 int ca_callback_fail( void *data, mbedtls_x509_crt const *child, mbedtls_x509_crt **candidates ) 90 int ca_callback( void *data, mbedtls_x509_crt const *child, 91 mbedtls_x509_crt **candidates ) 94 mbedtls_x509_crt *ca = (mbedtls_x509_crt *) data; 95 mbedtls_x509_crt *first; 107 first = mbedtls_calloc( 1, sizeof( mbedtls_x509_crt ) ); 145 int verify_fatal( void *data, mbedtls_x509_crt *crt, int certificate_depth, uint32_t *flags ) 204 int verify_print( void *data, mbedtls_x509_crt *crt, int certificate_depth, uint32_t *flags ) [all …]
|
/openthread-2.7.6/third_party/mbedtls/repo/programs/x509/ |
D | cert_app.c | 128 static int my_verify( void *data, mbedtls_x509_crt *crt, int depth, uint32_t *flags ) in my_verify() 158 mbedtls_x509_crt cacert; in main() 293 mbedtls_x509_crt crt; in main() 294 mbedtls_x509_crt *cur = &crt; in main()
|
/openthread-2.7.6/third_party/mbedtls/repo/programs/fuzz/ |
D | fuzz_x509crt.c | 7 mbedtls_x509_crt crt; in LLVMFuzzerTestOneInput()
|
D | fuzz_dtlsclient.c | 19 static mbedtls_x509_crt cacert;
|
D | fuzz_client.c | 16 static mbedtls_x509_crt cacert;
|
D | fuzz_dtlsserver.c | 22 static mbedtls_x509_crt srvcert;
|
D | fuzz_server.c | 18 static mbedtls_x509_crt srvcert;
|
/openthread-2.7.6/src/core/meshcop/ |
D | dtls.hpp | 432 mbedtls_x509_crt mCaChain; 433 mbedtls_x509_crt mOwnCert;
|
/openthread-2.7.6/third_party/mbedtls/repo/programs/ssl/ |
D | ssl_server2.c | 866 int ca_callback( void *data, mbedtls_x509_crt const *child, in ca_callback() 867 mbedtls_x509_crt **candidates) in ca_callback() 870 mbedtls_x509_crt *ca = (mbedtls_x509_crt *) data; in ca_callback() 871 mbedtls_x509_crt *first; in ca_callback() 883 first = mbedtls_calloc( 1, sizeof( mbedtls_x509_crt ) ); in ca_callback() 1125 mbedtls_x509_crt *cert; 1127 mbedtls_x509_crt* ca; 1195 if( ( new->cert = mbedtls_calloc( 1, sizeof( mbedtls_x509_crt ) ) ) == NULL || in sni_parse() 1208 if( ( new->ca = mbedtls_calloc( 1, sizeof( mbedtls_x509_crt ) ) ) == NULL ) in sni_parse() 1447 mbedtls_x509_crt *cert; /*!< Certificate corresponding to the key */ [all …]
|
D | ssl_pthread_server.c | 327 mbedtls_x509_crt srvcert; in main() 328 mbedtls_x509_crt cachain; in main()
|
D | mini_client.c | 174 mbedtls_x509_crt ca; in main()
|
D | ssl_client1.c | 96 mbedtls_x509_crt cacert; in main()
|
D | ssl_client2.c | 766 int ca_callback( void *data, mbedtls_x509_crt const *child, in ca_callback() 767 mbedtls_x509_crt **candidates ) in ca_callback() 770 mbedtls_x509_crt *ca = (mbedtls_x509_crt *) data; in ca_callback() 771 mbedtls_x509_crt *first; in ca_callback() 783 first = mbedtls_calloc( 1, sizeof( mbedtls_x509_crt ) ); in ca_callback() 997 static int my_verify( void *data, mbedtls_x509_crt *crt, in my_verify() 1233 mbedtls_x509_crt cacert; in main() 1234 mbedtls_x509_crt clicert; in main()
|
D | dtls_client.c | 108 mbedtls_x509_crt cacert; in main()
|
D | ssl_server.c | 106 mbedtls_x509_crt srvcert; in main()
|
D | dtls_server.c | 118 mbedtls_x509_crt srvcert; in main()
|
D | ssl_fork_server.c | 111 mbedtls_x509_crt srvcert; in main()
|