Home
last modified time | relevance | path

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

12

/openthread-2.7.6/third_party/mbedtls/repo/include/mbedtls/
Dx509_crt.h52 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 …]
Dssl.h707 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 …]
Dssl_internal.h480 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,
Dpkcs11.h85 MBEDTLS_DEPRECATED int mbedtls_pkcs11_x509_cert_bind( mbedtls_x509_crt *cert,
Ddebug.h225 const char *text, const mbedtls_x509_crt *crt );
/openthread-2.7.6/third_party/mbedtls/repo/library/
Dx509_crt.c85 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 …]
Dpkcs11.c47 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()
Dssl_tls.c197 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/
Dtest_suite_x509parse.function60 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/
Dcert_app.c128 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/
Dfuzz_x509crt.c7 mbedtls_x509_crt crt; in LLVMFuzzerTestOneInput()
Dfuzz_dtlsclient.c19 static mbedtls_x509_crt cacert;
Dfuzz_client.c16 static mbedtls_x509_crt cacert;
Dfuzz_dtlsserver.c22 static mbedtls_x509_crt srvcert;
Dfuzz_server.c18 static mbedtls_x509_crt srvcert;
/openthread-2.7.6/src/core/meshcop/
Ddtls.hpp432 mbedtls_x509_crt mCaChain;
433 mbedtls_x509_crt mOwnCert;
/openthread-2.7.6/third_party/mbedtls/repo/programs/ssl/
Dssl_server2.c866 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 …]
Dssl_pthread_server.c327 mbedtls_x509_crt srvcert; in main()
328 mbedtls_x509_crt cachain; in main()
Dmini_client.c174 mbedtls_x509_crt ca; in main()
Dssl_client1.c96 mbedtls_x509_crt cacert; in main()
Dssl_client2.c766 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()
Ddtls_client.c108 mbedtls_x509_crt cacert; in main()
Dssl_server.c106 mbedtls_x509_crt srvcert; in main()
Ddtls_server.c118 mbedtls_x509_crt srvcert; in main()
Dssl_fork_server.c111 mbedtls_x509_crt srvcert; in main()

12