Home
last modified time | relevance | path

Searched refs:max_pathlen (Results 1 – 6 of 6) sorted by relevance

/third_party/mbedtls/tests/data_files/dir4/
DReadme5 cert11.crt -> cert12.crt (max_pathlen=0) -> cert13.crt -> cert14.crt
10 cert21.crt (max_pathlen=0) -> cert22.crt -> cert23.crt
15 cert31.crt (max_pathlen=1) -> cert32.crt -> cert33.crt -> cert34.crt
20 cert41.crt -> cert42.crt (max_pathlen=1) -> cert43.crt -> cert44.crt -> cert45.crt
25 cert51.crt -> cert52.crt (max_pathlen=1) -> cert53.crt -> cert54.crt
30 cert61.crt (max_pathlen=1) -> cert62.crt -> cert63.crt
36 cert71.crt (max_pathlen=1) -> cert72.crt -> cert73.crt (self signed) -> cert74.crt -> cert74.crt
41 cert81.crt -> cert82.crt (max_pathlen=0) -> cert83.crt
46 cert91.crt (max_pathlen=0) -> cert92.crt
/third_party/mbedtls/programs/x509/
Dcert_write.c197 int max_pathlen; /* maximum CA path length */ member
353 opt.max_pathlen = DFL_MAX_PATHLEN; in main()
457 opt.max_pathlen = atoi(q); in main()
458 if (opt.max_pathlen < -1 || opt.max_pathlen > 127) { in main()
763 opt.max_pathlen); in main()
/third_party/mbedtls/library/
Dx509write_crt.c166 int is_ca, int max_pathlen) in mbedtls_x509write_crt_set_basic_constraints() argument
175 if (is_ca && max_pathlen > 127) { in mbedtls_x509write_crt_set_basic_constraints()
180 if (max_pathlen >= 0) { in mbedtls_x509write_crt_set_basic_constraints()
182 max_pathlen)); in mbedtls_x509write_crt_set_basic_constraints()
Dx509_crt.c504 int *max_pathlen) in x509_get_basic_constraints() argument
515 *max_pathlen = 0; /* endless */ in x509_get_basic_constraints()
544 if ((ret = mbedtls_asn1_get_int(p, end, max_pathlen)) != 0) { in x509_get_basic_constraints()
555 if (*max_pathlen == INT_MAX) { in x509_get_basic_constraints()
560 (*max_pathlen)++; in x509_get_basic_constraints()
866 &crt->ca_istrue, &crt->max_pathlen)) != 0) { in x509_get_crt_ext()
1689 if (crt->max_pathlen > 0) { in mbedtls_x509_crt_info()
1690 ret = mbedtls_snprintf(p, n, ", max_pathlen=%d", crt->max_pathlen - 1); in mbedtls_x509_crt_info()
2151 if (parent->max_pathlen > 0 && in x509_crt_find_parent_in()
2152 (size_t) parent->max_pathlen < 1 + path_cnt - self_cnt) { in x509_crt_find_parent_in()
/third_party/mbedtls/include/mbedtls/
Dx509_crt.h85 …int MBEDTLS_PRIVATE(max_pathlen); /**< Optional Basic Constraint extension value: The m…
1070 int is_ca, int max_pathlen);
/third_party/mbedtls/
DChangeLog3630 * The X509 max_pathlen constraint was not enforced on intermediate