Lines Matching refs:mbedtls_x509_crt
89 mbedtls_x509_crt *crt;
905 mbedtls_x509_crt *crt, in x509_get_crt_ext()
1085 static int x509_crt_parse_der_core( mbedtls_x509_crt *crt, in x509_crt_parse_der_core()
1348 static int mbedtls_x509_crt_parse_der_internal( mbedtls_x509_crt *chain, in mbedtls_x509_crt_parse_der_internal()
1356 mbedtls_x509_crt *crt = chain, *prev = NULL; in mbedtls_x509_crt_parse_der_internal()
1375 crt->next = mbedtls_calloc( 1, sizeof( mbedtls_x509_crt ) ); in mbedtls_x509_crt_parse_der_internal()
1400 int mbedtls_x509_crt_parse_der_nocopy( mbedtls_x509_crt *chain, in mbedtls_x509_crt_parse_der_nocopy()
1407 int mbedtls_x509_crt_parse_der_with_ext_cb( mbedtls_x509_crt *chain, in mbedtls_x509_crt_parse_der_with_ext_cb()
1417 int mbedtls_x509_crt_parse_der( mbedtls_x509_crt *chain, in mbedtls_x509_crt_parse_der()
1428 int mbedtls_x509_crt_parse( mbedtls_x509_crt *chain, in mbedtls_x509_crt_parse()
1545 int mbedtls_x509_crt_parse_file( mbedtls_x509_crt *chain, const char *path ) in mbedtls_x509_crt_parse_file()
1562 int mbedtls_x509_crt_parse_path( mbedtls_x509_crt *chain, const char *path ) in mbedtls_x509_crt_parse_path()
2072 const mbedtls_x509_crt *crt ) in mbedtls_x509_crt_info()
2255 int mbedtls_x509_crt_check_key_usage( const mbedtls_x509_crt *crt, in mbedtls_x509_crt_check_key_usage()
2278 int mbedtls_x509_crt_check_extended_key_usage( const mbedtls_x509_crt *crt, in mbedtls_x509_crt_check_extended_key_usage()
2312 int mbedtls_x509_crt_is_revoked( const mbedtls_x509_crt *crt, const mbedtls_x509_crl *crl ) in mbedtls_x509_crt_is_revoked()
2334 static int x509_crt_verifycrl( mbedtls_x509_crt *crt, mbedtls_x509_crt *ca, in x509_crt_verifycrl()
2420 static int x509_crt_check_signature( const mbedtls_x509_crt *child, in x509_crt_check_signature()
2421 mbedtls_x509_crt *parent, in x509_crt_check_signature()
2479 static int x509_crt_check_parent( const mbedtls_x509_crt *child, in x509_crt_check_parent()
2480 const mbedtls_x509_crt *parent, in x509_crt_check_parent()
2552 mbedtls_x509_crt *child, in x509_crt_find_parent_in()
2553 mbedtls_x509_crt *candidates, in x509_crt_find_parent_in()
2554 mbedtls_x509_crt **r_parent, in x509_crt_find_parent_in()
2562 mbedtls_x509_crt *parent, *fallback_parent; in x509_crt_find_parent_in()
2675 mbedtls_x509_crt *child, in x509_crt_find_parent()
2676 mbedtls_x509_crt *trust_ca, in x509_crt_find_parent()
2677 mbedtls_x509_crt **parent, in x509_crt_find_parent()
2685 mbedtls_x509_crt *search_list; in x509_crt_find_parent()
2742 mbedtls_x509_crt *crt, in x509_crt_check_ee_locally_trusted()
2743 mbedtls_x509_crt *trust_ca ) in x509_crt_check_ee_locally_trusted()
2745 mbedtls_x509_crt *cur; in x509_crt_check_ee_locally_trusted()
2806 mbedtls_x509_crt *crt, in x509_crt_verify_chain()
2807 mbedtls_x509_crt *trust_ca, in x509_crt_verify_chain()
2820 mbedtls_x509_crt *child; in x509_crt_verify_chain()
2821 mbedtls_x509_crt *parent; in x509_crt_verify_chain()
2826 mbedtls_x509_crt *cur_trust_ca = NULL; in x509_crt_verify_chain()
3021 static void x509_crt_verify_name( const mbedtls_x509_crt *crt, in x509_crt_verify_name()
3062 int (*f_vrfy)(void *, mbedtls_x509_crt *, int, uint32_t *), in x509_crt_merge_flags_with_cb() argument
3102 static int x509_crt_verify_restartable_ca_cb( mbedtls_x509_crt *crt, in x509_crt_verify_restartable_ca_cb() argument
3103 mbedtls_x509_crt *trust_ca, in x509_crt_verify_restartable_ca_cb()
3109 int (*f_vrfy)(void *, mbedtls_x509_crt *, int, uint32_t *), in x509_crt_verify_restartable_ca_cb()
3190 int mbedtls_x509_crt_verify( mbedtls_x509_crt *crt, in mbedtls_x509_crt_verify() argument
3191 mbedtls_x509_crt *trust_ca, in mbedtls_x509_crt_verify()
3194 int (*f_vrfy)(void *, mbedtls_x509_crt *, int, uint32_t *), in mbedtls_x509_crt_verify()
3207 int mbedtls_x509_crt_verify_with_profile( mbedtls_x509_crt *crt, in mbedtls_x509_crt_verify_with_profile() argument
3208 mbedtls_x509_crt *trust_ca, in mbedtls_x509_crt_verify_with_profile()
3212 int (*f_vrfy)(void *, mbedtls_x509_crt *, int, uint32_t *), in mbedtls_x509_crt_verify_with_profile()
3226 int mbedtls_x509_crt_verify_with_ca_cb( mbedtls_x509_crt *crt, in mbedtls_x509_crt_verify_with_ca_cb() argument
3231 int (*f_vrfy)(void *, mbedtls_x509_crt *, int, uint32_t *), in mbedtls_x509_crt_verify_with_ca_cb()
3241 int mbedtls_x509_crt_verify_restartable( mbedtls_x509_crt *crt, in mbedtls_x509_crt_verify_restartable() argument
3242 mbedtls_x509_crt *trust_ca, in mbedtls_x509_crt_verify_restartable()
3246 int (*f_vrfy)(void *, mbedtls_x509_crt *, int, uint32_t *), in mbedtls_x509_crt_verify_restartable()
3260 void mbedtls_x509_crt_init( mbedtls_x509_crt *crt ) in mbedtls_x509_crt_init()
3262 memset( crt, 0, sizeof(mbedtls_x509_crt) ); in mbedtls_x509_crt_init()
3268 void mbedtls_x509_crt_free( mbedtls_x509_crt *crt ) in mbedtls_x509_crt_free()
3270 mbedtls_x509_crt *cert_cur = crt; in mbedtls_x509_crt_free()
3271 mbedtls_x509_crt *cert_prv; in mbedtls_x509_crt_free()
3352 mbedtls_platform_zeroize( cert_prv, sizeof( mbedtls_x509_crt ) ); in mbedtls_x509_crt_free()