mbedTLS
mbedtls_asn1_sequence::buf
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_sequence::buf
mbedtls_asn1_sequence::buf field
Buffer containing the given ASN.1 item.
Syntax
Show:
Summary
Declaration
from
asn1.h:162
mbedtls_asn1_buf
buf
;
Examples
References
from
examples
Code
Location
Referrer
mbedtls_asn1_buf
buf
;
/**< Buffer containing the given ASN.1 item. */
asn1.h:162
if
(
cur
->
buf
.
p
!=
NULL
)
{
asn1parse.c:317
asn1_get_sequence_of_cb()
cur
->
buf
.
p
=
start
;
asn1parse.c:328
asn1_get_sequence_of_cb()
cur
->
buf
.
len
=
len
;
asn1parse.c:329
asn1_get_sequence_of_cb()
cur
->
buf
.
tag
=
tag
;
asn1parse.c:330
asn1_get_sequence_of_cb()
if
(
cur
->
buf
.
p
!=
NULL
)
{
x509.c:1259
mbedtls_x509_get_subject_alt_name_ext()
cur
->
buf
=
tmp_san_buf
;
x509.c:1274
mbedtls_x509_get_subject_alt_name_ext()
parse_ret
=
mbedtls_x509_parse_subject_alt_name
(
&
cur
->
buf
,
&
san
)
;
x509.c:1526
mbedtls_x509_info_subject_alt_name()
if
(
ext_key_usage
->
buf
.
p
==
NULL
)
{
x509_crt.c:574
x509_get_ext_key_usage()
if
(
cur
->
buf
.
p
!=
NULL
)
{
x509_crt.c:803
x509_get_certificate_policies()
buf
=
&
(
cur
->
buf
)
;
x509_crt.c:818
x509_get_certificate_policies()
if
(
mbedtls_oid_get_extended_key_usage
(
&
cur
->
buf
,
&
desc
)
!=
0
)
{
x509_crt.c:1699
x509_info_ext_key_usage()
if
(
mbedtls_oid_get_certificate_policies
(
&
cur
->
buf
,
&
desc
)
!=
0
)
{
x509_crt.c:1728
x509_info_cert_policies()
const
mbedtls_x509_buf
*
cur_oid
=
&
cur
->
buf
;
x509_crt.c:1971
mbedtls_x509_crt_check_extended_key_usage()
const
unsigned
char
san_type
=
(
unsigned
char
)
cur
->
buf
.
tag
&
x509_crt.c:2914
x509_crt_check_san_ip()
cur
->
buf
.
len
==
cn_len
&&
memcmp
(
cur
->
buf
.
p
,
ip
,
cn_len
)
==
0
)
{
x509_crt.c:2917
x509_crt_check_san_ip()
const
unsigned
char
san_type
=
(
unsigned
char
)
cur
->
buf
.
tag
&
x509_crt.c:2929
x509_crt_check_san_uri()
cur
->
buf
.
len
==
cn_len
&&
memcmp
(
cur
->
buf
.
p
,
cn
,
cn_len
)
==
0
)
{
x509_crt.c:2932
x509_crt_check_san_uri()
switch
(
(
unsigned
char
)
cur
->
buf
.
tag
&
MBEDTLS_ASN1_TAG_VALUE_MASK
)
{
x509_crt.c:2950
x509_crt_check_san()
if
(
x509_crt_check_cn
(
&
cur
->
buf
,
cn
,
cn_len
)
==
0
)
{
x509_crt.c:2952
x509_crt_check_san()
if
(
ext
->
buf
.
tag
!=
MBEDTLS_ASN1_OID
)
{
x509write_crt.c:347
mbedtls_x509write_crt_set_ext_key_usage()
MBEDTLS_ASN1_CHK_ADD
(
len
,
mbedtls_asn1_write_raw_buffer
(
&
c
,
buf
,
ext
->
buf
.
p
,
ext
->
buf
.
len
)
)
;
x509write_crt.c:350
mbedtls_x509write_crt_set_ext_key_usage()
MBEDTLS_ASN1_CHK_ADD
(
len
,
mbedtls_asn1_write_len
(
&
c
,
buf
,
ext
->
buf
.
len
)
)
;
x509write_crt.c:351
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_sequence::buf
is written by 1 function and is read by 8 functions:
mbedtls_x509_get_subject_alt_name_ext()
All items filtered out
mbedtls_asn1_sequence::buf
asn1_get_sequence_of_cb()
mbedtls_x509_get_subject_alt_name_ext()
x509_get_ext_key_usage()
x509_get_certificate_policies()
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