Lines Matching refs:mbedtls_x509_crt
76 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()
1506 int mbedtls_x509_crt_parse_file(mbedtls_x509_crt *chain, const char *path) in mbedtls_x509_crt_parse_file()
1523 int mbedtls_x509_crt_parse_path(mbedtls_x509_crt *chain, const char *path) in mbedtls_x509_crt_parse_path()
1750 const mbedtls_x509_crt *crt) in mbedtls_x509_crt_info()
1928 int mbedtls_x509_crt_check_key_usage(const mbedtls_x509_crt *crt, in mbedtls_x509_crt_check_key_usage()
1954 int mbedtls_x509_crt_check_extended_key_usage(const mbedtls_x509_crt *crt, in mbedtls_x509_crt_check_extended_key_usage()
1988 int mbedtls_x509_crt_is_revoked(const mbedtls_x509_crt *crt, const mbedtls_x509_crl *crl) in mbedtls_x509_crt_is_revoked()
2008 static int x509_crt_verifycrl(mbedtls_x509_crt *crt, mbedtls_x509_crt *ca, in x509_crt_verifycrl()
2122 static int x509_crt_check_signature(const mbedtls_x509_crt *child, in x509_crt_check_signature()
2123 mbedtls_x509_crt *parent, in x509_crt_check_signature()
2178 static int x509_crt_check_parent(const mbedtls_x509_crt *child, in x509_crt_check_parent()
2179 const mbedtls_x509_crt *parent, in x509_crt_check_parent()
2253 mbedtls_x509_crt *child, in x509_crt_find_parent_in()
2254 mbedtls_x509_crt *candidates, in x509_crt_find_parent_in()
2255 mbedtls_x509_crt **r_parent, in x509_crt_find_parent_in()
2264 mbedtls_x509_crt *parent, *fallback_parent; in x509_crt_find_parent_in()
2376 mbedtls_x509_crt *child, in x509_crt_find_parent()
2377 mbedtls_x509_crt *trust_ca, in x509_crt_find_parent()
2378 mbedtls_x509_crt **parent, in x509_crt_find_parent()
2387 mbedtls_x509_crt *search_list; in x509_crt_find_parent()
2442 mbedtls_x509_crt *crt, in x509_crt_check_ee_locally_trusted()
2443 mbedtls_x509_crt *trust_ca) in x509_crt_check_ee_locally_trusted()
2445 mbedtls_x509_crt *cur; in x509_crt_check_ee_locally_trusted()
2505 mbedtls_x509_crt *crt, in x509_crt_verify_chain()
2506 mbedtls_x509_crt *trust_ca, in x509_crt_verify_chain()
2519 mbedtls_x509_crt *child; in x509_crt_verify_chain()
2520 mbedtls_x509_crt *parent; in x509_crt_verify_chain()
2525 mbedtls_x509_crt *cur_trust_ca = NULL; in x509_crt_verify_chain()
2982 static void x509_crt_verify_name(const mbedtls_x509_crt *crt, in x509_crt_verify_name()
3012 int (*f_vrfy)(void *, mbedtls_x509_crt *, int, uint32_t *), in x509_crt_merge_flags_with_cb() argument
3053 static int x509_crt_verify_restartable_ca_cb(mbedtls_x509_crt *crt, in x509_crt_verify_restartable_ca_cb() argument
3054 mbedtls_x509_crt *trust_ca, in x509_crt_verify_restartable_ca_cb()
3061 mbedtls_x509_crt *, in x509_crt_verify_restartable_ca_cb()
3149 int mbedtls_x509_crt_verify(mbedtls_x509_crt *crt, in mbedtls_x509_crt_verify() argument
3150 mbedtls_x509_crt *trust_ca, in mbedtls_x509_crt_verify()
3153 int (*f_vrfy)(void *, mbedtls_x509_crt *, int, uint32_t *), in mbedtls_x509_crt_verify()
3166 int mbedtls_x509_crt_verify_with_profile(mbedtls_x509_crt *crt, in mbedtls_x509_crt_verify_with_profile() argument
3167 mbedtls_x509_crt *trust_ca, in mbedtls_x509_crt_verify_with_profile()
3171 int (*f_vrfy)(void *, mbedtls_x509_crt *, int, uint32_t *), in mbedtls_x509_crt_verify_with_profile()
3185 int mbedtls_x509_crt_verify_with_ca_cb(mbedtls_x509_crt *crt, in mbedtls_x509_crt_verify_with_ca_cb() argument
3190 int (*f_vrfy)(void *, mbedtls_x509_crt *, int, uint32_t *), in mbedtls_x509_crt_verify_with_ca_cb()
3200 int mbedtls_x509_crt_verify_restartable(mbedtls_x509_crt *crt, in mbedtls_x509_crt_verify_restartable() argument
3201 mbedtls_x509_crt *trust_ca, in mbedtls_x509_crt_verify_restartable()
3205 int (*f_vrfy)(void *, mbedtls_x509_crt *, int, uint32_t *), in mbedtls_x509_crt_verify_restartable()
3219 void mbedtls_x509_crt_init(mbedtls_x509_crt *crt) in mbedtls_x509_crt_init()
3221 memset(crt, 0, sizeof(mbedtls_x509_crt)); in mbedtls_x509_crt_init()
3227 void mbedtls_x509_crt_free(mbedtls_x509_crt *crt) in mbedtls_x509_crt_free()
3229 mbedtls_x509_crt *cert_cur = crt; in mbedtls_x509_crt_free()
3230 mbedtls_x509_crt *cert_prv; in mbedtls_x509_crt_free()
3253 mbedtls_platform_zeroize(cert_prv, sizeof(mbedtls_x509_crt)); in mbedtls_x509_crt_free()
3293 int mbedtls_x509_crt_get_ca_istrue(const mbedtls_x509_crt *crt) in mbedtls_x509_crt_get_ca_istrue()