Lines Matching refs:ctx
3264 void mbedtls_x509_crt_restart_init(mbedtls_x509_crt_restart_ctx *ctx)
3266 mbedtls_pk_restart_init(&ctx->pk);
3268 ctx->parent = NULL;
3269 ctx->fallback_parent = NULL;
3270 ctx->fallback_signature_is_good = 0;
3272 ctx->parent_is_trusted = -1;
3274 ctx->in_progress = x509_crt_rs_none;
3275 ctx->self_cnt = 0;
3276 x509_crt_verify_chain_reset(&ctx->ver_chain);
3282 void mbedtls_x509_crt_restart_free(mbedtls_x509_crt_restart_ctx *ctx)
3284 if (ctx == NULL) {
3288 mbedtls_pk_restart_free(&ctx->pk);
3289 mbedtls_x509_crt_restart_init(ctx);