Home
last modified time | relevance | path

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

/optee_os-3.20.0/lib/libmbedtls/mbedtls/library/
A Dx509write_crt.c136 int is_ca, int max_pathlen ) in mbedtls_x509write_crt_set_basic_constraints() argument
145 if( is_ca && max_pathlen > 127 ) in mbedtls_x509write_crt_set_basic_constraints()
150 if( max_pathlen >= 0 ) in mbedtls_x509write_crt_set_basic_constraints()
153 max_pathlen ) ); in mbedtls_x509write_crt_set_basic_constraints()
A Dx509_crt.c476 int *max_pathlen ) in x509_get_basic_constraints() argument
487 *max_pathlen = 0; /* endless */ in x509_get_basic_constraints()
511 if( ( ret = mbedtls_asn1_get_int( p, end, max_pathlen ) ) != 0 ) in x509_get_basic_constraints()
520 if( *max_pathlen == INT_MAX ) in x509_get_basic_constraints()
524 (*max_pathlen)++; in x509_get_basic_constraints()
983 &crt->ca_istrue, &crt->max_pathlen ) ) != 0 ) in x509_get_crt_ext()
2136 if( crt->max_pathlen > 0 ) in mbedtls_x509_crt_info()
2138 ret = mbedtls_snprintf( p, n, ", max_pathlen=%d", crt->max_pathlen - 1 ); in mbedtls_x509_crt_info()
2602 if( parent->max_pathlen > 0 && in x509_crt_find_parent_in()
2603 (size_t) parent->max_pathlen < 1 + path_cnt - self_cnt ) in x509_crt_find_parent_in()
/optee_os-3.20.0/lib/libmbedtls/mbedtls/include/mbedtls/
A Dx509_crt.h84 …int max_pathlen; /**< Optional Basic Constraint extension value: The maximum path lengt… member
987 int is_ca, int max_pathlen );
/optee_os-3.20.0/lib/libmbedtls/mbedtls/
A DChangeLog2702 * The X509 max_pathlen constraint was not enforced on intermediate

Completed in 16 milliseconds