Lines Matching refs:chain
1335 static int mbedtls_x509_crt_parse_der_internal( mbedtls_x509_crt *chain, in mbedtls_x509_crt_parse_der_internal() argument
1343 mbedtls_x509_crt *crt = chain, *prev = NULL; in mbedtls_x509_crt_parse_der_internal()
1378 if( crt != chain ) in mbedtls_x509_crt_parse_der_internal()
1387 int mbedtls_x509_crt_parse_der_nocopy( mbedtls_x509_crt *chain, in mbedtls_x509_crt_parse_der_nocopy() argument
1391 return( mbedtls_x509_crt_parse_der_internal( chain, buf, buflen, 0, NULL, NULL ) ); in mbedtls_x509_crt_parse_der_nocopy()
1394 int mbedtls_x509_crt_parse_der_with_ext_cb( mbedtls_x509_crt *chain, in mbedtls_x509_crt_parse_der_with_ext_cb() argument
1401 return( mbedtls_x509_crt_parse_der_internal( chain, buf, buflen, make_copy, cb, p_ctx ) ); in mbedtls_x509_crt_parse_der_with_ext_cb()
1404 int mbedtls_x509_crt_parse_der( mbedtls_x509_crt *chain, in mbedtls_x509_crt_parse_der() argument
1408 return( mbedtls_x509_crt_parse_der_internal( chain, buf, buflen, 1, NULL, NULL ) ); in mbedtls_x509_crt_parse_der()
1415 int mbedtls_x509_crt_parse( mbedtls_x509_crt *chain, in mbedtls_x509_crt_parse() argument
1427 if( chain == NULL || buf == NULL ) in mbedtls_x509_crt_parse()
1442 return mbedtls_x509_crt_parse_der( chain, buf, buflen ); in mbedtls_x509_crt_parse()
1444 return mbedtls_x509_crt_parse_der( chain, buf, buflen ); in mbedtls_x509_crt_parse()
1496 ret = mbedtls_x509_crt_parse_der( chain, pem.buf, pem.buflen ); in mbedtls_x509_crt_parse()
1532 int mbedtls_x509_crt_parse_file( mbedtls_x509_crt *chain, const char *path ) in mbedtls_x509_crt_parse_file() argument
1541 ret = mbedtls_x509_crt_parse( chain, buf, n ); in mbedtls_x509_crt_parse_file()
1549 int mbedtls_x509_crt_parse_path( mbedtls_x509_crt *chain, const char *path ) in mbedtls_x509_crt_parse_path() argument
1599 w_ret = mbedtls_x509_crt_parse_file( chain, filename ); in mbedtls_x509_crt_parse_path()
1654 t_ret = mbedtls_x509_crt_parse_file( chain, entry_name ); in mbedtls_x509_crt_parse_path()