• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/openssl/crypto/x509/

Lines Matching defs:int

112 static int null_callback(int ok, X509_STORE_CTX *e);
113 static int check_issued(X509_STORE_CTX *ctx, X509 *x, X509 *issuer);
115 static int check_chain_extensions(X509_STORE_CTX *ctx);
116 static int check_name_constraints(X509_STORE_CTX *ctx);
117 static int check_id(X509_STORE_CTX *ctx);
118 static int check_trust(X509_STORE_CTX *ctx);
119 static int check_revocation(X509_STORE_CTX *ctx);
120 static int check_cert(X509_STORE_CTX *ctx);
121 static int check_policy(X509_STORE_CTX *ctx);
123 static int get_crl_score(X509_STORE_CTX *ctx, X509 **pissuer,
124 unsigned int *preasons, X509_CRL *crl, X509 *x);
125 static int get_crl_delta(X509_STORE_CTX *ctx,
128 int *pcrl_score, X509_CRL *base,
131 int *pcrl_score);
132 static int crl_crldp_check(X509 *x, X509_CRL *crl, int crl_score,
133 unsigned int *preasons);
134 static int check_crl_path(X509_STORE_CTX *ctx, X509 *x);
135 static int check_crl_chain(X509_STORE_CTX *ctx,
139 static int internal_verify(X509_STORE_CTX *ctx);
142 static int null_callback(int ok, X509_STORE_CTX *e)
148 static int x509_subject_cmp(X509 **a, X509 **b)
154 static int cert_self_signed(X509 *x)
169 int i;
188 int X509_verify_cert(X509_STORE_CTX *ctx)
191 int bad_chain = 0;
193 int depth, i, ok = 0;
194 int num, j, retry;
195 int (*cb) (int xok, X509_STORE_CTX *xctx);
197 int trust = X509_TRUST_UNTRUSTED;
198 int err;
527 int i;
539 static int check_issued(X509_STORE_CTX *ctx, X509 *x, X509 *issuer)
541 int ret;
557 static int get_issuer_sk(X509 **issuer, X509_STORE_CTX *ctx, X509 *x)
572 static int check_chain_extensions(X509_STORE_CTX *ctx)
577 int i, ok = 0, must_be_ca, plen = 0;
579 int (*cb) (int xok, X509_STORE_CTX *xctx);
580 int proxy_path_length = 0;
581 int purpose;
582 int allow_proxy_certs;
614 int ret;
719 static int check_name_constraints(X509_STORE_CTX *ctx)
722 int i, j, rv;
752 static int check_id_error(X509_STORE_CTX *ctx, int errcode)
760 static int check_hosts(X509 *x, X509_VERIFY_PARAM_ID *id)
762 int i;
763 int n = sk_OPENSSL_STRING_num(id->hosts);
778 static int check_id(X509_STORE_CTX *ctx)
798 static int check_trust(X509_STORE_CTX *ctx)
800 int i, ok;
802 int (*cb) (int xok, X509_STORE_CTX *xctx);
849 static int check_revocation(X509_STORE_CTX *ctx)
851 int i, last, ok;
871 static int check_cert(X509_STORE_CTX *ctx)
875 int ok, cnum;
876 unsigned int last_reasons;
945 static int check_crl_time(X509_STORE_CTX *ctx, X509_CRL *crl, int notify)
948 int i;
999 static int get_crl_sk(X509_STORE_CTX *ctx, X509_CRL **pcrl, X509_CRL **pdcrl,
1000 X509 **pissuer, int *pscore, unsigned int *preasons,
1003 int i, crl_score, best_score = *pscore;
1004 unsigned int reasons, best_reasons = 0;
1048 static int crl_extension_match(X509_CRL *a, X509_CRL *b, int nid)
1051 int i;
1085 static int check_delta_base(X509_CRL *delta, X509_CRL *base)
1115 static void get_delta_sk(X509_STORE_CTX *ctx, X509_CRL **dcrl, int *pscore,
1119 int i;
1145 static int get_crl_score(X509_STORE_CTX *ctx, X509 **pissuer,
1146 unsigned int *preasons, X509_CRL *crl, X509 *x)
1149 int crl_score = 0;
1150 unsigned int tmp_reasons = *preasons, crl_reasons;
1208 X509 **pissuer, int *pcrl_score)
1212 int cidx = ctx->error_depth;
1213 int i;
1267 static int check_crl_path(X509_STORE_CTX *ctx, X509 *x)
1270 int ret;
1307 static int check_crl_chain(X509_STORE_CTX *ctx,
1327 static int idp_check_dp(DIST_POINT_NAME *a, DIST_POINT_NAME *b)
1332 int i, j;
1385 static int crldp_check_crlissuer(DIST_POINT *dp, X509_CRL *crl, int crl_score)
1387 int i;
1404 static int crl_crldp_check(X509 *x, X509_CRL *crl, int crl_score,
1405 unsigned int *preasons)
1407 int i;
1438 static int get_crl_delta(X509_STORE_CTX *ctx,
1441 int ok;
1443 int crl_score = 0;
1444 unsigned int reasons;
1483 static int check_crl(X509_STORE_CTX *ctx, X509_CRL *crl)
1487 int ok = 0, chnum, cnum;
1565 int rv;
1591 static int cert_crl(X509_STORE_CTX *ctx, X509_CRL *crl, X509 *x)
1593 int ok;
1624 static int check_policy(X509_STORE_CTX *ctx)
1626 int ret;
1641 int i;
1669 static int check_cert_time(X509_STORE_CTX *ctx, X509 *x)
1672 int i;
1712 static int internal_verify(X509_STORE_CTX *ctx)
1714 int ok = 0, n;
1717 int (*cb) (int xok, X509_STORE_CTX *xctx);
1801 int X509_cmp_current_time(const ASN1_TIME *ctm)
1806 int X509_cmp_time(const ASN1_TIME *ctm, time_t *cmp_time)
1812 int i, j, remaining;
1825 int min_length = sizeof("YYMMDDHHMMZ") - 1;
1826 int max_length = sizeof("YYMMDDHHMMSS+hhmm") - 1;
1835 int min_length = sizeof("YYYYMMDDHHMMZ") - 1;
1836 int max_length = sizeof("YYYYMMDDHHMMSS.fff+hhmm") - 1;
1934 int offset_day, long offset_sec, time_t *in_tm)
1952 int X509_get_pubkey_parameters(EVP_PKEY *pkey, STACK_OF(X509) *chain)
1955 int i, j;
1996 EVP_PKEY *skey, const EVP_MD *md, unsigned int flags)
1999 int i;
2101 int X509_STORE_CTX_get_ex_new_index(long argl, void *argp,
2114 int X509_STORE_CTX_set_ex_data(X509_STORE_CTX *ctx, int idx, void *data)
2119 void *X509_STORE_CTX_get_ex_data(X509_STORE_CTX *ctx, int idx)
2124 int X509_STORE_CTX_get_error(X509_STORE_CTX *ctx)
2129 void X509_STORE_CTX_set_error(X509_STORE_CTX *ctx, int err)
2134 int X509_STORE_CTX_get_error_depth(X509_STORE_CTX *ctx)
2186 int X509_STORE_CTX_set_purpose(X509_STORE_CTX *ctx, int purpose)
2191 int X509_STORE_CTX_set_trust(X509_STORE_CTX *ctx, int trust)
2207 int X509_STORE_CTX_purpose_inherit(X509_STORE_CTX *ctx, int def_purpose,
2208 int purpose, int trust)
2210 int idx;
2273 int X509_STORE_CTX_init(X509_STORE_CTX *ctx, X509_STORE *store, X509 *x509,
2276 int ret = 1;
2436 void X509_STORE_CTX_set_depth(X509_STORE_CTX *ctx, int depth)
2453 int (*verify_cb) (int, X509_STORE_CTX *))
2463 int X509_STORE_CTX_get_explicit_policy(X509_STORE_CTX *ctx)
2468 int X509_STORE_CTX_set_default(X509_STORE_CTX *ctx, const char *name)