1Aligned 16-bit access
2mbedtls_unaligned_access:16:0
3
4Aligned 32-bit access
5mbedtls_unaligned_access:32:0
6
7Aligned 64-bit access
8mbedtls_unaligned_access:64:0
9
10Unaligned 16-bit access offset=1
11mbedtls_unaligned_access:16:1
12
13Unaligned 32-bit access offset=1
14mbedtls_unaligned_access:32:1
15
16Unaligned 64-bit access offset=1
17mbedtls_unaligned_access:64:1
18
19Unaligned 16-bit access offset=4
20mbedtls_unaligned_access:16:4
21
22Unaligned 32-bit access offset=4
23mbedtls_unaligned_access:32:4
24
25Unaligned 64-bit access offset=4
26mbedtls_unaligned_access:64:4
27
28Unaligned 16-bit access offset=7
29mbedtls_unaligned_access:16:7
30
31Unaligned 32-bit access offset=7
32mbedtls_unaligned_access:32:7
33
34Unaligned 64-bit access offset=7
35mbedtls_unaligned_access:64:7
36
37Unaligned 16-bit access offset=8
38mbedtls_unaligned_access:16:8
39
40Unaligned 32-bit access offset=8
41mbedtls_unaligned_access:32:8
42
43Unaligned 64-bit access offset=8
44mbedtls_unaligned_access:64:8
45
46Byteswap 16
47mbedtls_byteswap:"0100":16:"0001"
48
49Byteswap 16 with truncation
50mbedtls_byteswap:"0706050403020100":16:"0001"
51
52Byteswap 16 all-zero
53mbedtls_byteswap:"0000":16:"0000"
54
55Byteswap 16 all-ones
56mbedtls_byteswap:"ffffffffffffffff":16:"ffff"
57
58Byteswap 32
59mbedtls_byteswap:"03020100":32:"00010203"
60
61Byteswap 32 with truncation
62mbedtls_byteswap:"0706050403020100":32:"00010203"
63
64Byteswap 32 all-zero
65mbedtls_byteswap:"00000000":32:"00000000"
66
67Byteswap 32 all-ones
68mbedtls_byteswap:"ffffffffffffffff":32:"ffffffff"
69
70Byteswap 64
71mbedtls_byteswap:"0706050403020100":64:"01020304050607"
72
73Byteswap 64 all-zero
74mbedtls_byteswap:"0000000000000000":64:"0000000000000000"
75
76Byteswap 64 all-ones
77mbedtls_byteswap:"ffffffffffffffff":64:"ffffffffffffffff"
78
79Get individual bytes
80get_byte
81
82Endian-aware unaligned 16-bit BE offset=0
83unaligned_access_endian_aware:16:0:1
84
85Endian-aware unaligned 16-bit BE offset=3
86unaligned_access_endian_aware:16:3:1
87
88Endian-aware unaligned 16-bit LE offset=0
89unaligned_access_endian_aware:16:0:0
90
91Endian-aware unaligned 16-bit LE offset=3
92unaligned_access_endian_aware:16:3:0
93
94Endian-aware unaligned 32-bit BE offset=0
95unaligned_access_endian_aware:32:0:1
96
97Endian-aware unaligned 32-bit BE offset=3
98unaligned_access_endian_aware:32:3:1
99
100Endian-aware unaligned 32-bit LE offset=0
101unaligned_access_endian_aware:32:0:0
102
103Endian-aware unaligned 32-bit LE offset=3
104unaligned_access_endian_aware:32:3:0
105
106Endian-aware unaligned 64-bit BE offset=0
107unaligned_access_endian_aware:64:0:1
108
109Endian-aware unaligned 64-bit BE offset=3
110unaligned_access_endian_aware:64:3:1
111
112Endian-aware unaligned 64-bit LE offset=0
113unaligned_access_endian_aware:64:0:0
114
115Endian-aware unaligned 64-bit LE offset=3
116unaligned_access_endian_aware:64:3:0
117
118Big-endian check
119mbedtls_is_big_endian
120