Lines Matching defs:ctx

114 static int lookup_cert_match(X509 **result, X509_STORE_CTX *ctx, X509 *x)  in lookup_cert_match()
155 static int verify_cb_cert(X509_STORE_CTX *ctx, X509 *x, int depth, int err) in verify_cb_cert()
167 #define CB_FAIL_IF(cond, ctx, cert, depth, err) \ argument
178 static int verify_cb_crl(X509_STORE_CTX *ctx, int err) in verify_cb_crl()
185 static int check_auth_level(X509_STORE_CTX *ctx) in check_auth_level()
216 static int verify_chain(X509_STORE_CTX *ctx) in verify_chain()
255 int X509_STORE_CTX_verify(X509_STORE_CTX *ctx) in X509_STORE_CTX_verify()
270 int X509_verify_cert(X509_STORE_CTX *ctx) in X509_verify_cert()
332 static X509 *find_issuer(X509_STORE_CTX *ctx, STACK_OF(X509) *sk, X509 *x) in find_issuer()
353 static int check_issued(ossl_unused X509_STORE_CTX *ctx, X509 *x, X509 *issuer) in check_issued()
370 static int get_issuer_sk(X509 **issuer, X509_STORE_CTX *ctx, X509 *x) in get_issuer_sk()
408 static int check_purpose(X509_STORE_CTX *ctx, X509 *x, int purpose, int depth, in check_purpose()
459 static int check_extensions(X509_STORE_CTX *ctx) in check_extensions()
657 static int check_name_constraints(X509_STORE_CTX *ctx) in check_name_constraints()
776 static int check_id_error(X509_STORE_CTX *ctx, int errcode) in check_id_error()
799 static int check_id(X509_STORE_CTX *ctx) in check_id()
821 static int check_trust(X509_STORE_CTX *ctx, int num_untrusted) in check_trust()
919 static int check_revocation(X509_STORE_CTX *ctx) in check_revocation()
943 static int check_cert(X509_STORE_CTX *ctx) in check_cert()
1016 static int check_crl_time(X509_STORE_CTX *ctx, X509_CRL *crl, int notify) in check_crl_time()
1067 static int get_crl_sk(X509_STORE_CTX *ctx, X509_CRL **pcrl, X509_CRL **pdcrl, in get_crl_sk()
1182 static void get_delta_sk(X509_STORE_CTX *ctx, X509_CRL **dcrl, int *pscore, in get_delta_sk()
1212 static int get_crl_score(X509_STORE_CTX *ctx, X509 **pissuer, in get_crl_score()
1272 static void crl_akid_check(X509_STORE_CTX *ctx, X509_CRL *crl, in crl_akid_check()
1330 static int check_crl_path(X509_STORE_CTX *ctx, X509 *x) in check_crl_path()
1368 static int check_crl_chain(X509_STORE_CTX *ctx, in check_crl_chain()
1495 static int get_crl_delta(X509_STORE_CTX *ctx, in get_crl_delta()
1537 static int check_crl(X509_STORE_CTX *ctx, X509_CRL *crl) in check_crl()
1612 static int cert_crl(X509_STORE_CTX *ctx, X509_CRL *crl, X509 *x) in cert_crl()
1641 static int check_policy(X509_STORE_CTX *ctx) in check_policy()
1718 int ossl_x509_check_cert_time(X509_STORE_CTX *ctx, X509 *x, int depth) in ossl_x509_check_cert_time()
1748 static int internal_verify(X509_STORE_CTX *ctx) in internal_verify()
2131 int X509_STORE_CTX_set_ex_data(X509_STORE_CTX *ctx, int idx, void *data) in X509_STORE_CTX_set_ex_data()
2136 void *X509_STORE_CTX_get_ex_data(const X509_STORE_CTX *ctx, int idx) in X509_STORE_CTX_get_ex_data()
2141 int X509_STORE_CTX_get_error(const X509_STORE_CTX *ctx) in X509_STORE_CTX_get_error()
2146 void X509_STORE_CTX_set_error(X509_STORE_CTX *ctx, int err) in X509_STORE_CTX_set_error()
2151 int X509_STORE_CTX_get_error_depth(const X509_STORE_CTX *ctx) in X509_STORE_CTX_get_error_depth()
2156 void X509_STORE_CTX_set_error_depth(X509_STORE_CTX *ctx, int depth) in X509_STORE_CTX_set_error_depth()
2161 X509 *X509_STORE_CTX_get_current_cert(const X509_STORE_CTX *ctx) in X509_STORE_CTX_get_current_cert()
2166 void X509_STORE_CTX_set_current_cert(X509_STORE_CTX *ctx, X509 *x) in X509_STORE_CTX_set_current_cert()
2183 X509 *X509_STORE_CTX_get0_current_issuer(const X509_STORE_CTX *ctx) in X509_STORE_CTX_get0_current_issuer()
2188 X509_CRL *X509_STORE_CTX_get0_current_crl(const X509_STORE_CTX *ctx) in X509_STORE_CTX_get0_current_crl()
2193 X509_STORE_CTX *X509_STORE_CTX_get0_parent_ctx(const X509_STORE_CTX *ctx) in X509_STORE_CTX_get0_parent_ctx()
2198 void X509_STORE_CTX_set_cert(X509_STORE_CTX *ctx, X509 *x) in X509_STORE_CTX_set_cert()
2203 void X509_STORE_CTX_set0_crls(X509_STORE_CTX *ctx, STACK_OF(X509_CRL) *sk) in X509_STORE_CTX_set0_crls()
2208 int X509_STORE_CTX_set_purpose(X509_STORE_CTX *ctx, int purpose) in X509_STORE_CTX_set_purpose()
2218 int X509_STORE_CTX_set_trust(X509_STORE_CTX *ctx, int trust) in X509_STORE_CTX_set_trust()
2237 int X509_STORE_CTX_purpose_inherit(X509_STORE_CTX *ctx, int def_purpose, in X509_STORE_CTX_purpose_inherit()
2290 X509_STORE_CTX *ctx = OPENSSL_zalloc(sizeof(*ctx)); in X509_STORE_CTX_new_ex() local
2315 void X509_STORE_CTX_free(X509_STORE_CTX *ctx) in X509_STORE_CTX_free()
2327 int X509_STORE_CTX_init(X509_STORE_CTX *ctx, X509_STORE *store, X509 *x509, in X509_STORE_CTX_init()
2473 void X509_STORE_CTX_set0_trusted_stack(X509_STORE_CTX *ctx, STACK_OF(X509) *sk) in X509_STORE_CTX_set0_trusted_stack()
2480 void X509_STORE_CTX_cleanup(X509_STORE_CTX *ctx) in X509_STORE_CTX_cleanup()
2506 void X509_STORE_CTX_set_depth(X509_STORE_CTX *ctx, int depth) in X509_STORE_CTX_set_depth()
2511 void X509_STORE_CTX_set_flags(X509_STORE_CTX *ctx, unsigned long flags) in X509_STORE_CTX_set_flags()
2516 void X509_STORE_CTX_set_time(X509_STORE_CTX *ctx, unsigned long flags, in X509_STORE_CTX_set_time()
2522 X509 *X509_STORE_CTX_get0_cert(const X509_STORE_CTX *ctx) in X509_STORE_CTX_get0_cert()
2532 void X509_STORE_CTX_set0_untrusted(X509_STORE_CTX *ctx, STACK_OF(X509) *sk) in X509_STORE_CTX_set0_untrusted()
2537 void X509_STORE_CTX_set0_verified_chain(X509_STORE_CTX *ctx, STACK_OF(X509) *sk) in X509_STORE_CTX_set0_verified_chain()
2543 void X509_STORE_CTX_set_verify_cb(X509_STORE_CTX *ctx, in X509_STORE_CTX_set_verify_cb()
2549 X509_STORE_CTX_verify_cb X509_STORE_CTX_get_verify_cb(const X509_STORE_CTX *ctx) in X509_STORE_CTX_get_verify_cb()
2554 void X509_STORE_CTX_set_verify(X509_STORE_CTX *ctx, in X509_STORE_CTX_set_verify()
2560 X509_STORE_CTX_verify_fn X509_STORE_CTX_get_verify(const X509_STORE_CTX *ctx) in X509_STORE_CTX_get_verify()
2566 X509_STORE_CTX_get_get_issuer(const X509_STORE_CTX *ctx) in X509_STORE_CTX_get_get_issuer()
2572 X509_STORE_CTX_get_check_issued(const X509_STORE_CTX *ctx) in X509_STORE_CTX_get_check_issued()
2578 X509_STORE_CTX_get_check_revocation(const X509_STORE_CTX *ctx) in X509_STORE_CTX_get_check_revocation()
2583 X509_STORE_CTX_get_crl_fn X509_STORE_CTX_get_get_crl(const X509_STORE_CTX *ctx) in X509_STORE_CTX_get_get_crl()
2589 X509_STORE_CTX_get_check_crl(const X509_STORE_CTX *ctx) in X509_STORE_CTX_get_check_crl()
2595 X509_STORE_CTX_get_cert_crl(const X509_STORE_CTX *ctx) in X509_STORE_CTX_get_cert_crl()
2601 X509_STORE_CTX_get_check_policy(const X509_STORE_CTX *ctx) in X509_STORE_CTX_get_check_policy()
2607 X509_STORE_CTX_get_lookup_certs(const X509_STORE_CTX *ctx) in X509_STORE_CTX_get_lookup_certs()
2613 X509_STORE_CTX_get_lookup_crls(const X509_STORE_CTX *ctx) in X509_STORE_CTX_get_lookup_crls()
2618 X509_STORE_CTX_cleanup_fn X509_STORE_CTX_get_cleanup(const X509_STORE_CTX *ctx) in X509_STORE_CTX_get_cleanup()
2623 X509_POLICY_TREE *X509_STORE_CTX_get0_policy_tree(const X509_STORE_CTX *ctx) in X509_STORE_CTX_get0_policy_tree()
2628 int X509_STORE_CTX_get_explicit_policy(const X509_STORE_CTX *ctx) in X509_STORE_CTX_get_explicit_policy()
2633 int X509_STORE_CTX_get_num_untrusted(const X509_STORE_CTX *ctx) in X509_STORE_CTX_get_num_untrusted()
2638 int X509_STORE_CTX_set_default(X509_STORE_CTX *ctx, const char *name) in X509_STORE_CTX_set_default()
2648 X509_VERIFY_PARAM *X509_STORE_CTX_get0_param(const X509_STORE_CTX *ctx) in X509_STORE_CTX_get0_param()
2653 void X509_STORE_CTX_set0_param(X509_STORE_CTX *ctx, X509_VERIFY_PARAM *param) in X509_STORE_CTX_set0_param()
2659 void X509_STORE_CTX_set0_dane(X509_STORE_CTX *ctx, SSL_DANE *dane) in X509_STORE_CTX_set0_dane()
2697 static int dane_match(X509_STORE_CTX *ctx, X509 *cert, int depth) in dane_match()
2840 static int check_dane_issuer(X509_STORE_CTX *ctx, int depth) in check_dane_issuer()
2865 static int check_dane_pkeys(X509_STORE_CTX *ctx) in check_dane_pkeys()
2913 static int check_leaf_suiteb(X509_STORE_CTX *ctx, X509 *cert) in check_leaf_suiteb()
2922 static int dane_verify(X509_STORE_CTX *ctx) in dane_verify()
2988 static int get1_trusted_issuer(X509 **issuer, X509_STORE_CTX *ctx, X509 *cert) in get1_trusted_issuer()
3004 static int build_chain(X509_STORE_CTX *ctx) in build_chain()
3350 X509_STORE_CTX *ctx; in STACK_OF() local
3398 static int check_key_level(X509_STORE_CTX *ctx, X509 *cert) in check_key_level()
3453 static int check_sig_level(X509_STORE_CTX *ctx, X509 *cert) in check_sig_level()