Lines Matching refs:param
188 if (ctx->param->auth_level <= 0) in check_auth_level()
225 ctx->param->flags); in verify_chain()
245 if ((ctx->param->flags & X509_V_FLAG_POLICY_CHECK) != 0) in verify_chain()
425 if (depth >= ctx->num_untrusted && purpose == ctx->param->purpose) in check_purpose()
426 tr_ok = X509_check_trust(x, ctx->param->trust, X509_TRUST_NO_SS_COMPAT); in check_purpose()
440 if ((ctx->param->flags & X509_V_FLAG_X509_STRICT) == 0) in check_purpose()
477 (ctx->param->flags & X509_V_FLAG_ALLOW_PROXY_CERTS) != 0; in check_extensions()
478 purpose = ctx->param->purpose; in check_extensions()
483 CB_FAIL_IF((ctx->param->flags & X509_V_FLAG_IGNORE_CRITICAL) == 0 in check_extensions()
491 CB_FAIL_IF((ctx->param->flags & X509_V_FLAG_X509_STRICT) != 0 in check_extensions()
502 || (ctx->param->flags & X509_V_FLAG_X509_STRICT) != 0) in check_extensions()
517 if ((ctx->param->flags & X509_V_FLAG_X509_STRICT) != 0 in check_extensions()
743 && (ctx->param->hostflags in check_name_constraints()
745 && ((ctx->param->hostflags in check_name_constraints()
792 X509_VERIFY_PARAM *vpm = ctx->param; in check_id()
839 trust = X509_check_trust(x, ctx->param->trust, 0); in check_trust()
852 if ((ctx->param->flags & X509_V_FLAG_PARTIAL_CHAIN) != 0) in check_trust()
858 && (ctx->param->flags & X509_V_FLAG_PARTIAL_CHAIN) != 0) { in check_trust()
875 trust = X509_check_trust(mx, ctx->param->trust, 0); in check_trust()
914 if ((ctx->param->flags & X509_V_FLAG_CRL_CHECK) == 0) in check_revocation()
916 if ((ctx->param->flags & X509_V_FLAG_CRL_CHECK_ALL) != 0) { in check_revocation()
1014 if ((ctx->param->flags & X509_V_FLAG_USE_CHECK_TIME) != 0) in check_crl_time()
1015 ptime = &ctx->param->check_time; in check_crl_time()
1016 else if ((ctx->param->flags & X509_V_FLAG_NO_CHECK_TIME) != 0) in check_crl_time()
1179 if ((ctx->param->flags & X509_V_FLAG_USE_DELTAS) == 0) in get_delta_sk()
1215 if ((ctx->param->flags & X509_V_FLAG_EXTENDED_CRL_SUPPORT) == 0) { in get_crl_score()
1296 if ((ctx->param->flags & X509_V_FLAG_EXTENDED_CRL_SUPPORT) == 0) in crl_akid_check()
1334 X509_STORE_CTX_set0_param(&crl_ctx, ctx->param); in check_crl_path()
1590 int rv = X509_CRL_check_suiteb(crl, ikey, ctx->param->flags); in check_crl()
1613 if ((ctx->param->flags & X509_V_FLAG_IGNORE_CRITICAL) == 0 in cert_crl()
1651 ctx->param->policies, ctx->param->flags); in check_policy()
1680 if ((ctx->param->flags & X509_V_FLAG_NOTIFY_POLICY) != 0) { in check_policy()
1712 if ((ctx->param->flags & X509_V_FLAG_USE_CHECK_TIME) != 0) in ossl_x509_check_cert_time()
1713 ptime = &ctx->param->check_time; in ossl_x509_check_cert_time()
1714 else if ((ctx->param->flags & X509_V_FLAG_NO_CHECK_TIME) != 0) in ossl_x509_check_cert_time()
1753 && ((ctx->param->flags & X509_V_FLAG_PARTIAL_CHAIN) == 0)) { in internal_verify()
1787 || ((ctx->param->flags & X509_V_FLAG_CHECK_SS_SIGNATURE) != 0 in internal_verify()
2268 if (ctx->param->purpose == 0 && purpose != 0) in X509_STORE_CTX_purpose_inherit()
2269 ctx->param->purpose = purpose; in X509_STORE_CTX_purpose_inherit()
2270 if (ctx->param->trust == 0 && trust != 0) in X509_STORE_CTX_purpose_inherit()
2271 ctx->param->trust = trust; in X509_STORE_CTX_purpose_inherit()
2409 ctx->param = X509_VERIFY_PARAM_new(); in X509_STORE_CTX_init()
2410 if (ctx->param == NULL) { in X509_STORE_CTX_init()
2417 ret = X509_VERIFY_PARAM_inherit(ctx->param, store->param); in X509_STORE_CTX_init()
2419 ctx->param->inh_flags |= X509_VP_FLAG_DEFAULT | X509_VP_FLAG_ONCE; in X509_STORE_CTX_init()
2422 ret = X509_VERIFY_PARAM_inherit(ctx->param, in X509_STORE_CTX_init()
2434 if (ctx->param->trust == X509_TRUST_DEFAULT) { in X509_STORE_CTX_init()
2435 int idx = X509_PURPOSE_get_by_id(ctx->param->purpose); in X509_STORE_CTX_init()
2439 ctx->param->trust = X509_PURPOSE_get_trust(xp); in X509_STORE_CTX_init()
2480 if (ctx->param != NULL) { in X509_STORE_CTX_cleanup()
2482 X509_VERIFY_PARAM_free(ctx->param); in X509_STORE_CTX_cleanup()
2483 ctx->param = NULL; in X509_STORE_CTX_cleanup()
2495 X509_VERIFY_PARAM_set_depth(ctx->param, depth); in X509_STORE_CTX_set_depth()
2500 X509_VERIFY_PARAM_set_flags(ctx->param, flags); in X509_STORE_CTX_set_flags()
2506 X509_VERIFY_PARAM_set_time(ctx->param, t); in X509_STORE_CTX_set_time()
2627 const X509_VERIFY_PARAM *param; in X509_STORE_CTX_set_default() local
2629 param = X509_VERIFY_PARAM_lookup(name); in X509_STORE_CTX_set_default()
2630 if (param == NULL) in X509_STORE_CTX_set_default()
2632 return X509_VERIFY_PARAM_inherit(ctx->param, param); in X509_STORE_CTX_set_default()
2637 return ctx->param; in X509_STORE_CTX_get0_param()
2640 void X509_STORE_CTX_set0_param(X509_STORE_CTX *ctx, X509_VERIFY_PARAM *param) in X509_STORE_CTX_set0_param() argument
2642 X509_VERIFY_PARAM_free(ctx->param); in X509_STORE_CTX_set0_param()
2643 ctx->param = param; in X509_STORE_CTX_set0_param()
2901 int err = X509_chain_check_suiteb(NULL, cert, NULL, ctx->param->flags); in check_leaf_suiteb()
3019 if (search == 0 || (ctx->param->flags & X509_V_FLAG_TRUSTED_FIRST) != 0) in build_chain()
3021 else if (!(ctx->param->flags & X509_V_FLAG_NO_ALT_CHAINS)) in build_chain()
3050 if (ctx->param->depth > INT_MAX / 2) in build_chain()
3051 ctx->param->depth = INT_MAX / 2; in build_chain()
3058 max_depth = ctx->param->depth + 1; in build_chain()
3385 int level = ctx->param->auth_level; in check_key_level()
3442 int level = ctx->param->auth_level; in check_sig_level()