mbedTLS
MBEDTLS_GET_UINT24_BE
is only used within mbedTLS.
Symbol previews are coming soon...
Symbols
loading...
Files
loading...
Summary
Syntax
Arguments
Examples
References
Call Tree
Data Use
Class Tree
Override Tree
Implementations
Instances
Lifecycle
SourceVu
ESP-IDF Framework and Examples
mbedTLS
MBEDTLS_GET_UINT24_BE
MBEDTLS_GET_UINT24_BE macro
Get the unsigned 24 bits integer corresponding to three bytes in big-endian order (MSB first).
Syntax
Show:
Summary
Declaration
from
alignment.h:557
#define
MBEDTLS_GET_UINT24_BE
(
data
,
offset
)
\
(
\
(
(
uint32_t
)
(
data
)
[
(
offset
)
]
<
<
16
)
\
|
(
(
uint32_t
)
(
data
)
[
(
offset
)
+
1
]
<
<
8
)
\
|
(
(
uint32_t
)
(
data
)
[
(
offset
)
+
2
]
)
\
)
Arguments
Argument
Description
data
Base address of the memory to get the three bytes from.
offset
Offset from \p data of the first and most significant byte of the three bytes to build the 24 bits unsigned integer from.
Examples
References
from
examples
Code
Location
#define
MBEDTLS_GET_UINT24_BE
(
data
,
offset
)
\
alignment.h:557
return
MBEDTLS_GET_UINT24_BE
(
ssl
->
in_msg
,
9
)
;
ssl_msg.c:3100
return
MBEDTLS_GET_UINT24_BE
(
ssl
->
in_msg
,
6
)
;
ssl_msg.c:3105
return
MBEDTLS_GET_UINT24_BE
(
ssl
->
in_msg
,
1
)
;
ssl_msg.c:3218
fragment_offset
=
MBEDTLS_GET_UINT24_BE
(
in
,
19
)
;
ssl_msg.c:3516
size_t
msg_len
=
MBEDTLS_GET_UINT24_BE
(
hs_buf
->
data
,
1
)
;
ssl_msg.c:4333
cert_len
=
MBEDTLS_GET_UINT24_BE
(
p
,
0
)
;
ssl_tls.c:3612
session
->
ticket_len
=
MBEDTLS_GET_UINT24_BE
(
p
,
0
)
;
ssl_tls.c:3686
size_t
handshake_len
=
MBEDTLS_GET_UINT24_BE
(
buf
,
1
)
;
ssl_tls12_server.c:1061
fragment_offset
=
MBEDTLS_GET_UINT24_BE
(
ssl
->
in_msg
,
6
)
;
ssl_tls12_server.c:1114
fragment_length
=
MBEDTLS_GET_UINT24_BE
(
ssl
->
in_msg
,
9
)
;
ssl_tls12_server.c:1115
length
=
MBEDTLS_GET_UINT24_BE
(
ssl
->
in_msg
,
1
)
;
ssl_tls12_server.c:1116
Call Tree
from
examples
All items filtered out
All items filtered out
Data Use
from
examples
All items filtered out
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