Home
last modified time | relevance | path

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

123

/third_party/mbedtls/include/mbedtls/
Dx509_crt.h54 typedef struct mbedtls_x509_crt { struct
101 struct mbedtls_x509_crt *next; argument
103 mbedtls_x509_crt; typedef
247 mbedtls_x509_crt *MBEDTLS_PRIVATE(crt);
268 mbedtls_x509_crt *MBEDTLS_PRIVATE(trust_ca_cb_result);
282 mbedtls_x509_crt *MBEDTLS_PRIVATE(parent); /* non-null iff parent_in in progress */
283 mbedtls_x509_crt *MBEDTLS_PRIVATE(fallback_parent);
364 int mbedtls_x509_crt_parse_der(mbedtls_x509_crt *chain,
399 mbedtls_x509_crt const *crt,
449 int mbedtls_x509_crt_parse_der_with_ext_cb(mbedtls_x509_crt *chain,
[all …]
Dpkcs7.h140 mbedtls_x509_crt MBEDTLS_PRIVATE(certs);
209 const mbedtls_x509_crt *cert,
238 const mbedtls_x509_crt *cert,
Dssl.h967 mbedtls_x509_crt *cert,
1033 mbedtls_x509_crt *cert,
1205 mbedtls_x509_crt *MBEDTLS_PRIVATE(peer_cert); /*!< peer X.509 cert chain */
1426 int(*MBEDTLS_PRIVATE(f_vrfy))(void *, mbedtls_x509_crt *, int, uint32_t *);
1464 mbedtls_x509_crt *MBEDTLS_PRIVATE(ca_chain); /*!< trusted CAs */
1594 const mbedtls_x509_crt *MBEDTLS_PRIVATE(dn_hints);/*!< acceptable client cert issuers */
1632 int(*MBEDTLS_PRIVATE(f_vrfy))(void *, mbedtls_x509_crt *, int, uint32_t *);
2034 int (*f_vrfy)(void *, mbedtls_x509_crt *, int, uint32_t *),
2353 int (*f_vrfy)(void *, mbedtls_x509_crt *, int, uint32_t *),
3288 mbedtls_x509_crt *ca_chain,
[all …]
/third_party/mbedtls/library/
Dx509_crt.c85 mbedtls_x509_crt *crt;
763 mbedtls_x509_crt *crt, in x509_get_crt_ext()
955 static int x509_crt_parse_der_core(mbedtls_x509_crt *crt, in x509_crt_parse_der_core()
1195 static int mbedtls_x509_crt_parse_der_internal(mbedtls_x509_crt *chain, in mbedtls_x509_crt_parse_der_internal()
1203 mbedtls_x509_crt *crt = chain, *prev = NULL; in mbedtls_x509_crt_parse_der_internal()
1221 crt->next = mbedtls_calloc(1, sizeof(mbedtls_x509_crt)); in mbedtls_x509_crt_parse_der_internal()
1248 int mbedtls_x509_crt_parse_der_nocopy(mbedtls_x509_crt *chain, in mbedtls_x509_crt_parse_der_nocopy()
1255 int mbedtls_x509_crt_parse_der_with_ext_cb(mbedtls_x509_crt *chain, in mbedtls_x509_crt_parse_der_with_ext_cb()
1265 int mbedtls_x509_crt_parse_der(mbedtls_x509_crt *chain, in mbedtls_x509_crt_parse_der()
1276 int mbedtls_x509_crt_parse(mbedtls_x509_crt *chain, in mbedtls_x509_crt_parse()
[all …]
Dpkcs7.c183 mbedtls_x509_crt *certs) in pkcs7_get_certificates()
655 const mbedtls_x509_crt *cert, in mbedtls_pkcs7_data_or_hash_verify()
735 const mbedtls_x509_crt *cert, in mbedtls_pkcs7_signed_data_verify()
746 const mbedtls_x509_crt *cert, in mbedtls_pkcs7_signed_hash_verify()
Dssl_misc.h706 mbedtls_x509_crt *ecrs_peer_cert; /*!< The peer's CRT chain. */
813 mbedtls_x509_crt *sni_ca_chain; /*!< trusted CAs from SNI callback */
1014 const mbedtls_x509_crt *dn_hints; /*!< acceptable client cert issuers */
1231 mbedtls_x509_crt *cert; /*!< cert */
1650 static inline mbedtls_x509_crt *mbedtls_ssl_own_cert(mbedtls_ssl_context *ssl) in mbedtls_ssl_own_cert()
1673 int mbedtls_ssl_check_cert_usage(const mbedtls_x509_crt *cert,
/third_party/mbedtls/tests/suites/
Dtest_suite_x509parse.function64 int verify_none(void *data, mbedtls_x509_crt *crt, int certificate_depth, uint32_t *flags)
74 int verify_all(void *data, mbedtls_x509_crt *crt, int certificate_depth, uint32_t *flags)
85 int ca_callback_fail(void *data, mbedtls_x509_crt const *child, mbedtls_x509_crt **candidates)
94 int ca_callback(void *data, mbedtls_x509_crt const *child,
95 mbedtls_x509_crt **candidates)
98 mbedtls_x509_crt *ca = (mbedtls_x509_crt *) data;
99 mbedtls_x509_crt *first;
111 first = mbedtls_calloc(1, sizeof(mbedtls_x509_crt));
145 int verify_fatal(void *data, mbedtls_x509_crt *crt, int certificate_depth, uint32_t *flags)
202 int verify_print(void *data, mbedtls_x509_crt *crt, int certificate_depth, uint32_t *flags)
[all …]
/third_party/libwebsockets/lib/tls/mbedtls/
Dprivate-lib-tls-mbedtls.h31 mbedtls_x509_crt cert; /* has a .next for linked-list / chain */
54 lws_tls_mbedtls_cert_info(mbedtls_x509_crt *x509, enum lws_tls_cert_info type,
58 lws_x509_get_crt_ext(mbedtls_x509_crt *crt, mbedtls_x509_buf *skid,
Dmbedtls-x509.c98 lws_tls_mbedtls_cert_info(mbedtls_x509_crt *x509, enum lws_tls_cert_info type, in lws_tls_mbedtls_cert_info()
281 mbedtls_x509_crt *x509; in lws_tls_vhost_cert_info()
292 mbedtls_x509_crt *x509; in lws_tls_peer_cert_info()
/third_party/mbedtls/programs/ssl/
Dssl_test_lib.c291 int ca_callback(void *data, mbedtls_x509_crt const *child, in ca_callback()
292 mbedtls_x509_crt **candidates) in ca_callback()
295 mbedtls_x509_crt *ca = (mbedtls_x509_crt *) data; in ca_callback()
296 mbedtls_x509_crt *first; in ca_callback()
308 first = mbedtls_calloc(1, sizeof(mbedtls_x509_crt)); in ca_callback()
Dssl_test_lib.h256 int ca_callback(void *data, mbedtls_x509_crt const *child,
257 mbedtls_x509_crt **candidates);
Dssl_pthread_server.c299 mbedtls_x509_crt srvcert; in main()
300 mbedtls_x509_crt cachain; in main()
Dssl_server2.c753 mbedtls_x509_crt *cert;
755 mbedtls_x509_crt *ca;
821 if ((new->cert = mbedtls_calloc(1, sizeof(mbedtls_x509_crt))) == NULL || in sni_parse()
835 if ((new->ca = mbedtls_calloc(1, sizeof(mbedtls_x509_crt))) == NULL) { in sni_parse()
1088 mbedtls_x509_crt *cert; /*!< Certificate corresponding to the key */
1111 mbedtls_x509_crt *cert, in ssl_async_set_key()
1155 mbedtls_x509_crt *cert, in ssl_async_start()
1223 mbedtls_x509_crt *cert, in ssl_async_sign()
1234 mbedtls_x509_crt *cert, in ssl_async_decrypt()
1499 mbedtls_x509_crt cacert; in main()
[all …]
/third_party/libwebsockets/lib/tls/mbedtls/wrapper/platform/
Dssl_pm.c56 mbedtls_x509_crt *x509_crt;
58 mbedtls_x509_crt *ex_crt;
103 lws_mbedtls_f_vrfy(void *opaque, mbedtls_x509_crt *x509, int state, uint32_t *pflags) in lws_mbedtls_f_vrfy()
347 x509_pm->ex_crt = (mbedtls_x509_crt *)mbedtls_ssl_get_peer_cert(&ssl_pm->ssl); in ssl_pm_handshake()
367 mbedtls_x509_crt *
378 mbedtls_x509_crt *
575 mbedtls_x509_crt *x509_crt; in x509_pm_show_info()
663 x509_pm->x509_crt = ssl_mem_malloc(sizeof(mbedtls_x509_crt)); in x509_pm_load()
/third_party/libwebsockets/lib/tls/mbedtls/wrapper/include/openssl/
Dssl.h38 mbedtls_x509_crt *
41 mbedtls_x509_crt *
711 void SSL_CTX_set_verify(SSL_CTX *ctx, int mode, int (*verify_callback)(SSL *, mbedtls_x509_crt *));
722 void SSL_set_verify(SSL *s, int mode, int (*verify_callback)(SSL *, mbedtls_x509_crt *));
742 int verify_callback(SSL *, mbedtls_x509_crt *);
/third_party/mbedtls/programs/x509/
Dcert_app.c111 static int my_verify(void *data, mbedtls_x509_crt *crt, int depth, uint32_t *flags) in my_verify()
140 mbedtls_x509_crt cacert; in main()
267 mbedtls_x509_crt crt; in main()
268 mbedtls_x509_crt *cur = &crt; in main()
Dload_roots.c92 mbedtls_x509_crt cas; in read_certificates()
/third_party/libwebsockets/lib/tls/mbedtls/wrapper/include/internal/
Dssl_types.h190 int (*default_verify_callback) (SSL *, mbedtls_x509_crt *);
232 int (*verify_callback) (SSL *, mbedtls_x509_crt *);
/third_party/lwip/src/apps/altcp_tls/
Daltcp_tls_mbedtls.c99 mbedtls_x509_crt *cert;
105 mbedtls_x509_crt *ca;
676 mbedtls_x509_crt *mem; in altcp_tls_create_config()
687 sz += (cert_count * sizeof(mbedtls_x509_crt)); in altcp_tls_create_config()
690 sz += sizeof(mbedtls_x509_crt); in altcp_tls_create_config()
701 mem = (mbedtls_x509_crt *)(conf + 1); in altcp_tls_create_config()
805 mbedtls_x509_crt *srvcert; in altcp_tls_config_server_add_privkey_cert()
/third_party/mbedtls/programs/fuzz/
Dfuzz_x509crt.c10 mbedtls_x509_crt crt; in LLVMFuzzerTestOneInput()
Dfuzz_dtlsclient.c20 static mbedtls_x509_crt cacert;
/third_party/mbedtls/port/include/
Dtls_client.h44 mbedtls_x509_crt cacert;
/third_party/mbedtls/tests/include/test/
Dssl_helpers.h159 mbedtls_x509_crt *ca_cert;
160 mbedtls_x509_crt *cert;
/third_party/libwebsockets/lib/tls/mbedtls/wrapper/library/
Dssl_lib.c229 mbedtls_x509_crt **px = (mbedtls_x509_crt **)ctx->client_CA->x509_pm; in SSL_CTX_new()
1083 void SSL_CTX_set_verify(SSL_CTX *ctx, int mode, int (*verify_callback)(SSL *, mbedtls_x509_crt *)) in SSL_CTX_set_verify() argument
1094 void SSL_set_verify(SSL *ssl, int mode, int (*verify_callback)(SSL *, mbedtls_x509_crt *)) in SSL_set_verify() argument
/third_party/ffmpeg/libavformat/
Dtls_mbedtls.c44 mbedtls_x509_crt ca_cert;
45 mbedtls_x509_crt own_cert;

123