Home
last modified time | relevance | path

Searched refs:ext_type (Results 1 – 7 of 7) sorted by relevance

/mbedtls-latest/library/
Dx509_csr.c76 int ext_type = 0; in x509_csr_parse_extensions() local
118 ret = mbedtls_oid_get_x509_ext_type(&extn_oid, &ext_type); in x509_csr_parse_extensions()
143 if ((csr->ext_types & ext_type) != 0) { in x509_csr_parse_extensions()
148 csr->ext_types |= ext_type; in x509_csr_parse_extensions()
150 switch (ext_type) { in x509_csr_parse_extensions()
Doid.c270 int ext_type; member
328 FN_OID_GET_ATTR1(mbedtls_oid_get_x509_ext_type, oid_x509_ext_t, x509_ext, int, ext_type)
Dx509_crt.c890 int ext_type = 0; in x509_get_crt_ext() local
932 ret = mbedtls_oid_get_x509_ext_type(&extn_oid, &ext_type); in x509_get_crt_ext()
957 if ((crt->ext_types & ext_type) != 0) { in x509_get_crt_ext()
961 crt->ext_types |= ext_type; in x509_get_crt_ext()
963 switch (ext_type) { in x509_get_crt_ext()
/mbedtls-latest/tests/suites/
Dtest_suite_oid.function60 int ext_type;
66 ret = mbedtls_oid_get_x509_ext_type(&ext_oid, &ext_type);
71 TEST_ASSERT(ext_type == exp_type);
Dtest_suite_x509parse.function463 void x509_accessor_ext_types(int ext_type, int has_ext_type)
466 int expected_result = ext_type & has_ext_type;
471 crt.ext_types = ext_type;
/mbedtls-latest/include/mbedtls/
Dx509_crt.h914 int ext_type) in mbedtls_x509_crt_has_ext_type() argument
916 return ctx->MBEDTLS_PRIVATE(ext_types) & ext_type; in mbedtls_x509_crt_has_ext_type()
Doid.h525 int mbedtls_oid_get_x509_ext_type(const mbedtls_asn1_buf *oid, int *ext_type);