Home
last modified time | relevance | path

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

12

/openthread-latest/third_party/mbedtls/repo/include/mbedtls/
Dx509_crt.h41 typedef struct mbedtls_x509_crt { struct
90 struct mbedtls_x509_crt *next; argument
92 mbedtls_x509_crt; typedef
251 mbedtls_x509_crt *MBEDTLS_PRIVATE(crt);
272 mbedtls_x509_crt *MBEDTLS_PRIVATE(trust_ca_cb_result);
286 mbedtls_x509_crt *MBEDTLS_PRIVATE(parent); /* non-null iff parent_in in progress */
287 mbedtls_x509_crt *MBEDTLS_PRIVATE(fallback_parent);
368 int mbedtls_x509_crt_parse_der(mbedtls_x509_crt *chain,
403 mbedtls_x509_crt const *crt,
453 int mbedtls_x509_crt_parse_der_with_ext_cb(mbedtls_x509_crt *chain,
[all …]
Dpkcs7.h127 mbedtls_x509_crt MBEDTLS_PRIVATE(certs);
196 const mbedtls_x509_crt *cert,
225 const mbedtls_x509_crt *cert,
Dssl.h1015 mbedtls_x509_crt *cert,
1081 mbedtls_x509_crt *cert,
1259 mbedtls_x509_crt *MBEDTLS_PRIVATE(peer_cert); /*!< peer X.509 cert chain */
1509 int(*MBEDTLS_PRIVATE(f_vrfy))(void *, mbedtls_x509_crt *, int, uint32_t *);
1547 mbedtls_x509_crt *MBEDTLS_PRIVATE(ca_chain); /*!< trusted CAs */
1677 const mbedtls_x509_crt *MBEDTLS_PRIVATE(dn_hints);/*!< acceptable client cert issuers */
1725 int(*MBEDTLS_PRIVATE(f_vrfy))(void *, mbedtls_x509_crt *, int, uint32_t *);
2157 int (*f_vrfy)(void *, mbedtls_x509_crt *, int, uint32_t *),
2476 int (*f_vrfy)(void *, mbedtls_x509_crt *, int, uint32_t *),
3476 mbedtls_x509_crt *ca_chain,
[all …]
/openthread-latest/third_party/mbedtls/repo/library/
Dx509_crt.c76 mbedtls_x509_crt *crt;
862 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()
1311 static int mbedtls_x509_crt_parse_der_internal(mbedtls_x509_crt *chain, in mbedtls_x509_crt_parse_der_internal()
1319 mbedtls_x509_crt *crt = chain, *prev = NULL; in mbedtls_x509_crt_parse_der_internal()
1337 crt->next = mbedtls_calloc(1, sizeof(mbedtls_x509_crt)); in mbedtls_x509_crt_parse_der_internal()
1364 int mbedtls_x509_crt_parse_der_nocopy(mbedtls_x509_crt *chain, in mbedtls_x509_crt_parse_der_nocopy()
1371 int mbedtls_x509_crt_parse_der_with_ext_cb(mbedtls_x509_crt *chain, in mbedtls_x509_crt_parse_der_with_ext_cb()
1381 int mbedtls_x509_crt_parse_der(mbedtls_x509_crt *chain, in mbedtls_x509_crt_parse_der()
1392 int mbedtls_x509_crt_parse(mbedtls_x509_crt *chain, in mbedtls_x509_crt_parse()
[all …]
Ddebug_internal.h136 const char *text, const mbedtls_x509_crt *crt);
Dpkcs7.c171 mbedtls_x509_crt *certs) in pkcs7_get_certificates()
643 const mbedtls_x509_crt *cert, in mbedtls_pkcs7_data_or_hash_verify()
723 const mbedtls_x509_crt *cert, in mbedtls_pkcs7_signed_data_verify()
734 const mbedtls_x509_crt *cert, in mbedtls_pkcs7_signed_hash_verify()
Dssl_misc.h713 mbedtls_x509_crt *ecrs_peer_cert; /*!< The peer's CRT chain. */
830 mbedtls_x509_crt *sni_ca_chain; /*!< trusted CAs from SNI callback */
1031 const mbedtls_x509_crt *dn_hints; /*!< acceptable client cert issuers */
1248 mbedtls_x509_crt *cert; /*!< cert */
1663 static inline mbedtls_x509_crt *mbedtls_ssl_own_cert(mbedtls_ssl_context *ssl) in mbedtls_ssl_own_cert()
1686 int mbedtls_ssl_check_cert_usage(const mbedtls_x509_crt *cert,
/openthread-latest/third_party/mbedtls/repo/tests/suites/
Dtest_suite_x509parse.function63 int verify_none(void *data, mbedtls_x509_crt *crt, int certificate_depth, uint32_t *flags)
73 int verify_all(void *data, mbedtls_x509_crt *crt, int certificate_depth, uint32_t *flags)
84 int ca_callback_fail(void *data, mbedtls_x509_crt const *child, mbedtls_x509_crt **candidates)
93 int ca_callback(void *data, mbedtls_x509_crt const *child,
94 mbedtls_x509_crt **candidates)
97 mbedtls_x509_crt *ca = (mbedtls_x509_crt *) data;
98 mbedtls_x509_crt *first;
110 first = mbedtls_calloc(1, sizeof(mbedtls_x509_crt));
144 int verify_fatal(void *data, mbedtls_x509_crt *crt, int certificate_depth, uint32_t *flags)
201 int verify_print(void *data, mbedtls_x509_crt *crt, int certificate_depth, uint32_t *flags)
[all …]
/openthread-latest/third_party/mbedtls/repo/programs/ssl/
Dssl_test_lib.c311 int ca_callback(void *data, mbedtls_x509_crt const *child, in ca_callback()
312 mbedtls_x509_crt **candidates) in ca_callback()
315 mbedtls_x509_crt *ca = (mbedtls_x509_crt *) data; in ca_callback()
316 mbedtls_x509_crt *first; in ca_callback()
328 first = mbedtls_calloc(1, sizeof(mbedtls_x509_crt)); in ca_callback()
Dssl_test_lib.h274 int ca_callback(void *data, mbedtls_x509_crt const *child,
275 mbedtls_x509_crt **candidates);
Dssl_pthread_server.c287 mbedtls_x509_crt srvcert; in main()
288 mbedtls_x509_crt cachain; in main()
Dmini_client.c148 mbedtls_x509_crt ca; in main()
Dssl_server2.c751 mbedtls_x509_crt *cert;
753 mbedtls_x509_crt *ca;
819 if ((new->cert = mbedtls_calloc(1, sizeof(mbedtls_x509_crt))) == NULL || in sni_parse()
833 if ((new->ca = mbedtls_calloc(1, sizeof(mbedtls_x509_crt))) == NULL) { in sni_parse()
1086 mbedtls_x509_crt *cert; /*!< Certificate corresponding to the key */
1109 mbedtls_x509_crt *cert, in ssl_async_set_key()
1153 mbedtls_x509_crt *cert, in ssl_async_start()
1221 mbedtls_x509_crt *cert, in ssl_async_sign()
1232 mbedtls_x509_crt *cert, in ssl_async_decrypt()
1540 mbedtls_x509_crt cacert; in main()
[all …]
Dssl_client1.c68 mbedtls_x509_crt cacert; in main()
/openthread-latest/third_party/mbedtls/repo/programs/x509/
Dcert_app.c99 static int my_verify(void *data, mbedtls_x509_crt *crt, int depth, uint32_t *flags) in my_verify()
128 mbedtls_x509_crt cacert; in main()
265 mbedtls_x509_crt crt; in main()
266 mbedtls_x509_crt *cur = &crt; in main()
Dload_roots.c53 mbedtls_x509_crt cas; in read_certificates()
/openthread-latest/third_party/mbedtls/repo/programs/fuzz/
Dfuzz_x509crt.c8 mbedtls_x509_crt crt; in LLVMFuzzerTestOneInput()
Dfuzz_dtlsclient.c18 static mbedtls_x509_crt cacert;
Dfuzz_client.c16 static mbedtls_x509_crt cacert;
Dfuzz_dtlsserver.c23 static mbedtls_x509_crt srvcert;
Dfuzz_server.c18 static mbedtls_x509_crt srvcert;
/openthread-latest/src/core/meshcop/
Dsecure_transport.hpp544 mbedtls_x509_crt mCaChain;
545 mbedtls_x509_crt mOwnCert;
564 Error GetThreadAttributeFromCertificate(const mbedtls_x509_crt *aCert,
Dsecure_transport.cpp1244 mbedtls_x509_crt *peerCert; in GetPeerSubjectAttributeByOid()
1249 peerCert = const_cast<mbedtls_x509_crt *>(mbedtls_ssl_get_peer_cert(&session->mSsl)); in GetPeerSubjectAttributeByOid()
1282 const mbedtls_x509_crt *cert; in GetThreadAttributeFromPeerCertificate()
1298 const mbedtls_x509_crt *cert = &mEcdheEcdsaInfo.mOwnCert; in GetThreadAttributeFromOwnCertificate()
1303 Error SecureTransport::Extension::GetThreadAttributeFromCertificate(const mbedtls_x509_crt *aCert, in GetThreadAttributeFromCertificate()
/openthread-latest/third_party/mbedtls/repo/tests/include/test/
Dssl_helpers.h188 mbedtls_x509_crt *ca_cert;
189 mbedtls_x509_crt *cert;
/openthread-latest/src/cli/
Dcli_tcp.hpp160 mbedtls_x509_crt mSrvCert;

12