/net-tools-3.4.0/mbedtls-2.4.0/include/mbedtls/ |
D | x509_crt.h | 52 typedef struct mbedtls_x509_crt struct 92 struct mbedtls_x509_crt *next; /**< Next certificate in the CA-chain. */ argument 94 mbedtls_x509_crt; typedef 173 int mbedtls_x509_crt_parse_der( mbedtls_x509_crt *chain, const unsigned char *buf, 191 int mbedtls_x509_crt_parse( mbedtls_x509_crt *chain, const unsigned char *buf, size_t buflen ); 207 int mbedtls_x509_crt_parse_file( mbedtls_x509_crt *chain, const char *path ); 222 int mbedtls_x509_crt_parse_path( mbedtls_x509_crt *chain, const char *path ); 238 const mbedtls_x509_crt *crt ); 299 int mbedtls_x509_crt_verify( mbedtls_x509_crt *crt, 300 mbedtls_x509_crt *trust_ca, [all …]
|
D | ssl.h | 556 mbedtls_x509_crt *peer_cert; /*!< peer X.509 cert chain */ 614 int (*f_vrfy)(void *, mbedtls_x509_crt *, int, uint32_t *); 653 mbedtls_x509_crt *ca_chain; /*!< trusted CAs */ 1052 int (*f_vrfy)(void *, mbedtls_x509_crt *, int, uint32_t *), 1584 mbedtls_x509_crt *ca_chain, 1616 mbedtls_x509_crt *own_cert, 1814 mbedtls_x509_crt *own_cert, 1829 mbedtls_x509_crt *ca_chain, 2292 const mbedtls_x509_crt *mbedtls_ssl_get_peer_cert( const mbedtls_ssl_context *ssl );
|
D | ssl_internal.h | 196 mbedtls_x509_crt *sni_ca_chain; /*!< trusted CAs from SNI callback */ 313 mbedtls_x509_crt *cert; /*!< cert */ 416 static inline mbedtls_x509_crt *mbedtls_ssl_own_cert( mbedtls_ssl_context *ssl ) in mbedtls_ssl_own_cert() 437 int mbedtls_ssl_check_cert_usage( const mbedtls_x509_crt *cert,
|
D | pkcs11.h | 71 int mbedtls_pkcs11_x509_cert_bind( mbedtls_x509_crt *cert, pkcs11h_certificate_t pkcs11h_cert );
|
D | debug.h | 220 const char *text, const mbedtls_x509_crt *crt );
|
/net-tools-3.4.0/mbedtls-2.4.0/tests/suites/ |
D | test_suite_x509parse.function | 23 int verify_none( void *data, mbedtls_x509_crt *crt, int certificate_depth, uint32_t *flags ) 33 int verify_all( void *data, mbedtls_x509_crt *crt, int certificate_depth, uint32_t *flags ) 85 int verify_print( void *data, mbedtls_x509_crt *crt, int certificate_depth, uint32_t *flags ) 123 mbedtls_x509_crt crt; 210 mbedtls_x509_crt crt; 211 mbedtls_x509_crt ca; 215 int (*f_vrfy)(void *, mbedtls_x509_crt *, int, uint32_t *) = NULL; 255 mbedtls_x509_crt crt; 256 mbedtls_x509_crt ca; 282 mbedtls_x509_crt crt; [all …]
|
D | test_suite_debug.function | 141 mbedtls_x509_crt crt;
|
/net-tools-3.4.0/mbedtls-2.4.0/library/ |
D | x509_crt.c | 522 mbedtls_x509_crt *crt ) in x509_get_crt_ext() 662 static int x509_crt_parse_der_core( mbedtls_x509_crt *crt, const unsigned char *buf, in x509_crt_parse_der_core() 919 int mbedtls_x509_crt_parse_der( mbedtls_x509_crt *chain, const unsigned char *buf, in mbedtls_x509_crt_parse_der() 923 mbedtls_x509_crt *crt = chain, *prev = NULL; in mbedtls_x509_crt_parse_der() 942 crt->next = mbedtls_calloc( 1, sizeof( mbedtls_x509_crt ) ); in mbedtls_x509_crt_parse_der() 970 int mbedtls_x509_crt_parse( mbedtls_x509_crt *chain, const unsigned char *buf, size_t buflen ) in mbedtls_x509_crt_parse() 1085 int mbedtls_x509_crt_parse_file( mbedtls_x509_crt *chain, const char *path ) in mbedtls_x509_crt_parse_file() 1102 int mbedtls_x509_crt_parse_path( mbedtls_x509_crt *chain, const char *path ) in mbedtls_x509_crt_parse_path() 1357 const mbedtls_x509_crt *crt ) in mbedtls_x509_crt_info() 1546 int mbedtls_x509_crt_check_key_usage( const mbedtls_x509_crt *crt, in mbedtls_x509_crt_check_key_usage() [all …]
|
D | pkcs11.c | 49 int mbedtls_pkcs11_x509_cert_bind( mbedtls_x509_crt *cert, pkcs11h_certificate_t pkcs11_cert ) in mbedtls_pkcs11_x509_cert_bind() 102 mbedtls_x509_crt cert; in mbedtls_pkcs11_priv_key_bind()
|
D | ssl_cache.c | 106 sizeof(mbedtls_x509_crt) ) ) == NULL ) in mbedtls_ssl_cache_get()
|
D | x509.c | 1006 mbedtls_x509_crt cacert; in mbedtls_x509_self_test() 1007 mbedtls_x509_crt clicert; in mbedtls_x509_self_test()
|
D | ssl_ticket.c | 246 session->peer_cert = mbedtls_calloc( 1, sizeof( mbedtls_x509_crt ) ); in ssl_load_session()
|
/net-tools-3.4.0/mbedtls-2.4.0/programs/x509/ |
D | cert_app.c | 126 static int my_verify( void *data, mbedtls_x509_crt *crt, int depth, uint32_t *flags ) in my_verify() 155 mbedtls_x509_crt cacert; in main() 287 mbedtls_x509_crt crt; in main() 288 mbedtls_x509_crt *cur = &crt; in main()
|
/net-tools-3.4.0/mbedtls-2.4.0/programs/test/ |
D | ssl_cert_test.c | 84 mbedtls_x509_crt cacert; in main() 138 mbedtls_x509_crt clicert; in main()
|
/net-tools-3.4.0/mbedtls-2.4.0/programs/ssl/ |
D | ssl_pthread_server.c | 324 mbedtls_x509_crt srvcert; in main() 325 mbedtls_x509_crt cachain; in main()
|
D | mini_client.c | 177 mbedtls_x509_crt ca; in main()
|
D | ssl_server2.c | 488 mbedtls_x509_crt *cert; 490 mbedtls_x509_crt* ca; 553 if( ( new->cert = mbedtls_calloc( 1, sizeof( mbedtls_x509_crt ) ) ) == NULL || in sni_parse() 566 if( ( new->ca = mbedtls_calloc( 1, sizeof( mbedtls_x509_crt ) ) ) == NULL ) in sni_parse() 809 mbedtls_x509_crt cacert; in main() 810 mbedtls_x509_crt srvcert; in main() 812 mbedtls_x509_crt srvcert2; in main()
|
D | ssl_client1.c | 93 mbedtls_x509_crt cacert; in main()
|
D | dtls_client.c | 96 mbedtls_x509_crt cacert; in main()
|
D | ssl_server.c | 104 mbedtls_x509_crt srvcert; in main()
|
D | ssl_fork_server.c | 107 mbedtls_x509_crt srvcert; in main()
|
D | dtls_server.c | 106 mbedtls_x509_crt srvcert; in main()
|
D | ssl_mail_client.c | 362 mbedtls_x509_crt cacert; in main() 363 mbedtls_x509_crt clicert; in main()
|
/net-tools-3.4.0/ |
D | dtls-client.c | 347 mbedtls_x509_crt cacert; in main()
|
D | dtls-server.c | 117 mbedtls_x509_crt srvcert; in main()
|