Lines Matching refs:chain
919 int mbedtls_x509_crt_parse_der( mbedtls_x509_crt *chain, const unsigned char *buf, in mbedtls_x509_crt_parse_der() argument
923 mbedtls_x509_crt *crt = chain, *prev = NULL; in mbedtls_x509_crt_parse_der()
957 if( crt != chain ) 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() argument
980 if( chain == NULL || buf == NULL ) in mbedtls_x509_crt_parse()
995 return mbedtls_x509_crt_parse_der( chain, buf, buflen ); in mbedtls_x509_crt_parse()
997 return mbedtls_x509_crt_parse_der( chain, buf, buflen ); in mbedtls_x509_crt_parse()
1049 ret = mbedtls_x509_crt_parse_der( chain, pem.buf, pem.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() argument
1094 ret = mbedtls_x509_crt_parse( chain, buf, n ); 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() argument
1149 w_ret = mbedtls_x509_crt_parse_file( chain, filename ); in mbedtls_x509_crt_parse_path()
1201 t_ret = mbedtls_x509_crt_parse_file( chain, entry_name ); in mbedtls_x509_crt_parse_path()