Lines Matching refs:chain
1348 static int mbedtls_x509_crt_parse_der_internal( mbedtls_x509_crt *chain, in mbedtls_x509_crt_parse_der_internal() argument
1356 mbedtls_x509_crt *crt = chain, *prev = NULL; in mbedtls_x509_crt_parse_der_internal()
1391 if( crt != chain ) 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() argument
1404 return( mbedtls_x509_crt_parse_der_internal( chain, buf, buflen, 0, NULL, NULL ) ); 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() argument
1414 return( mbedtls_x509_crt_parse_der_internal( chain, buf, buflen, make_copy, cb, p_ctx ) ); 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() argument
1421 return( mbedtls_x509_crt_parse_der_internal( chain, buf, buflen, 1, NULL, NULL ) ); in mbedtls_x509_crt_parse_der()
1428 int mbedtls_x509_crt_parse( mbedtls_x509_crt *chain, in mbedtls_x509_crt_parse() argument
1440 if( chain == NULL || buf == NULL ) in mbedtls_x509_crt_parse()
1455 return mbedtls_x509_crt_parse_der( chain, buf, buflen ); in mbedtls_x509_crt_parse()
1457 return mbedtls_x509_crt_parse_der( chain, buf, buflen ); in mbedtls_x509_crt_parse()
1509 ret = mbedtls_x509_crt_parse_der( chain, pem.buf, pem.buflen ); 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() argument
1554 ret = mbedtls_x509_crt_parse( chain, buf, n ); 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() argument
1612 w_ret = mbedtls_x509_crt_parse_file( chain, filename ); in mbedtls_x509_crt_parse_path()
1667 t_ret = mbedtls_x509_crt_parse_file( chain, entry_name ); in mbedtls_x509_crt_parse_path()