• Home
  • Raw
  • Download

Lines Matching refs:rs_ctx

1981                                     mbedtls_x509_crt_restart_ctx *rs_ctx)  in x509_crt_check_signature()  argument
2015 if (rs_ctx != NULL && child->sig_pk == MBEDTLS_PK_ECDSA) { in x509_crt_check_signature()
2018 child->sig.p, child->sig.len, &rs_ctx->pk); in x509_crt_check_signature()
2021 (void) rs_ctx; in x509_crt_check_signature()
2117 mbedtls_x509_crt_restart_ctx *rs_ctx) in x509_crt_find_parent_in() argument
2125 if (rs_ctx != NULL && rs_ctx->parent != NULL) { in x509_crt_find_parent_in()
2127 parent = rs_ctx->parent; in x509_crt_find_parent_in()
2128 fallback_parent = rs_ctx->fallback_parent; in x509_crt_find_parent_in()
2129 fallback_signature_is_good = rs_ctx->fallback_signature_is_good; in x509_crt_find_parent_in()
2132 rs_ctx->parent = NULL; in x509_crt_find_parent_in()
2133 rs_ctx->fallback_parent = NULL; in x509_crt_find_parent_in()
2134 rs_ctx->fallback_signature_is_good = 0; in x509_crt_find_parent_in()
2160 ret = x509_crt_check_signature(child, parent, rs_ctx); in x509_crt_find_parent_in()
2163 if (rs_ctx != NULL && ret == MBEDTLS_ERR_ECP_IN_PROGRESS) { in x509_crt_find_parent_in()
2165 rs_ctx->parent = parent; in x509_crt_find_parent_in()
2166 rs_ctx->fallback_parent = fallback_parent; in x509_crt_find_parent_in()
2167 rs_ctx->fallback_signature_is_good = fallback_signature_is_good; in x509_crt_find_parent_in()
2235 mbedtls_x509_crt_restart_ctx *rs_ctx) in x509_crt_find_parent() argument
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()
2256 path_cnt, self_cnt, rs_ctx); in x509_crt_find_parent()
2259 if (rs_ctx != NULL && ret == MBEDTLS_ERR_ECP_IN_PROGRESS) { in x509_crt_find_parent()
2261 rs_ctx->parent_is_trusted = *parent_is_trusted; in x509_crt_find_parent()
2363 mbedtls_x509_crt_restart_ctx *rs_ctx) in x509_crt_verify_chain() argument
2380 if (rs_ctx != NULL && rs_ctx->in_progress == x509_crt_rs_find_parent) { in x509_crt_verify_chain()
2382 *ver_chain = rs_ctx->ver_chain; /* struct copy */ in x509_crt_verify_chain()
2383 self_cnt = rs_ctx->self_cnt; in x509_crt_verify_chain()
2465 ver_chain->len - 1, self_cnt, rs_ctx); in x509_crt_verify_chain()
2468 if (rs_ctx != NULL && ret == MBEDTLS_ERR_ECP_IN_PROGRESS) { in x509_crt_verify_chain()
2470 rs_ctx->in_progress = x509_crt_rs_find_parent; in x509_crt_verify_chain()
2471 rs_ctx->self_cnt = self_cnt; in x509_crt_verify_chain()
2472 rs_ctx->ver_chain = *ver_chain; /* struct copy */ in x509_crt_verify_chain()
2661 mbedtls_x509_crt_restart_ctx *rs_ctx) in x509_crt_verify_restartable_ca_cb() argument
2696 &ver_chain, rs_ctx); in x509_crt_verify_restartable_ca_cb()
2717 if (rs_ctx != NULL && ret != MBEDTLS_ERR_ECP_IN_PROGRESS) { in x509_crt_verify_restartable_ca_cb()
2718 mbedtls_x509_crt_restart_free(rs_ctx); in x509_crt_verify_restartable_ca_cb()
2803 mbedtls_x509_crt_restart_ctx *rs_ctx) in mbedtls_x509_crt_verify_restartable() argument
2808 f_vrfy, p_vrfy, rs_ctx); in mbedtls_x509_crt_verify_restartable()