Lines Matching refs:chain

1313 static int mbedtls_x509_crt_parse_der_internal(mbedtls_x509_crt *chain,  in mbedtls_x509_crt_parse_der_internal()  argument
1321 mbedtls_x509_crt *crt = chain, *prev = NULL; in mbedtls_x509_crt_parse_der_internal()
1356 if (crt != chain) { in mbedtls_x509_crt_parse_der_internal()
1366 int mbedtls_x509_crt_parse_der_nocopy(mbedtls_x509_crt *chain, in mbedtls_x509_crt_parse_der_nocopy() argument
1370 return mbedtls_x509_crt_parse_der_internal(chain, buf, buflen, 0, NULL, NULL); in mbedtls_x509_crt_parse_der_nocopy()
1373 int mbedtls_x509_crt_parse_der_with_ext_cb(mbedtls_x509_crt *chain, in mbedtls_x509_crt_parse_der_with_ext_cb() argument
1380 return mbedtls_x509_crt_parse_der_internal(chain, buf, buflen, make_copy, cb, p_ctx); in mbedtls_x509_crt_parse_der_with_ext_cb()
1383 int mbedtls_x509_crt_parse_der(mbedtls_x509_crt *chain, in mbedtls_x509_crt_parse_der() argument
1387 return mbedtls_x509_crt_parse_der_internal(chain, buf, buflen, 1, NULL, NULL); in mbedtls_x509_crt_parse_der()
1394 int mbedtls_x509_crt_parse(mbedtls_x509_crt *chain, in mbedtls_x509_crt_parse() argument
1406 if (chain == NULL || buf == NULL) { in mbedtls_x509_crt_parse()
1421 return mbedtls_x509_crt_parse_der(chain, buf, buflen); in mbedtls_x509_crt_parse()
1424 return mbedtls_x509_crt_parse_der(chain, buf, buflen); in mbedtls_x509_crt_parse()
1470 ret = mbedtls_x509_crt_parse_der(chain, pem.buf, pem.buflen); in mbedtls_x509_crt_parse()
1508 int mbedtls_x509_crt_parse_file(mbedtls_x509_crt *chain, const char *path) in mbedtls_x509_crt_parse_file() argument
1518 ret = mbedtls_x509_crt_parse(chain, buf, n); in mbedtls_x509_crt_parse_file()
1525 int mbedtls_x509_crt_parse_path(mbedtls_x509_crt *chain, const char *path) in mbedtls_x509_crt_parse_path() argument
1579 w_ret = mbedtls_x509_crt_parse_file(chain, filename); in mbedtls_x509_crt_parse_path()
1643 t_ret = mbedtls_x509_crt_parse_file(chain, entry_name); in mbedtls_x509_crt_parse_path()