Lines Matching refs:tag
79 serial->tag = *(*p)++; in mbedtls_x509_get_serial()
188 if (alg->tag != (MBEDTLS_ASN1_CONSTRUCTED | MBEDTLS_ASN1_SEQUENCE)) { in x509_get_hash_alg()
202 md_oid.tag = *p; in x509_get_hash_alg()
261 if (params->tag != (MBEDTLS_ASN1_CONSTRUCTED | MBEDTLS_ASN1_SEQUENCE)) { in mbedtls_x509_get_rsassa_pss_params()
428 oid->tag = **p; in x509_get_attr_type_value()
451 val->tag = *(*p)++; in x509_get_attr_type_value()
654 unsigned char tag; in mbedtls_x509_get_time() local
661 tag = **p; in mbedtls_x509_get_time()
663 if (tag == MBEDTLS_ASN1_UTC_TIME) { in mbedtls_x509_get_time()
665 } else if (tag == MBEDTLS_ASN1_GENERALIZED_TIME) { in mbedtls_x509_get_time()
706 sig->tag = tag_type; in mbedtls_x509_get_sig()
755 if ((sig_params->tag != MBEDTLS_ASN1_NULL && sig_params->tag != 0) || in mbedtls_x509_get_sig_alg()
769 mbedtls_x509_buf *ext, int tag) in mbedtls_x509_get_ext() argument
778 MBEDTLS_ASN1_CONTEXT_SPECIFIC | MBEDTLS_ASN1_CONSTRUCTED | tag); in mbedtls_x509_get_ext()
783 ext->tag = MBEDTLS_ASN1_CONTEXT_SPECIFIC | MBEDTLS_ASN1_CONSTRUCTED | tag; in mbedtls_x509_get_ext()
843 print_hexstring = (name->val.tag != MBEDTLS_ASN1_UTF8_STRING) && in mbedtls_x509_dn_gets()
844 (name->val.tag != MBEDTLS_ASN1_PRINTABLE_STRING) && in mbedtls_x509_dn_gets()
845 (name->val.tag != MBEDTLS_ASN1_IA5_STRING); in mbedtls_x509_dn_gets()
871 if ((ret = mbedtls_asn1_write_tag(&asn1_len_p, asn1_tag_len_buf, name->val.tag)) < 0) { in mbedtls_x509_dn_gets()
1135 if ((subject_alt_name->tag & in x509_get_other_name()
1149 cur_oid.tag = MBEDTLS_ASN1_OID; in x509_get_other_name()
1187 other_name->value.hardware_module_name.oid.tag = MBEDTLS_ASN1_OID; in x509_get_other_name()
1197 other_name->value.hardware_module_name.val.tag = MBEDTLS_ASN1_OCTET_STRING; in x509_get_other_name()
1226 tmp_san_buf.tag = **p; in mbedtls_x509_get_subject_alt_name_ext()
1236 if ((tmp_san_buf.tag & MBEDTLS_ASN1_TAG_CLASS_MASK) != in mbedtls_x509_get_subject_alt_name_ext()
1398 switch (san_buf->tag & in mbedtls_x509_parse_subject_alt_name()