Home
last modified time | relevance | path

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

1234

/aosp_15_r20/external/openthread/third_party/mbedtls/repo/include/mbedtls/
H A 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 …]
H A 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 …]
H A Dpkcs7.h127 mbedtls_x509_crt MBEDTLS_PRIVATE(certs);
196 const mbedtls_x509_crt *cert,
225 const mbedtls_x509_crt *cert,
/aosp_15_r20/external/mbedtls/include/mbedtls/
H A 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 …]
H A Dssl.h971 mbedtls_x509_crt *cert,
1037 mbedtls_x509_crt *cert,
1209 mbedtls_x509_crt *MBEDTLS_PRIVATE(peer_cert); /*!< peer X.509 cert chain */
1430 int(*MBEDTLS_PRIVATE(f_vrfy))(void *, mbedtls_x509_crt *, int, uint32_t *);
1468 mbedtls_x509_crt *MBEDTLS_PRIVATE(ca_chain); /*!< trusted CAs */
1598 const mbedtls_x509_crt *MBEDTLS_PRIVATE(dn_hints);/*!< acceptable client cert issuers */
1638 int(*MBEDTLS_PRIVATE(f_vrfy))(void *, mbedtls_x509_crt *, int, uint32_t *);
2053 int (*f_vrfy)(void *, mbedtls_x509_crt *, int, uint32_t *),
2372 int (*f_vrfy)(void *, mbedtls_x509_crt *, int, uint32_t *),
3307 mbedtls_x509_crt *ca_chain,
[all …]
H A Dpkcs7.h128 mbedtls_x509_crt MBEDTLS_PRIVATE(certs);
197 const mbedtls_x509_crt *cert,
226 const mbedtls_x509_crt *cert,
/aosp_15_r20/external/openthread/third_party/mbedtls/repo/library/
H A 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 …]
H A 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()
H A 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,
/aosp_15_r20/external/mbedtls/library/
H A Dx509_crt.c75 mbedtls_x509_crt *crt;
861 mbedtls_x509_crt *crt, in x509_get_crt_ext()
1070 static int x509_crt_parse_der_core(mbedtls_x509_crt *crt, in x509_crt_parse_der_core()
1310 static int mbedtls_x509_crt_parse_der_internal(mbedtls_x509_crt *chain, in mbedtls_x509_crt_parse_der_internal()
1318 mbedtls_x509_crt *crt = chain, *prev = NULL; in mbedtls_x509_crt_parse_der_internal()
1336 crt->next = mbedtls_calloc(1, sizeof(mbedtls_x509_crt)); in mbedtls_x509_crt_parse_der_internal()
1363 int mbedtls_x509_crt_parse_der_nocopy(mbedtls_x509_crt *chain, in mbedtls_x509_crt_parse_der_nocopy()
1370 int mbedtls_x509_crt_parse_der_with_ext_cb(mbedtls_x509_crt *chain, in mbedtls_x509_crt_parse_der_with_ext_cb()
1380 int mbedtls_x509_crt_parse_der(mbedtls_x509_crt *chain, in mbedtls_x509_crt_parse_der()
1391 int mbedtls_x509_crt_parse(mbedtls_x509_crt *chain, in mbedtls_x509_crt_parse()
[all …]
H A 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()
/aosp_15_r20/external/openthread/third_party/mbedtls/repo/tests/suites/
H A 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 …]
/aosp_15_r20/external/mbedtls/tests/suites/
H A Dtest_suite_x509parse.function62 int verify_none(void *data, mbedtls_x509_crt *crt, int certificate_depth, uint32_t *flags)
72 int verify_all(void *data, mbedtls_x509_crt *crt, int certificate_depth, uint32_t *flags)
83 int ca_callback_fail(void *data, mbedtls_x509_crt const *child, mbedtls_x509_crt **candidates)
92 int ca_callback(void *data, mbedtls_x509_crt const *child,
93 mbedtls_x509_crt **candidates)
96 mbedtls_x509_crt *ca = (mbedtls_x509_crt *) data;
97 mbedtls_x509_crt *first;
109 first = mbedtls_calloc(1, sizeof(mbedtls_x509_crt));
143 int verify_fatal(void *data, mbedtls_x509_crt *crt, int certificate_depth, uint32_t *flags)
200 int verify_print(void *data, mbedtls_x509_crt *crt, int certificate_depth, uint32_t *flags)
[all …]
/aosp_15_r20/external/mbedtls/programs/ssl/
H A Dssl_test_lib.c281 int ca_callback(void *data, mbedtls_x509_crt const *child, in ca_callback()
282 mbedtls_x509_crt **candidates) in ca_callback()
285 mbedtls_x509_crt *ca = (mbedtls_x509_crt *) data; in ca_callback()
286 mbedtls_x509_crt *first; in ca_callback()
298 first = mbedtls_calloc(1, sizeof(mbedtls_x509_crt)); in ca_callback()
H A Dssl_test_lib.h249 int ca_callback(void *data, mbedtls_x509_crt const *child,
250 mbedtls_x509_crt **candidates);
H A Dssl_server2.c743 mbedtls_x509_crt *cert;
745 mbedtls_x509_crt *ca;
811 if ((new->cert = mbedtls_calloc(1, sizeof(mbedtls_x509_crt))) == NULL || in sni_parse()
825 if ((new->ca = mbedtls_calloc(1, sizeof(mbedtls_x509_crt))) == NULL) { in sni_parse()
1078 mbedtls_x509_crt *cert; /*!< Certificate corresponding to the key */
1101 mbedtls_x509_crt *cert, in ssl_async_set_key()
1145 mbedtls_x509_crt *cert, in ssl_async_start()
1213 mbedtls_x509_crt *cert, in ssl_async_sign()
1224 mbedtls_x509_crt *cert, in ssl_async_decrypt()
1489 mbedtls_x509_crt cacert; in main()
[all …]
/aosp_15_r20/external/openthread/third_party/mbedtls/repo/programs/ssl/
H A 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()
H A Dssl_test_lib.h274 int ca_callback(void *data, mbedtls_x509_crt const *child,
275 mbedtls_x509_crt **candidates);
/aosp_15_r20/external/libwebsockets/lib/tls/mbedtls/wrapper/platform/
H A 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()
/aosp_15_r20/external/libwebsockets/lib/tls/mbedtls/
H A 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,
/aosp_15_r20/external/libwebsockets/lib/tls/mbedtls/wrapper/include/openssl/
H A 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 *);
/aosp_15_r20/external/mbedtls/programs/x509/
H A 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()
/aosp_15_r20/external/openthread/third_party/mbedtls/repo/programs/x509/
H A 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()
/aosp_15_r20/external/curl/lib/vtls/
H A Dmbedtls.c92 mbedtls_x509_crt cacert;
93 mbedtls_x509_crt clicert;
485 mbed_dump_cert_info(struct Curl_easy *data, const mbedtls_x509_crt *crt) in mbed_dump_cert_info()
510 mbed_extract_certinfo(struct Curl_easy *data, const mbedtls_x509_crt *crt) in mbed_extract_certinfo()
513 const mbedtls_x509_crt *cur; in mbed_extract_certinfo()
526 static int mbed_verify_cb(void *ptr, mbedtls_x509_crt *crt, in mbed_verify_cb()
1043 const mbedtls_x509_crt *peercert;
1044 mbedtls_x509_crt *p = NULL;
/aosp_15_r20/external/openthread/src/core/meshcop/
H A Dsecure_transport.hpp535 Error GetThreadAttributeFromCertificate(const mbedtls_x509_crt *aCert,
634 mbedtls_x509_crt mCaChain;
635 mbedtls_x509_crt mOwnCert;

1234