Lines Matching refs:mbedtls_x509_crt

78     mbedtls_x509_crt *crt;
864 mbedtls_x509_crt *crt, in x509_get_crt_ext()
1073 static int x509_crt_parse_der_core(mbedtls_x509_crt *crt, in x509_crt_parse_der_core()
1313 static int mbedtls_x509_crt_parse_der_internal(mbedtls_x509_crt *chain, in mbedtls_x509_crt_parse_der_internal()
1321 mbedtls_x509_crt *crt = chain, *prev = NULL; in mbedtls_x509_crt_parse_der_internal()
1339 crt->next = mbedtls_calloc(1, sizeof(mbedtls_x509_crt)); in mbedtls_x509_crt_parse_der_internal()
1366 int mbedtls_x509_crt_parse_der_nocopy(mbedtls_x509_crt *chain, in mbedtls_x509_crt_parse_der_nocopy()
1373 int mbedtls_x509_crt_parse_der_with_ext_cb(mbedtls_x509_crt *chain, in mbedtls_x509_crt_parse_der_with_ext_cb()
1383 int mbedtls_x509_crt_parse_der(mbedtls_x509_crt *chain, in mbedtls_x509_crt_parse_der()
1394 int mbedtls_x509_crt_parse(mbedtls_x509_crt *chain, in mbedtls_x509_crt_parse()
1508 int mbedtls_x509_crt_parse_file(mbedtls_x509_crt *chain, const char *path) in mbedtls_x509_crt_parse_file()
1525 int mbedtls_x509_crt_parse_path(mbedtls_x509_crt *chain, const char *path) in mbedtls_x509_crt_parse_path()
1752 const mbedtls_x509_crt *crt) in mbedtls_x509_crt_info()
1930 int mbedtls_x509_crt_check_key_usage(const mbedtls_x509_crt *crt, in mbedtls_x509_crt_check_key_usage()
1956 int mbedtls_x509_crt_check_extended_key_usage(const mbedtls_x509_crt *crt, in mbedtls_x509_crt_check_extended_key_usage()
1990 int mbedtls_x509_crt_is_revoked(const mbedtls_x509_crt *crt, const mbedtls_x509_crl *crl) in mbedtls_x509_crt_is_revoked()
2010 static int x509_crt_verifycrl(mbedtls_x509_crt *crt, mbedtls_x509_crt *ca, in x509_crt_verifycrl()
2124 static int x509_crt_check_signature(const mbedtls_x509_crt *child, in x509_crt_check_signature()
2125 mbedtls_x509_crt *parent, in x509_crt_check_signature()
2180 static int x509_crt_check_parent(const mbedtls_x509_crt *child, in x509_crt_check_parent()
2181 const mbedtls_x509_crt *parent, in x509_crt_check_parent()
2255 mbedtls_x509_crt *child, in x509_crt_find_parent_in()
2256 mbedtls_x509_crt *candidates, in x509_crt_find_parent_in()
2257 mbedtls_x509_crt **r_parent, in x509_crt_find_parent_in()
2266 mbedtls_x509_crt *parent, *fallback_parent; in x509_crt_find_parent_in()
2378 mbedtls_x509_crt *child, in x509_crt_find_parent()
2379 mbedtls_x509_crt *trust_ca, in x509_crt_find_parent()
2380 mbedtls_x509_crt **parent, in x509_crt_find_parent()
2389 mbedtls_x509_crt *search_list; in x509_crt_find_parent()
2444 mbedtls_x509_crt *crt, in x509_crt_check_ee_locally_trusted()
2445 mbedtls_x509_crt *trust_ca) in x509_crt_check_ee_locally_trusted()
2447 mbedtls_x509_crt *cur; in x509_crt_check_ee_locally_trusted()
2507 mbedtls_x509_crt *crt, in x509_crt_verify_chain()
2508 mbedtls_x509_crt *trust_ca, in x509_crt_verify_chain()
2521 mbedtls_x509_crt *child; in x509_crt_verify_chain()
2522 mbedtls_x509_crt *parent; in x509_crt_verify_chain()
2527 mbedtls_x509_crt *cur_trust_ca = NULL; in x509_crt_verify_chain()
2984 static void x509_crt_verify_name(const mbedtls_x509_crt *crt, in x509_crt_verify_name()
3014 int (*f_vrfy)(void *, mbedtls_x509_crt *, int, uint32_t *), in x509_crt_merge_flags_with_cb() argument
3055 static int x509_crt_verify_restartable_ca_cb(mbedtls_x509_crt *crt, in x509_crt_verify_restartable_ca_cb() argument
3056 mbedtls_x509_crt *trust_ca, in x509_crt_verify_restartable_ca_cb()
3063 mbedtls_x509_crt *, in x509_crt_verify_restartable_ca_cb()
3151 int mbedtls_x509_crt_verify(mbedtls_x509_crt *crt, in mbedtls_x509_crt_verify() argument
3152 mbedtls_x509_crt *trust_ca, in mbedtls_x509_crt_verify()
3155 int (*f_vrfy)(void *, mbedtls_x509_crt *, int, uint32_t *), in mbedtls_x509_crt_verify()
3168 int mbedtls_x509_crt_verify_with_profile(mbedtls_x509_crt *crt, in mbedtls_x509_crt_verify_with_profile() argument
3169 mbedtls_x509_crt *trust_ca, in mbedtls_x509_crt_verify_with_profile()
3173 int (*f_vrfy)(void *, mbedtls_x509_crt *, int, uint32_t *), in mbedtls_x509_crt_verify_with_profile()
3187 int mbedtls_x509_crt_verify_with_ca_cb(mbedtls_x509_crt *crt, in mbedtls_x509_crt_verify_with_ca_cb() argument
3192 int (*f_vrfy)(void *, mbedtls_x509_crt *, int, uint32_t *), in mbedtls_x509_crt_verify_with_ca_cb()
3202 int mbedtls_x509_crt_verify_restartable(mbedtls_x509_crt *crt, in mbedtls_x509_crt_verify_restartable() argument
3203 mbedtls_x509_crt *trust_ca, in mbedtls_x509_crt_verify_restartable()
3207 int (*f_vrfy)(void *, mbedtls_x509_crt *, int, uint32_t *), in mbedtls_x509_crt_verify_restartable()
3221 void mbedtls_x509_crt_init(mbedtls_x509_crt *crt) in mbedtls_x509_crt_init()
3223 memset(crt, 0, sizeof(mbedtls_x509_crt)); in mbedtls_x509_crt_init()
3229 void mbedtls_x509_crt_free(mbedtls_x509_crt *crt) in mbedtls_x509_crt_free()
3231 mbedtls_x509_crt *cert_cur = crt; in mbedtls_x509_crt_free()
3232 mbedtls_x509_crt *cert_prv; in mbedtls_x509_crt_free()
3255 mbedtls_platform_zeroize(cert_prv, sizeof(mbedtls_x509_crt)); in mbedtls_x509_crt_free()
3295 int mbedtls_x509_crt_get_ca_istrue(const mbedtls_x509_crt *crt) in mbedtls_x509_crt_get_ca_istrue()