Home
last modified time | relevance | path

Searched refs:mbedtls_x509_crt (Results 1 – 25 of 32) sorted by relevance

12

/net-tools-3.6.0/mbedtls-2.4.0/include/mbedtls/
Dx509_crt.h52 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 …]
Dssl.h556 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 );
Dssl_internal.h196 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,
Dpkcs11.h71 int mbedtls_pkcs11_x509_cert_bind( mbedtls_x509_crt *cert, pkcs11h_certificate_t pkcs11h_cert );
Ddebug.h220 const char *text, const mbedtls_x509_crt *crt );
/net-tools-3.6.0/mbedtls-2.4.0/tests/suites/
Dtest_suite_x509parse.function23 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 …]
Dtest_suite_debug.function141 mbedtls_x509_crt crt;
/net-tools-3.6.0/mbedtls-2.4.0/library/
Dx509_crt.c522 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 …]
Dpkcs11.c49 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()
Dssl_cache.c106 sizeof(mbedtls_x509_crt) ) ) == NULL ) in mbedtls_ssl_cache_get()
Dx509.c1006 mbedtls_x509_crt cacert; in mbedtls_x509_self_test()
1007 mbedtls_x509_crt clicert; in mbedtls_x509_self_test()
Dssl_ticket.c246 session->peer_cert = mbedtls_calloc( 1, sizeof( mbedtls_x509_crt ) ); in ssl_load_session()
/net-tools-3.6.0/mbedtls-2.4.0/programs/x509/
Dcert_app.c126 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.6.0/mbedtls-2.4.0/programs/test/
Dssl_cert_test.c84 mbedtls_x509_crt cacert; in main()
138 mbedtls_x509_crt clicert; in main()
/net-tools-3.6.0/mbedtls-2.4.0/programs/ssl/
Dssl_pthread_server.c324 mbedtls_x509_crt srvcert; in main()
325 mbedtls_x509_crt cachain; in main()
Dmini_client.c177 mbedtls_x509_crt ca; in main()
Dssl_server2.c488 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()
Dssl_client1.c93 mbedtls_x509_crt cacert; in main()
Ddtls_client.c96 mbedtls_x509_crt cacert; in main()
Dssl_server.c104 mbedtls_x509_crt srvcert; in main()
Dssl_fork_server.c107 mbedtls_x509_crt srvcert; in main()
Ddtls_server.c106 mbedtls_x509_crt srvcert; in main()
Dssl_mail_client.c362 mbedtls_x509_crt cacert; in main()
363 mbedtls_x509_crt clicert; in main()
/net-tools-3.6.0/
Ddtls-client.c347 mbedtls_x509_crt cacert; in main()
Ddtls-server.c117 mbedtls_x509_crt srvcert; in main()

12