Lines Matching refs:parent_is_trusted
2231 int *parent_is_trusted, in x509_crt_find_parent() argument
2240 *parent_is_trusted = 1; in x509_crt_find_parent()
2244 if (rs_ctx != NULL && rs_ctx->parent_is_trusted != -1) { in x509_crt_find_parent()
2245 *parent_is_trusted = rs_ctx->parent_is_trusted; in x509_crt_find_parent()
2246 rs_ctx->parent_is_trusted = -1; in x509_crt_find_parent()
2251 search_list = *parent_is_trusted ? trust_ca : child->next; in x509_crt_find_parent()
2255 *parent_is_trusted, in x509_crt_find_parent()
2261 rs_ctx->parent_is_trusted = *parent_is_trusted; in x509_crt_find_parent()
2269 if (*parent != NULL || *parent_is_trusted == 0) { in x509_crt_find_parent()
2274 *parent_is_trusted = 0; in x509_crt_find_parent()
2279 *parent_is_trusted = 0; in x509_crt_find_parent()
2372 int parent_is_trusted; in x509_crt_verify_chain() local
2396 parent_is_trusted = 0; in x509_crt_verify_chain()
2464 &parent_is_trusted, &signature_is_good, in x509_crt_verify_chain()
2496 if (!parent_is_trusted && in x509_crt_verify_chain()
2522 child_is_trusted = parent_is_trusted; in x509_crt_verify_chain()
2868 ctx->parent_is_trusted = -1; in mbedtls_x509_crt_restart_init()