mbedTLS
mbedtls_asn1_buf::tag
is only used within mbedTLS.
Symbol previews are coming soon...
Symbols
loading...
Files
loading...
Summary
Syntax
Examples
References
Call Tree
Data Use
Class Tree
Override Tree
Implementations
Instances
Lifecycle
SourceVu
ESP-IDF Framework and Examples
mbedTLS
mbedtls_asn1_buf::tag
mbedtls_asn1_buf::tag field
ASN1 type, e.g. MBEDTLS_ASN1_UTF8_STRING.
Syntax
Show:
Summary
Declaration
from
asn1.h:142
int
tag
;
Examples
References
from
examples
Code
Location
Referrer
int
tag
;
/**< ASN1 type, e.g. MBEDTLS_ASN1_UTF8_STRING. */
asn1.h:142
cur
->
buf
.
tag
=
tag
;
asn1parse.c:330
asn1_get_sequence_of_cb()
alg
->
tag
=
*
*
p
;
asn1parse.c:367
mbedtls_asn1_get_alg()
params
->
tag
=
*
*
p
;
asn1parse.c:382
mbedtls_asn1_get_alg()
if
(
(
params
.
tag
!=
MBEDTLS_ASN1_NULL
&&
params
.
tag
!=
0
)
||
params
.
len
!=
0
)
{
asn1parse.c:412
mbedtls_asn1_get_alg_null()
oid
->
tag
=
MBEDTLS_ASN1_OID
;
oid.c:1155
mbedtls_oid_from_numeric_string()
if
(
params
->
tag
!=
(
MBEDTLS_ASN1_CONSTRUCTED
|
MBEDTLS_ASN1_SEQUENCE
)
)
{
pkcs12.c:50
pkcs12_parse_pbe_params()
if
(
params
->
tag
!=
(
MBEDTLS_ASN1_CONSTRUCTED
|
MBEDTLS_ASN1_SEQUENCE
)
)
{
pkcs5.c:49
pkcs5_parse_pbkdf2_params()
if
(
pbe_params
->
tag
!=
(
MBEDTLS_ASN1_CONSTRUCTED
|
MBEDTLS_ASN1_SEQUENCE
)
)
{
pkcs5.c:155
mbedtls_pkcs5_pbes2_ext()
if
(
enc_scheme_params
.
tag
!=
MBEDTLS_ASN1_OCTET_STRING
||
pkcs5.c:197
mbedtls_pkcs5_pbes2_ext()
pkcs7
->
tag
=
MBEDTLS_ASN1_OID
;
pkcs7.c:105
pkcs7_get_content_info_type()
signature
->
tag
=
MBEDTLS_ASN1_OCTET_STRING
;
pkcs7.c:234
pkcs7_get_signature()
if
(
signer
->
alg_identifier
.
tag
!=
alg
->
tag
||
pkcs7.c:338
pkcs7_get_signer_info()
params
->
tag
=
*
*
p
;
pkparse.c:359
pk_get_ecparams()
if
(
params
->
tag
!=
MBEDTLS_ASN1_OID
&&
pkparse.c:360
pk_get_ecparams()
!
pk_ecc_tag_is_specified_ec_domain
(
params
->
tag
)
)
{
pkparse.c:361
pk_get_ecparams()
if
(
(
ret
=
mbedtls_asn1_get_tag
(
p
,
end
,
&
params
->
len
,
params
->
tag
)
)
!=
0
)
{
pkparse.c:366
pk_get_ecparams()
if
(
params
->
tag
==
MBEDTLS_ASN1_OID
)
{
pkparse.c:394
pk_use_ecparams()
if
(
params
->
tag
!=
0
||
params
->
len
!=
0
)
{
pkparse.c:417
pk_use_ecparams_rfc8410()
(
(
params
->
tag
!=
MBEDTLS_ASN1_NULL
&&
params
->
tag
!=
0
)
||
pkparse.c:504
pk_get_pk_alg()
serial
->
tag
=
*
(
*
p
)
++
;
x509.c:79
mbedtls_x509_get_serial()
if
(
alg
->
tag
!=
(
MBEDTLS_ASN1_CONSTRUCTED
|
MBEDTLS_ASN1_SEQUENCE
)
)
{
x509.c:188
x509_get_hash_alg()
md_oid
.
tag
=
*
p
;
x509.c:202
x509_get_hash_alg()
if
(
params
->
tag
!=
(
MBEDTLS_ASN1_CONSTRUCTED
|
MBEDTLS_ASN1_SEQUENCE
)
)
{
x509.c:261
mbedtls_x509_get_rsassa_pss_params()
oid
->
tag
=
*
*
p
;
x509.c:428
x509_get_attr_type_value()
val
->
tag
=
*
(
*
p
)
++
;
x509.c:451
x509_get_attr_type_value()
sig
->
tag
=
tag_type
;
x509.c:706
mbedtls_x509_get_sig()
if
(
(
sig_params
->
tag
!=
MBEDTLS_ASN1_NULL
&&
sig_params
->
tag
!=
0
)
||
x509.c:755
mbedtls_x509_get_sig_alg()
ext
->
tag
=
MBEDTLS_ASN1_CONTEXT_SPECIFIC
|
MBEDTLS_ASN1_CONSTRUCTED
|
tag
;
x509.c:783
mbedtls_x509_get_ext()
print_hexstring
=
(
name
->
val
.
tag
!=
MBEDTLS_ASN1_UTF8_STRING
)
&&
x509.c:843
mbedtls_x509_dn_gets()
(
name
->
val
.
tag
!=
MBEDTLS_ASN1_PRINTABLE_STRING
)
&&
x509.c:844
mbedtls_x509_dn_gets()
(
name
->
val
.
tag
!=
MBEDTLS_ASN1_IA5_STRING
)
;
x509.c:845
mbedtls_x509_dn_gets()
if
(
(
ret
=
mbedtls_asn1_write_tag
(
&
asn1_len_p
,
asn1_tag_len_buf
,
name
->
val
.
tag
)
)
<
0
)
{
x509.c:871
mbedtls_x509_dn_gets()
if
(
(
subject_alt_name
->
tag
&
x509.c:1135
x509_get_other_name()
cur_oid
.
tag
=
MBEDTLS_ASN1_OID
;
x509.c:1149
x509_get_other_name()
other_name
->
value
.
hardware_module_name
.
oid
.
tag
=
MBEDTLS_ASN1_OID
;
x509.c:1187
x509_get_other_name()
other_name
->
value
.
hardware_module_name
.
val
.
tag
=
MBEDTLS_ASN1_OCTET_STRING
;
x509.c:1197
x509_get_other_name()
tmp_san_buf
.
tag
=
*
*
p
;
x509.c:1226
mbedtls_x509_get_subject_alt_name_ext()
if
(
(
tmp_san_buf
.
tag
&
MBEDTLS_ASN1_TAG_CLASS_MASK
)
!=
x509.c:1236
mbedtls_x509_get_subject_alt_name_ext()
switch
(
san_buf
->
tag
&
x509.c:1398
mbedtls_x509_parse_subject_alt_name()
mbedtls_asn1_buf
oid
=
{
.
p
=
NULL
,
.
len
=
0
,
.
tag
=
MBEDTLS_ASN1_NULL
}
;
x509_create.c:287
mbedtls_x509_string_to_names()
cur
->
val
.
tag
=
tag
;
x509_create.c:357
mbedtls_x509_string_to_names()
cur_name
->
val
.
tag
,
x509_create.c:425
x509_write_name()
ext
->
tag
=
*
*
p
;
x509_crl.c:172
x509_get_crl_entry_ext()
cur_entry
->
raw
.
tag
=
*
*
p
;
x509_crl.c:242
x509_get_entries()
if
(
a
->
tag
==
b
->
tag
&&
x509_crt.c:313
x509_string_cmp()
if
(
(
a
->
tag
==
MBEDTLS_ASN1_UTF8_STRING
||
a
->
tag
==
MBEDTLS_ASN1_PRINTABLE_STRING
)
&&
x509_crt.c:319
x509_string_cmp()
(
b
->
tag
==
MBEDTLS_ASN1_UTF8_STRING
||
b
->
tag
==
MBEDTLS_ASN1_PRINTABLE_STRING
)
&&
x509_crt.c:320
x509_string_cmp()
if
(
a
->
oid
.
tag
!=
b
->
oid
.
tag
||
x509_crt.c:348
x509_name_cmp()
uid
->
tag
=
*
*
p
;
x509_crt.c:476
x509_get_uid()
subject_key_id
->
tag
=
MBEDTLS_ASN1_OCTET_STRING
;
x509_crt.c:600
x509_get_subject_key_id()
authority_key_id
->
keyIdentifier
.
tag
=
MBEDTLS_ASN1_OCTET_STRING
;
x509_crt.c:647
x509_get_authority_key_id()
authority_key_id
->
authorityCertSerialNumber
.
tag
=
MBEDTLS_ASN1_INTEGER
;
x509_crt.c:678
x509_get_authority_key_id()
policy_oid
.
tag
=
MBEDTLS_ASN1_OID
;
x509_crt.c:787
x509_get_certificate_policies()
buf
->
tag
=
policy_oid
.
tag
;
x509_crt.c:819
x509_get_certificate_policies()
extn_oid
.
tag
=
MBEDTLS_ASN1_OID
;
x509_crt.c:905
x509_get_crt_ext()
sig_params1
.
tag
!=
sig_params2
.
tag
||
x509_crt.c:1287
x509_crt_parse_der_core()
const
unsigned
char
san_type
=
(
unsigned
char
)
cur
->
buf
.
tag
&
x509_crt.c:2914
x509_crt_check_san_ip()
const
unsigned
char
san_type
=
(
unsigned
char
)
cur
->
buf
.
tag
&
x509_crt.c:2929
x509_crt_check_san_uri()
switch
(
(
unsigned
char
)
cur
->
buf
.
tag
&
MBEDTLS_ASN1_TAG_VALUE_MASK
)
{
x509_crt.c:2950
x509_crt_check_san()
extn_oid
.
tag
=
MBEDTLS_ASN1_OID
;
x509_csr.c:92
x509_csr_parse_extensions()
attr_oid
.
tag
=
MBEDTLS_ASN1_OID
;
x509_csr.c:224
x509_csr_parse_attributes()
if
(
ext
->
buf
.
tag
!=
MBEDTLS_ASN1_OID
)
{
x509write_crt.c:347
mbedtls_x509write_crt_set_ext_key_usage()
Call Tree
from
examples
All items filtered out
All items filtered out
Data Use
from
examples
mbedtls_asn1_buf::tag
is written by 23 functions and is read by 25 functions:
asn1_get_sequence_of_cb()
mbedtls_asn1_get_alg()
mbedtls_oid_from_numeric_string()
pk_get_ecparams()
pkcs7_get_content_info_type()
pkcs7_get_signature()
mbedtls_x509_get_serial()
x509_get_hash_alg()
x509_get_attr_type_value()
mbedtls_x509_get_sig()
mbedtls_x509_get_ext()
x509_get_other_name()
mbedtls_x509_get_subject_alt_name_ext()
mbedtls_x509_string_to_names()
x509_get_crl_entry_ext()
x509_get_entries()
x509_get_uid()
x509_get_subject_key_id()
x509_get_authority_key_id()
x509_get_certificate_policies()
x509_get_crt_ext()
x509_csr_parse_extensions()
x509_csr_parse_attributes()
All items filtered out
mbedtls_asn1_buf::tag
mbedtls_asn1_get_alg_null()
pkcs12_parse_pbe_params()
pkcs5_parse_pbkdf2_params()
mbedtls_pkcs5_pbes2_ext()
pk_get_ecparams()
pk_use_ecparams()
pk_use_ecparams_rfc8410()
pk_get_pk_alg()
pkcs7_get_signer_info()
x509_get_hash_alg()
mbedtls_x509_get_rsassa_pss_params()
mbedtls_x509_get_sig_alg()
mbedtls_x509_dn_gets()
x509_get_other_name()
mbedtls_x509_get_subject_alt_name_ext()
mbedtls_x509_parse_subject_alt_name()
x509_write_name()
x509_string_cmp()
x509_name_cmp()
x509_get_certificate_policies()
x509_crt_parse_der_core()
x509_crt_check_san_ip()
x509_crt_check_san_uri()
x509_crt_check_san()
mbedtls_x509write_crt_set_ext_key_usage()
All items filtered out
Class Tree
from
examples
All items filtered out
All items filtered out
Override Tree
from
examples
All items filtered out
All items filtered out
Implementations
from
examples
All items filtered out
All items filtered out
Instances
from
examples
Lifecycle
from
examples
All items filtered out
All items filtered out