Lines Matching refs:mbedtls_x509_crt

522                              mbedtls_x509_crt *crt )  in x509_get_crt_ext()
662 static int x509_crt_parse_der_core( mbedtls_x509_crt *crt, const unsigned char *buf, in x509_crt_parse_der_core()
919 int mbedtls_x509_crt_parse_der( mbedtls_x509_crt *chain, const unsigned char *buf, in mbedtls_x509_crt_parse_der()
923 mbedtls_x509_crt *crt = chain, *prev = NULL; in mbedtls_x509_crt_parse_der()
942 crt->next = mbedtls_calloc( 1, sizeof( mbedtls_x509_crt ) ); in mbedtls_x509_crt_parse_der()
970 int mbedtls_x509_crt_parse( mbedtls_x509_crt *chain, const unsigned char *buf, size_t buflen ) in mbedtls_x509_crt_parse()
1085 int mbedtls_x509_crt_parse_file( mbedtls_x509_crt *chain, const char *path ) in mbedtls_x509_crt_parse_file()
1102 int mbedtls_x509_crt_parse_path( mbedtls_x509_crt *chain, const char *path ) in mbedtls_x509_crt_parse_path()
1357 const mbedtls_x509_crt *crt ) in mbedtls_x509_crt_info()
1546 int mbedtls_x509_crt_check_key_usage( const mbedtls_x509_crt *crt, in mbedtls_x509_crt_check_key_usage()
1571 int mbedtls_x509_crt_check_extended_key_usage( const mbedtls_x509_crt *crt, in mbedtls_x509_crt_check_extended_key_usage()
1606 int mbedtls_x509_crt_is_revoked( const mbedtls_x509_crt *crt, const mbedtls_x509_crl *crl ) in mbedtls_x509_crt_is_revoked()
1629 static int x509_crt_verifycrl( mbedtls_x509_crt *crt, mbedtls_x509_crt *ca, in x509_crt_verifycrl()
1855 static int x509_crt_check_parent( const mbedtls_x509_crt *child, in x509_crt_check_parent()
1856 const mbedtls_x509_crt *parent, in x509_crt_check_parent()
1895 mbedtls_x509_crt *child, mbedtls_x509_crt *trust_ca, in x509_crt_verify_top() argument
1899 int (*f_vrfy)(void *, mbedtls_x509_crt *, int, uint32_t *), in x509_crt_verify_top()
2029 mbedtls_x509_crt *child, mbedtls_x509_crt *parent, in x509_crt_verify_child() argument
2030 mbedtls_x509_crt *trust_ca, mbedtls_x509_crl *ca_crl, in x509_crt_verify_child()
2033 int (*f_vrfy)(void *, mbedtls_x509_crt *, int, uint32_t *), in x509_crt_verify_child()
2039 mbedtls_x509_crt *grandparent; in x509_crt_verify_child()
2163 int mbedtls_x509_crt_verify( mbedtls_x509_crt *crt, in mbedtls_x509_crt_verify() argument
2164 mbedtls_x509_crt *trust_ca, in mbedtls_x509_crt_verify()
2167 int (*f_vrfy)(void *, mbedtls_x509_crt *, int, uint32_t *), in mbedtls_x509_crt_verify()
2178 int mbedtls_x509_crt_verify_with_profile( mbedtls_x509_crt *crt, in mbedtls_x509_crt_verify_with_profile() argument
2179 mbedtls_x509_crt *trust_ca, in mbedtls_x509_crt_verify_with_profile()
2183 int (*f_vrfy)(void *, mbedtls_x509_crt *, int, uint32_t *), in mbedtls_x509_crt_verify_with_profile()
2189 mbedtls_x509_crt *parent; in mbedtls_x509_crt_verify_with_profile()
2307 void mbedtls_x509_crt_init( mbedtls_x509_crt *crt ) in mbedtls_x509_crt_init()
2309 memset( crt, 0, sizeof(mbedtls_x509_crt) ); in mbedtls_x509_crt_init()
2315 void mbedtls_x509_crt_free( mbedtls_x509_crt *crt ) in mbedtls_x509_crt_free()
2317 mbedtls_x509_crt *cert_cur = crt; in mbedtls_x509_crt_free()
2318 mbedtls_x509_crt *cert_prv; in mbedtls_x509_crt_free()
2387 mbedtls_zeroize( cert_prv, sizeof( mbedtls_x509_crt ) ); in mbedtls_x509_crt_free()