mbedTLS
mbedtls_get_unaligned_uint32()
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_unaligned_uint32()
mbedtls_get_unaligned_uint32() function
Syntax
Show:
Summary
Declaration
from
alignment.h:165
__attribute__
(
(
always_inline
)
)
#endif
static
inline
uint32_t
mbedtls_get_unaligned_uint32
(
const
void
*
p
)
;
Arguments
Argument
p
Examples
References
from
examples
Code
Location
Referrer
static
inline
uint32_t
mbedtls_get_unaligned_uint32
(
const
void
*
p
)
alignment.h:167
RK
[
i
]
=
MBEDTLS_GET_UINT32_LE
(
key
,
i
<
<
2
)
;
aes.c:614
mbedtls_aes_setkey_enc()
t
.
X
[
0
]
=
MBEDTLS_GET_UINT32_LE
(
input
,
0
)
;
t
.
X
[
0
]
^=
*
RK
++
;
aes.c:894
mbedtls_internal_aes_encrypt()
t
.
X
[
1
]
=
MBEDTLS_GET_UINT32_LE
(
input
,
4
)
;
t
.
X
[
1
]
^=
*
RK
++
;
aes.c:895
mbedtls_internal_aes_encrypt()
t
.
X
[
2
]
=
MBEDTLS_GET_UINT32_LE
(
input
,
8
)
;
t
.
X
[
2
]
^=
*
RK
++
;
aes.c:896
mbedtls_internal_aes_encrypt()
t
.
X
[
3
]
=
MBEDTLS_GET_UINT32_LE
(
input
,
12
)
;
t
.
X
[
3
]
^=
*
RK
++
;
aes.c:897
mbedtls_internal_aes_encrypt()
t
.
X
[
0
]
=
MBEDTLS_GET_UINT32_LE
(
input
,
0
)
;
t
.
X
[
0
]
^=
*
RK
++
;
aes.c:956
mbedtls_internal_aes_decrypt()
t
.
X
[
1
]
=
MBEDTLS_GET_UINT32_LE
(
input
,
4
)
;
t
.
X
[
1
]
^=
*
RK
++
;
aes.c:957
mbedtls_internal_aes_decrypt()
t
.
X
[
2
]
=
MBEDTLS_GET_UINT32_LE
(
input
,
8
)
;
t
.
X
[
2
]
^=
*
RK
++
;
aes.c:958
mbedtls_internal_aes_decrypt()
t
.
X
[
3
]
=
MBEDTLS_GET_UINT32_LE
(
input
,
12
)
;
t
.
X
[
3
]
^=
*
RK
++
;
aes.c:959
mbedtls_internal_aes_decrypt()
w
[
0
]
[
0
]
=
MBEDTLS_GET_UINT32_LE
(
key
,
0
)
;
aria.c:366
mbedtls_aria_setkey_enc()
w
[
0
]
[
1
]
=
MBEDTLS_GET_UINT32_LE
(
key
,
4
)
;
aria.c:367
mbedtls_aria_setkey_enc()
w
[
0
]
[
2
]
=
MBEDTLS_GET_UINT32_LE
(
key
,
8
)
;
aria.c:368
mbedtls_aria_setkey_enc()
w
[
0
]
[
3
]
=
MBEDTLS_GET_UINT32_LE
(
key
,
12
)
;
aria.c:369
mbedtls_aria_setkey_enc()
w
[
1
]
[
0
]
=
MBEDTLS_GET_UINT32_LE
(
key
,
16
)
;
// 192 bit key
aria.c:373
mbedtls_aria_setkey_enc()
w
[
1
]
[
1
]
=
MBEDTLS_GET_UINT32_LE
(
key
,
20
)
;
aria.c:374
mbedtls_aria_setkey_enc()
w
[
1
]
[
2
]
=
MBEDTLS_GET_UINT32_LE
(
key
,
24
)
;
// 256 bit key
aria.c:377
mbedtls_aria_setkey_enc()
w
[
1
]
[
3
]
=
MBEDTLS_GET_UINT32_LE
(
key
,
28
)
;
aria.c:378
mbedtls_aria_setkey_enc()
a
=
MBEDTLS_GET_UINT32_LE
(
input
,
0
)
;
aria.c:449
mbedtls_aria_crypt_ecb()
b
=
MBEDTLS_GET_UINT32_LE
(
input
,
4
)
;
aria.c:450
mbedtls_aria_crypt_ecb()
c
=
MBEDTLS_GET_UINT32_LE
(
input
,
8
)
;
aria.c:451
mbedtls_aria_crypt_ecb()
d
=
MBEDTLS_GET_UINT32_LE
(
input
,
12
)
;
aria.c:452
mbedtls_aria_crypt_ecb()
uint32_t
i32
=
MBEDTLS_GET_UINT32_BE
(
&
input
[
i
]
,
0
)
;
cmac.c:78
cmac_multiply_by_u()
uint32_t
x
=
MBEDTLS_GET_UINT32_BE
(
n
,
i
<
<
2
)
;
ctr.h:26
mbedtls_ctr_increment_counter()
uint32_t
x
=
MBEDTLS_GET_UINT32_BE
(
y
,
12
)
;
gcm.c:553
gcm_incr()
MBEDTLS_GET_UINT32_BE
(
key
,
MBEDTLS_LMOTS_SIG_TYPE_OFFSET
)
;
lmots.c:405
mbedtls_lmots_import_public_key()
if
(
MBEDTLS_GET_UINT32_BE
(
sig
,
MBEDTLS_LMOTS_SIG_TYPE_OFFSET
)
!=
MBEDTLS_LMOTS_SHA256_N32_W8
)
{
lmots.c:533
mbedtls_lmots_verify()
type
=
(
mbedtls_lms_algorithm_type_t
)
MBEDTLS_GET_UINT32_BE
(
key
,
PUBLIC_KEY_TYPE_OFFSET
)
;
lms.c:245
mbedtls_lms_import_public_key()
MBEDTLS_GET_UINT32_BE
(
key
,
PUBLIC_KEY_OTSTYPE_OFFSET
)
;
lms.c:256
mbedtls_lms_import_public_key()
if
(
MBEDTLS_GET_UINT32_BE
(
sig
,
SIG_OTS_SIG_OFFSET
+
MBEDTLS_LMOTS_SIG_TYPE_OFFSET
)
lms.c:338
mbedtls_lms_verify()
if
(
MBEDTLS_GET_UINT32_BE
(
sig
,
SIG_TYPE_OFFSET
(
ctx
->
params
.
otstype
)
)
lms.c:347
mbedtls_lms_verify()
q_leaf_identifier
=
MBEDTLS_GET_UINT32_BE
(
sig
,
SIG_Q_LEAF_ID_OFFSET
)
;
lms.c:353
mbedtls_lms_verify()
version
=
MBEDTLS_GET_UINT32_LE
(
storage_format
->
version
,
0
)
;
psa_crypto_storage.c:286
psa_parse_key_data_from_storage()
*
key_data_length
=
MBEDTLS_GET_UINT32_LE
(
storage_format
->
data_len
,
0
)
;
psa_crypto_storage.c:291
psa_parse_key_data_from_storage()
attr
->
lifetime
=
MBEDTLS_GET_UINT32_LE
(
storage_format
->
lifetime
,
0
)
;
psa_crypto_storage.c:307
psa_parse_key_data_from_storage()
attr
->
policy
.
usage
=
MBEDTLS_GET_UINT32_LE
(
storage_format
->
policy
,
0
)
;
psa_crypto_storage.c:310
psa_parse_key_data_from_storage()
attr
->
policy
.
alg
=
MBEDTLS_GET_UINT32_LE
(
storage_format
->
policy
,
sizeof
(
uint32_t
)
)
;
psa_crypto_storage.c:311
psa_parse_key_data_from_storage()
attr
->
policy
.
alg2
=
MBEDTLS_GET_UINT32_LE
(
storage_format
->
policy
,
2
*
sizeof
(
uint32_t
)
)
;
psa_crypto_storage.c:312
psa_parse_key_data_from_storage()
p_info
->
size
=
MBEDTLS_GET_UINT32_LE
(
header
.
size
,
0
)
;
psa_its_file.c:101
psa_its_read_file()
p_info
->
flags
=
MBEDTLS_GET_UINT32_LE
(
header
.
flags
,
0
)
;
psa_its_file.c:102
psa_its_read_file()
local
.
W
[
0
]
=
MBEDTLS_GET_UINT32_BE
(
data
,
0
)
;
sha1.c:72
mbedtls_internal_sha1_process()
local
.
W
[
1
]
=
MBEDTLS_GET_UINT32_BE
(
data
,
4
)
;
sha1.c:73
mbedtls_internal_sha1_process()
local
.
W
[
2
]
=
MBEDTLS_GET_UINT32_BE
(
data
,
8
)
;
sha1.c:74
mbedtls_internal_sha1_process()
local
.
W
[
3
]
=
MBEDTLS_GET_UINT32_BE
(
data
,
12
)
;
sha1.c:75
mbedtls_internal_sha1_process()
local
.
W
[
4
]
=
MBEDTLS_GET_UINT32_BE
(
data
,
16
)
;
sha1.c:76
mbedtls_internal_sha1_process()
local
.
W
[
5
]
=
MBEDTLS_GET_UINT32_BE
(
data
,
20
)
;
sha1.c:77
mbedtls_internal_sha1_process()
local
.
W
[
6
]
=
MBEDTLS_GET_UINT32_BE
(
data
,
24
)
;
sha1.c:78
mbedtls_internal_sha1_process()
local
.
W
[
7
]
=
MBEDTLS_GET_UINT32_BE
(
data
,
28
)
;
sha1.c:79
mbedtls_internal_sha1_process()
local
.
W
[
8
]
=
MBEDTLS_GET_UINT32_BE
(
data
,
32
)
;
sha1.c:80
mbedtls_internal_sha1_process()
local
.
W
[
9
]
=
MBEDTLS_GET_UINT32_BE
(
data
,
36
)
;
sha1.c:81
mbedtls_internal_sha1_process()
local
.
W
[
10
]
=
MBEDTLS_GET_UINT32_BE
(
data
,
40
)
;
sha1.c:82
mbedtls_internal_sha1_process()
local
.
W
[
11
]
=
MBEDTLS_GET_UINT32_BE
(
data
,
44
)
;
sha1.c:83
mbedtls_internal_sha1_process()
local
.
W
[
12
]
=
MBEDTLS_GET_UINT32_BE
(
data
,
48
)
;
sha1.c:84
mbedtls_internal_sha1_process()
local
.
W
[
13
]
=
MBEDTLS_GET_UINT32_BE
(
data
,
52
)
;
sha1.c:85
mbedtls_internal_sha1_process()
local
.
W
[
14
]
=
MBEDTLS_GET_UINT32_BE
(
data
,
56
)
;
sha1.c:86
mbedtls_internal_sha1_process()
local
.
W
[
15
]
=
MBEDTLS_GET_UINT32_BE
(
data
,
60
)
;
sha1.c:87
mbedtls_internal_sha1_process()
local
.
W
[
i
]
=
MBEDTLS_GET_UINT32_BE
(
data
,
4
*
i
)
;
sha256.c:525
mbedtls_internal_sha256_process()
cookie_time
=
(
unsigned
long
)
MBEDTLS_GET_UINT32_BE
(
cookie
,
0
)
;
ssl_cookie.c:366
mbedtls_ssl_cookie_check()
session
->
verify_result
=
MBEDTLS_GET_UINT32_BE
(
p
,
0
)
;
ssl_tls.c:3586
ssl_tls12_session_load()
session
->
ticket_lifetime
=
MBEDTLS_GET_UINT32_BE
(
p
,
0
)
;
ssl_tls.c:3707
ssl_tls12_session_load()
lifetime
=
MBEDTLS_GET_UINT32_BE
(
msg
,
0
)
;
ssl_tls12_client.c:3421
ssl_parse_new_session_ticket()
Call Tree
from
examples
mbedtls_get_unaligned_uint32()
is called by 19 functions:
mbedtls_aes_setkey_enc()
mbedtls_internal_aes_encrypt()
mbedtls_internal_aes_decrypt()
mbedtls_ctr_increment_counter()
mbedtls_aria_setkey_enc()
mbedtls_aria_crypt_ecb()
cmac_multiply_by_u()
gcm_incr()
mbedtls_lmots_import_public_key()
mbedtls_lmots_verify()
mbedtls_lms_import_public_key()
mbedtls_lms_verify()
psa_parse_key_data_from_storage()
psa_its_read_file()
mbedtls_internal_sha1_process()
mbedtls_internal_sha256_process()
mbedtls_ssl_cookie_check()
ssl_tls12_session_load()
ssl_parse_new_session_ticket()
All items filtered out
mbedtls_get_unaligned_uint32()
All items filtered out
Data Use
from
examples
mbedtls_get_unaligned_uint32()
:
All items filtered out
mbedtls_get_unaligned_uint32()
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