Home
last modified time | relevance | path

Searched refs:MBEDTLS_ASN1_OID (Results 1 – 20 of 20) sorted by relevance

/third_party/mbedtls/tests/suites/
Dtest_suite_oid.function21 asn1_buf.tag = MBEDTLS_ASN1_OID;
42 asn1_buf.tag = MBEDTLS_ASN1_OID;
63 ext_oid.tag = MBEDTLS_ASN1_OID;
84 md_oid.tag = MBEDTLS_ASN1_OID;
107 input_oid.tag = MBEDTLS_ASN1_OID;
Dtest_suite_asn1write.data197 mbedtls_asn1_write_string:MBEDTLS_ASN1_OID:"":"0600"
200 mbedtls_asn1_write_string:MBEDTLS_ASN1_OID:"41":"060141"
Dtest_suite_x509parse.function315 if (oid->tag == MBEDTLS_ASN1_OID &&
357 MBEDTLS_ASN1_OID)) != 0) {
1093 oid.tag = MBEDTLS_ASN1_OID;
1328 oid.tag = MBEDTLS_ASN1_OID;
1353 oid.tag = MBEDTLS_ASN1_OID;
Dtest_suite_asn1parse.function102 case MBEDTLS_ASN1_OID:
661 TEST_EQUAL(oid.tag, MBEDTLS_ASN1_OID);
676 TEST_EQUAL(oid.tag, MBEDTLS_ASN1_OID);
Dtest_suite_x509write.function84 * - 1 byte for MBEDTLS_ASN1_OID tag
458 x.tag = MBEDTLS_ASN1_OID; \
Dtest_suite_asn1write.function216 case MBEDTLS_ASN1_OID:
324 TEST_EQUAL(alg.tag, MBEDTLS_ASN1_OID);
/third_party/mbedtls/library/
Dx509_csr.c95 MBEDTLS_ASN1_OID)) != 0) { in x509_csr_parse_extensions()
99 extn_oid.tag = MBEDTLS_ASN1_OID; in x509_csr_parse_extensions()
189 MBEDTLS_ASN1_OID)) != 0) { in x509_csr_parse_attributes()
193 attr_oid.tag = MBEDTLS_ASN1_OID; in x509_csr_parse_attributes()
Dx509.c208 if ((ret = mbedtls_asn1_get_tag(&p, end, &md_oid.len, MBEDTLS_ASN1_OID)) != 0) { in x509_get_hash_alg()
434 if ((ret = mbedtls_asn1_get_tag(p, end, &oid->len, MBEDTLS_ASN1_OID)) != 0) { in x509_get_attr_type_value()
1144 MBEDTLS_ASN1_OID)) != 0) { in x509_get_other_name()
1148 cur_oid.tag = MBEDTLS_ASN1_OID; in x509_get_other_name()
1181 if ((ret = mbedtls_asn1_get_tag(&p, end, &len, MBEDTLS_ASN1_OID)) != 0) { in x509_get_other_name()
1185 other_name->value.hardware_module_name.oid.tag = MBEDTLS_ASN1_OID; in x509_get_other_name()
Dpkcs7.c111 ret = mbedtls_asn1_get_tag(p, *seq_end, &len, MBEDTLS_ASN1_OID); in pkcs7_get_content_info_type()
117 pkcs7->tag = MBEDTLS_ASN1_OID; in pkcs7_get_content_info_type()
600 if ((ret = mbedtls_asn1_get_tag(&p, end, &len, MBEDTLS_ASN1_OID)) != 0) { in mbedtls_pkcs7_parse_der()
Dx509write_crt.c347 if (ext->buf.tag != MBEDTLS_ASN1_OID) { in mbedtls_x509write_crt_set_ext_key_usage()
352 MBEDTLS_ASN1_CHK_ADD(len, mbedtls_asn1_write_tag(&c, buf, MBEDTLS_ASN1_OID)); in mbedtls_x509write_crt_set_ext_key_usage()
Dpkparse.c179 if (params->tag != MBEDTLS_ASN1_OID in pk_get_ecparams()
262 if ((ret = mbedtls_asn1_get_tag(&p, end_field, &len, MBEDTLS_ASN1_OID)) != 0) { in pk_group_from_specified()
462 if (params->tag == MBEDTLS_ASN1_OID) { in pk_use_ecparams()
Dx509_crt.c576 if ((ret = mbedtls_asn1_get_sequence_of(p, end, ext_key_usage, MBEDTLS_ASN1_OID)) != 0) { in x509_get_ext_key_usage()
682 MBEDTLS_ASN1_OID)) != 0) { in x509_get_certificate_policies()
686 policy_oid.tag = MBEDTLS_ASN1_OID; in x509_get_certificate_policies()
800 MBEDTLS_ASN1_OID)) != 0) { in x509_get_crt_ext()
804 extn_oid.tag = MBEDTLS_ASN1_OID; in x509_get_crt_ext()
Dasn1parse.c408 if ((ret = mbedtls_asn1_get_tag(p, end, &alg->len, MBEDTLS_ASN1_OID)) != 0) { in mbedtls_asn1_get_alg()
Dx509_create.c336 MBEDTLS_ASN1_CHK_ADD(len, mbedtls_asn1_write_tag(p, start, MBEDTLS_ASN1_OID)); in x509_write_extension()
Dasn1write.c189 MBEDTLS_ASN1_CHK_ADD(len, mbedtls_asn1_write_tag(p, start, MBEDTLS_ASN1_OID)); in mbedtls_asn1_write_oid()
Dx509_crl.c128 MBEDTLS_ASN1_OID)) != 0) { in x509_get_crl_ext()
Drsa.c1935 *p++ = MBEDTLS_ASN1_OID; in rsa_rsassa_pkcs1_v15_encode()
/third_party/libwebsockets/lib/tls/mbedtls/
Dmbedtls-extensions.c461 MBEDTLS_ASN1_OID); in lws_x509_get_crt_ext()
465 extn_oid.MBEDTLS_PRIVATE_V30_ONLY(tag) = MBEDTLS_ASN1_OID; in lws_x509_get_crt_ext()
/third_party/mbedtls/include/mbedtls/
Dasn1.h81 #define MBEDTLS_ASN1_OID 0x06 macro
/third_party/mbedtls/programs/x509/
Dcert_write.c498 ext_key_usage->buf.tag = MBEDTLS_ASN1_OID; in main()