• Home
  • Raw
  • Download

Lines Matching refs:mbedtls_x509_crt

85     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()
1390 int mbedtls_x509_crt_parse_file(mbedtls_x509_crt *chain, const char *path) in mbedtls_x509_crt_parse_file()
1408 int mbedtls_x509_crt_parse_path(mbedtls_x509_crt *chain, const char *path) in mbedtls_x509_crt_parse_path()
1612 const mbedtls_x509_crt *crt) in mbedtls_x509_crt_info()
1790 int mbedtls_x509_crt_check_key_usage(const mbedtls_x509_crt *crt, in mbedtls_x509_crt_check_key_usage()
1816 int mbedtls_x509_crt_check_extended_key_usage(const mbedtls_x509_crt *crt, in mbedtls_x509_crt_check_extended_key_usage()
1850 int mbedtls_x509_crt_is_revoked(const mbedtls_x509_crt *crt, const mbedtls_x509_crl *crl) in mbedtls_x509_crt_is_revoked()
1870 static int x509_crt_verifycrl(mbedtls_x509_crt *crt, mbedtls_x509_crt *ca, in x509_crt_verifycrl()
1979 static int x509_crt_check_signature(const mbedtls_x509_crt *child, in x509_crt_check_signature()
1980 mbedtls_x509_crt *parent, in x509_crt_check_signature()
2035 static int x509_crt_check_parent(const mbedtls_x509_crt *child, in x509_crt_check_parent()
2036 const mbedtls_x509_crt *parent, in x509_crt_check_parent()
2110 mbedtls_x509_crt *child, in x509_crt_find_parent_in()
2111 mbedtls_x509_crt *candidates, in x509_crt_find_parent_in()
2112 mbedtls_x509_crt **r_parent, in x509_crt_find_parent_in()
2120 mbedtls_x509_crt *parent, *fallback_parent; in x509_crt_find_parent_in()
2228 mbedtls_x509_crt *child, in x509_crt_find_parent()
2229 mbedtls_x509_crt *trust_ca, in x509_crt_find_parent()
2230 mbedtls_x509_crt **parent, in x509_crt_find_parent()
2238 mbedtls_x509_crt *search_list; in x509_crt_find_parent()
2293 mbedtls_x509_crt *crt, in x509_crt_check_ee_locally_trusted()
2294 mbedtls_x509_crt *trust_ca) in x509_crt_check_ee_locally_trusted()
2296 mbedtls_x509_crt *cur; in x509_crt_check_ee_locally_trusted()
2356 mbedtls_x509_crt *crt, in x509_crt_verify_chain()
2357 mbedtls_x509_crt *trust_ca, in x509_crt_verify_chain()
2370 mbedtls_x509_crt *child; in x509_crt_verify_chain()
2371 mbedtls_x509_crt *parent; in x509_crt_verify_chain()
2376 mbedtls_x509_crt *cur_trust_ca = NULL; in x509_crt_verify_chain()
2570 static void x509_crt_verify_name(const mbedtls_x509_crt *crt, in x509_crt_verify_name()
2608 int (*f_vrfy)(void *, mbedtls_x509_crt *, int, uint32_t *), in x509_crt_merge_flags_with_cb() argument
2649 static int x509_crt_verify_restartable_ca_cb(mbedtls_x509_crt *crt, in x509_crt_verify_restartable_ca_cb() argument
2650 mbedtls_x509_crt *trust_ca, in x509_crt_verify_restartable_ca_cb()
2657 mbedtls_x509_crt *, in x509_crt_verify_restartable_ca_cb()
2745 int mbedtls_x509_crt_verify(mbedtls_x509_crt *crt, in mbedtls_x509_crt_verify() argument
2746 mbedtls_x509_crt *trust_ca, in mbedtls_x509_crt_verify()
2749 int (*f_vrfy)(void *, mbedtls_x509_crt *, int, uint32_t *), in mbedtls_x509_crt_verify()
2762 int mbedtls_x509_crt_verify_with_profile(mbedtls_x509_crt *crt, in mbedtls_x509_crt_verify_with_profile() argument
2763 mbedtls_x509_crt *trust_ca, in mbedtls_x509_crt_verify_with_profile()
2767 int (*f_vrfy)(void *, mbedtls_x509_crt *, int, uint32_t *), in mbedtls_x509_crt_verify_with_profile()
2781 int mbedtls_x509_crt_verify_with_ca_cb(mbedtls_x509_crt *crt, in mbedtls_x509_crt_verify_with_ca_cb() argument
2786 int (*f_vrfy)(void *, mbedtls_x509_crt *, int, uint32_t *), in mbedtls_x509_crt_verify_with_ca_cb()
2796 int mbedtls_x509_crt_verify_restartable(mbedtls_x509_crt *crt, in mbedtls_x509_crt_verify_restartable() argument
2797 mbedtls_x509_crt *trust_ca, in mbedtls_x509_crt_verify_restartable()
2801 int (*f_vrfy)(void *, mbedtls_x509_crt *, int, uint32_t *), in mbedtls_x509_crt_verify_restartable()
2815 void mbedtls_x509_crt_init(mbedtls_x509_crt *crt) in mbedtls_x509_crt_init()
2817 memset(crt, 0, sizeof(mbedtls_x509_crt)); in mbedtls_x509_crt_init()
2823 void mbedtls_x509_crt_free(mbedtls_x509_crt *crt) in mbedtls_x509_crt_free()
2825 mbedtls_x509_crt *cert_cur = crt; in mbedtls_x509_crt_free()
2826 mbedtls_x509_crt *cert_prv; in mbedtls_x509_crt_free()
2849 mbedtls_platform_zeroize(cert_prv, sizeof(mbedtls_x509_crt)); in mbedtls_x509_crt_free()