Home
last modified time | relevance | path

Searched refs:depth (Results 1 – 25 of 67) sorted by relevance

123

/openssl/util/
H A Dsu-filter.pl181 my $depth = shift;
218 if($depth != 0) {
226 if($depth == 1) {
230 if($depth == 1) {
241 if($depth == 0) {
242 $out .= displayData("$indent ", $depth+1, $item);
244 $out .= "{\n".displayData("$indent ", $depth+1, $item)."\n".$indent."}";
H A Dcheck-format-test-negatives.c299 #define CB_ERR_IF(cond, ctx, cert, depth, err) \ argument
300 if ((cond) && ((depth) < 0 || verify_cb_cert(ctx, cert, depth, err) == 0)) \
319 #define X509_STORE_CTX_set_error_depth(ctx, depth) \ argument
320 { (ctx)->error_depth = (depth); }
/openssl/crypto/asn1/
H A Dasn1_parse.c21 int offset, int depth, int indent, int dump);
22 static int asn1_print_info(BIO *bp, long offset, int depth, int hl, long len, in asn1_print_info() argument
38 offset, depth, (long)hl, len, p) <= 0) in asn1_print_info()
42 offset, depth, (long)hl, p) <= 0) in asn1_print_info()
95 int offset, int depth, int indent, int dump) in asn1_parse2() argument
108 if (depth > ASN1_PARSE_MAXDEPTH) { in asn1_parse2()
128 if (!asn1_print_info(bp, (long)offset + (long)(op - *pp), depth, in asn1_parse2()
129 hl, len, tag, xclass, j, (indent) ? depth : 0)) in asn1_parse2()
144 offset + (p - *pp), depth + 1, in asn1_parse2()
159 offset + (p - *pp), depth + 1, in asn1_parse2()
H A Dtasn_dec.c31 int depth, OSSL_LIB_CTX *libctx,
38 char inf, int tag, int aclass, int depth);
55 ASN1_TLC *ctx, int depth,
165 int depth, OSSL_LIB_CTX *libctx, in asn1_item_embed_d2i() argument
195 if (++depth > ASN1_MAX_CONSTRUCTED_NEST) { in asn1_item_embed_d2i()
215 depth, libctx, propq); in asn1_item_embed_d2i()
423 depth, libctx, propq); in asn1_item_embed_d2i()
499 ASN1_TLC *ctx, int depth, in asn1_template_ex_d2i() argument
571 ASN1_TLC *ctx, int depth, in asn1_template_noexp_d2i() argument
674 ctx, depth, libctx, propq); in asn1_template_noexp_d2i()
[all …]
H A Dasn1_gen.c66 static ASN1_TYPE *generate_v3(const char *str, X509V3_CTX *cnf, int depth,
75 int depth, int *perr);
99 static ASN1_TYPE *generate_v3(const char *str, X509V3_CTX *cnf, int depth, in generate_v3() argument
132 if (depth >= ASN1_GEN_SEQ_MAX_DEPTH) { in generate_v3()
136 ret = asn1_multi(asn1_tags.utype, asn1_tags.str, cnf, depth, perr); in generate_v3()
403 int depth, int *perr) in asn1_multi() argument
423 depth + 1, perr); in asn1_multi()
/openssl/crypto/bn/
H A Dbn_ctx.c51 unsigned int depth, size; member
99 while (fpidx < stack->depth) { in ctxdbg()
251 st->depth = st->size = 0; in BN_STACK_init()
263 if (st->depth == st->size) { in BN_STACK_push()
271 if (st->depth) in BN_STACK_push()
272 memcpy(newitems, st->indexes, sizeof(*newitems) * st->depth); in BN_STACK_push()
277 st->indexes[(st->depth)++] = idx; in BN_STACK_push()
283 return st->indexes[--(st->depth)]; in BN_STACK_pop()
/openssl/doc/man3/
H A DSSL_CTX_set_verify.pod24 void SSL_CTX_set_verify_depth(SSL_CTX *ctx, int depth);
25 void SSL_set_verify_depth(SSL *ssl, int depth);
169 The default depth limit is 100,
269 int err, depth;
275 depth = X509_STORE_CTX_get_error_depth(ctx);
287 * Catch a too long certificate chain. The depth limit set using
289 * that whenever the "depth>verify_depth" condition is met, we
295 if (depth > mydata->verify_depth) {
301 printf("verify error:num=%d:%s:depth=%d:%s\n", err,
302 X509_verify_cert_error_string(err), depth, buf);
[all …]
H A DSSL_CTX_get_verify_mode.pod26 SSL_CTX_get_verify_depth() returns the verification depth limit currently set
30 SSL_get_verify_depth() returns the verification depth limit currently set
H A DX509_STORE_CTX_set_verify_cb.pod168 int err, depth;
172 depth = X509_STORE_CTX_get_error_depth(ctx);
174 BIO_printf(bio_err, "depth=%d ", depth);
H A DSSL_CTX_dane_enable.pod98 number indicating the depth at which a TA record matched an issuer certificate.
115 In this case the return value is the depth of the top-most element of the
123 The return value indicates the match depth or failure to match just as with
176 nonnegative value indicates the chain depth at which the TLSA record matched a
177 chain certificate, or the depth of the top-most certificate, when the TLSA
306 int depth = SSL_get0_dane_authority(ssl, NULL, &mspki);
307 if (depth >= 0) {
311 printf("%s certificate at depth %d\n",
/openssl/external/perl/Text-Template-1.56/lib/Text/
H A DTemplate.pm206 my $depth = 0;
218 if ($depth == 0) {
227 $depth++;
230 $depth--;
231 if ($depth < 0) {
235 elsif ($depth == 0) {
/openssl/test/quic-openssl-docker/
H A DDockerfile19 RUN git clone --depth 1 https://github.com/ngtcp2/nghttp3.git && \
29 RUN git clone --depth 1 -b $OPENSSL_BRANCH $OPENSSL_URL && \
36 RUN git clone --depth 1 https://github.com/curl/curl.git && \
/openssl/.github/workflows/
H A Drun-checker-daily.yml144 run: git submodule update --init --depth 1 fuzz/corpora
163 run: git submodule update --init --depth 1 fuzz/corpora
211 run: git submodule update --init --depth 1 fuzz/corpora
233 run: git submodule update --init --depth 1 fuzz/corpora
255 run: git submodule update --init --depth 1 fuzz/corpora
278 run: git submodule update --init --depth 1 fuzz/corpora
300 run: git submodule update --init --depth 1 fuzz/corpora
326 run: git submodule update --init --depth 1 fuzz/corpora
350 run: git submodule update --init --depth 1 fuzz/corpora
365 run: git submodule update --init --depth 1 fuzz/corpora
H A Dci.yml37 fetch-depth: 0
81 run: git submodule update --init --depth 1 fuzz/corpora
112 run: git submodule update --init --depth 1 fuzz/corpora
159 run: git submodule update --init --depth 1 fuzz/corpora
181 run: git submodule update --init --depth 1 fuzz/corpora
203 run: git submodule update --init --depth 1 fuzz/corpora
229 run: git submodule update --init --depth 1 fuzz/corpora
251 run: git submodule update --init --depth 1 fuzz/corpora
277 run: git submodule update --init --depth 1 fuzz/corpora
303 run: git submodule update --init --depth 1 fuzz/corpora
[all …]
H A Dwindows.yml34 run: git submodule update --init --depth 1 fuzz/corpora
101 run: git submodule update --init --depth 1 fuzz/corpora
138 run: git submodule update --init --depth 1 fuzz/corpora
197 # run: bash -c "pwd && git clone --branch ${{ github.ref_name }} --depth 1 https://github.com/…
H A Dbuild_quic_interop_container.yml14 fetch-depth: 0
/openssl/crypto/x509/
H A Dx509_vfy.c160 if (depth < 0) in verify_cb_cert()
161 depth = ctx->error_depth; in verify_cb_cert()
163 ctx->error_depth = depth; in verify_cb_cert()
1831 if (i >= 0 && depth < 0) in ossl_x509_check_cert_time()
1837 if (i <= 0 && depth < 0) in ossl_x509_check_cert_time()
2284 ctx->error_depth = depth; in X509_STORE_CTX_set_error_depth()
2867 if (depth >= ctx->num_untrusted) in dane_match_cert()
2973 dane->mdpth = depth; in dane_match_cert()
3007 ctx->num_untrusted = depth - 1; in check_dane_issuer()
3307 if (ctx->param->depth > INT_MAX / 2) in build_chain()
[all …]
H A Dby_store.c18 int depth, OSSL_LIB_CTX *libctx, const char *propq) in cache_objects() argument
65 if (depth > 0) in cache_objects()
67 criterion, depth - 1, libctx, propq); in cache_objects()
H A Dx509_vpm.c91 param->depth = -1; in X509_VERIFY_PARAM_new()
172 x509_verify_param_copy(depth, -1); in X509_VERIFY_PARAM_inherit()
309 void X509_VERIFY_PARAM_set_depth(X509_VERIFY_PARAM *param, int depth) in X509_VERIFY_PARAM_set_depth() argument
311 param->depth = depth; in X509_VERIFY_PARAM_set_depth()
485 return param->depth; in X509_VERIFY_PARAM_get_depth()
H A Dx509_local.h28 int depth; /* Verify depth */ member
42 int ossl_x509_check_cert_time(X509_STORE_CTX *ctx, X509 *x, int depth);
/openssl/providers/implementations/include/prov/
H A Dblake2.h35 uint8_t depth; /* 4 */ member
59 uint8_t depth; /* 4 */ member
/openssl/doc/man1/
H A Dopenssl-verify.pod.in113 error 24 at 1 depth lookup:invalid CA certificate
117 and the depth. The depth is number of the certificate being verified when a
/openssl/crypto/
H A Dthreads_win.c77 unsigned int depth; member
282 data->thread_qps[available_qp].depth = 1; in ossl_rcu_read_lock()
307 data->thread_qps[i].depth--; in ossl_rcu_read_unlock()
308 if (data->thread_qps[i].depth == 0) { in ossl_rcu_read_unlock()
H A Dthreads_pthread.c303 unsigned int depth; member
452 data->thread_qps[i].depth++; in ossl_rcu_read_lock()
463 data->thread_qps[available_qp].depth = 1; in ossl_rcu_read_lock()
483 data->thread_qps[i].depth--; in ossl_rcu_read_unlock()
484 if (data->thread_qps[i].depth == 0) { in ossl_rcu_read_unlock()
/openssl/test/recipes/95-test_external_oqsprovider_data/
H A Doqsprovider.sh55 && git clone --depth 1 --branch 0.11.0 https://github.com/open-quantum-safe/liboqs.git \

Completed in 55 milliseconds

123