Searched refs:ext_type (Results 1 – 7 of 7) sorted by relevance
76 int ext_type = 0; in x509_csr_parse_extensions() local118 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()
270 int ext_type; member328 FN_OID_GET_ATTR1(mbedtls_oid_get_x509_ext_type, oid_x509_ext_t, x509_ext, int, ext_type)
890 int ext_type = 0; in x509_get_crt_ext() local932 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()
60 int ext_type;66 ret = mbedtls_oid_get_x509_ext_type(&ext_oid, &ext_type);71 TEST_ASSERT(ext_type == exp_type);
463 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;
914 int ext_type) in mbedtls_x509_crt_has_ext_type() argument916 return ctx->MBEDTLS_PRIVATE(ext_types) & ext_type; in mbedtls_x509_crt_has_ext_type()
525 int mbedtls_oid_get_x509_ext_type(const mbedtls_asn1_buf *oid, int *ext_type);