Lines Matching refs:parent_is_trusted
2381 int *parent_is_trusted, in x509_crt_find_parent() argument
2391 *parent_is_trusted = 1; in x509_crt_find_parent()
2395 if (rs_ctx != NULL && rs_ctx->parent_is_trusted != -1) { in x509_crt_find_parent()
2396 *parent_is_trusted = rs_ctx->parent_is_trusted; in x509_crt_find_parent()
2397 rs_ctx->parent_is_trusted = -1; in x509_crt_find_parent()
2402 search_list = *parent_is_trusted ? trust_ca : child->next; in x509_crt_find_parent()
2406 *parent_is_trusted, in x509_crt_find_parent()
2412 rs_ctx->parent_is_trusted = *parent_is_trusted; in x509_crt_find_parent()
2420 if (*parent != NULL || *parent_is_trusted == 0) { in x509_crt_find_parent()
2425 *parent_is_trusted = 0; in x509_crt_find_parent()
2430 *parent_is_trusted = 0; in x509_crt_find_parent()
2523 int parent_is_trusted; in x509_crt_verify_chain() local
2554 parent_is_trusted = 0; in x509_crt_verify_chain()
2624 &parent_is_trusted, &signature_is_good, in x509_crt_verify_chain()
2657 if (!parent_is_trusted && in x509_crt_verify_chain()
2683 child_is_trusted = parent_is_trusted; in x509_crt_verify_chain()
3274 ctx->parent_is_trusted = -1; in mbedtls_x509_crt_restart_init()