Lines Matching refs:mbedtls_x509_crt

85     mbedtls_x509_crt *crt;
703 mbedtls_x509_crt *crt ) in x509_get_crt_ext()
839 static int x509_crt_parse_der_core( mbedtls_x509_crt *crt, const unsigned char *buf, in x509_crt_parse_der_core()
1096 int mbedtls_x509_crt_parse_der( mbedtls_x509_crt *chain, const unsigned char *buf, in mbedtls_x509_crt_parse_der()
1100 mbedtls_x509_crt *crt = chain, *prev = NULL; in mbedtls_x509_crt_parse_der()
1119 crt->next = mbedtls_calloc( 1, sizeof( mbedtls_x509_crt ) ); in mbedtls_x509_crt_parse_der()
1147 int mbedtls_x509_crt_parse( mbedtls_x509_crt *chain, const unsigned char *buf, size_t buflen ) in mbedtls_x509_crt_parse()
1262 int mbedtls_x509_crt_parse_file( mbedtls_x509_crt *chain, const char *path ) in mbedtls_x509_crt_parse_file()
1279 int mbedtls_x509_crt_parse_path( mbedtls_x509_crt *chain, const char *path ) in mbedtls_x509_crt_parse_path()
1646 const mbedtls_x509_crt *crt ) in mbedtls_x509_subjectid_gets()
1678 const mbedtls_x509_crt *crt ) in mbedtls_x509_crt_info()
1867 int mbedtls_x509_crt_check_key_usage( const mbedtls_x509_crt *crt, in mbedtls_x509_crt_check_key_usage()
1892 int mbedtls_x509_crt_check_extended_key_usage( const mbedtls_x509_crt *crt, in mbedtls_x509_crt_check_extended_key_usage()
1927 int mbedtls_x509_crt_is_revoked( const mbedtls_x509_crt *crt, const mbedtls_x509_crl *crl ) in mbedtls_x509_crt_is_revoked()
1950 static int x509_crt_verifycrl( mbedtls_x509_crt *crt, mbedtls_x509_crt *ca, in x509_crt_verifycrl()
2038 static int x509_crt_check_signature( const mbedtls_x509_crt *child, in x509_crt_check_signature()
2039 mbedtls_x509_crt *parent, in x509_crt_check_signature()
2078 static int x509_crt_check_parent( const mbedtls_x509_crt *child, in x509_crt_check_parent()
2079 const mbedtls_x509_crt *parent, in x509_crt_check_parent()
2153 mbedtls_x509_crt *child, in x509_crt_find_parent_in()
2154 mbedtls_x509_crt *candidates, in x509_crt_find_parent_in()
2155 mbedtls_x509_crt **r_parent, in x509_crt_find_parent_in()
2163 mbedtls_x509_crt *parent, *fallback_parent; in x509_crt_find_parent_in()
2278 mbedtls_x509_crt *child, in x509_crt_find_parent()
2279 mbedtls_x509_crt *trust_ca, in x509_crt_find_parent()
2280 mbedtls_x509_crt **parent, in x509_crt_find_parent()
2288 mbedtls_x509_crt *search_list; in x509_crt_find_parent()
2345 mbedtls_x509_crt *crt, in x509_crt_check_ee_locally_trusted()
2346 mbedtls_x509_crt *trust_ca ) in x509_crt_check_ee_locally_trusted()
2348 mbedtls_x509_crt *cur; in x509_crt_check_ee_locally_trusted()
2409 mbedtls_x509_crt *crt, in x509_crt_verify_chain()
2410 mbedtls_x509_crt *trust_ca, in x509_crt_verify_chain()
2421 mbedtls_x509_crt *child; in x509_crt_verify_chain()
2422 mbedtls_x509_crt *parent; in x509_crt_verify_chain()
2578 static void x509_crt_verify_name( const mbedtls_x509_crt *crt, in x509_crt_verify_name()
2619 int (*f_vrfy)(void *, mbedtls_x509_crt *, int, uint32_t *), in x509_crt_merge_flags_with_cb() argument
2645 int mbedtls_x509_crt_verify( mbedtls_x509_crt *crt, in mbedtls_x509_crt_verify() argument
2646 mbedtls_x509_crt *trust_ca, in mbedtls_x509_crt_verify()
2649 int (*f_vrfy)(void *, mbedtls_x509_crt *, int, uint32_t *), in mbedtls_x509_crt_verify()
2660 int mbedtls_x509_crt_verify_with_profile( mbedtls_x509_crt *crt, in mbedtls_x509_crt_verify_with_profile() argument
2661 mbedtls_x509_crt *trust_ca, in mbedtls_x509_crt_verify_with_profile()
2665 int (*f_vrfy)(void *, mbedtls_x509_crt *, int, uint32_t *), in mbedtls_x509_crt_verify_with_profile()
2682 int mbedtls_x509_crt_verify_restartable( mbedtls_x509_crt *crt, in mbedtls_x509_crt_verify_restartable() argument
2683 mbedtls_x509_crt *trust_ca, in mbedtls_x509_crt_verify_restartable()
2687 int (*f_vrfy)(void *, mbedtls_x509_crt *, int, uint32_t *), in mbedtls_x509_crt_verify_restartable()
2759 void mbedtls_x509_crt_init( mbedtls_x509_crt *crt ) in mbedtls_x509_crt_init()
2761 memset( crt, 0, sizeof(mbedtls_x509_crt) ); in mbedtls_x509_crt_init()
2767 void mbedtls_x509_crt_free( mbedtls_x509_crt *crt ) in mbedtls_x509_crt_free()
2769 mbedtls_x509_crt *cert_cur = crt; in mbedtls_x509_crt_free()
2770 mbedtls_x509_crt *cert_prv; in mbedtls_x509_crt_free()
2841 mbedtls_platform_zeroize( cert_prv, sizeof( mbedtls_x509_crt ) ); in mbedtls_x509_crt_free()