mbedTLS
MBEDTLS_ARIA_BLOCKSIZE
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_ARIA_BLOCKSIZE
MBEDTLS_ARIA_BLOCKSIZE macro
ARIA block size in bytes.
Syntax
Show:
Summary
Declaration
from
aria.h:31
#define
MBEDTLS_ARIA_BLOCKSIZE
16
Examples
References
from
examples
Code
Location
#define
MBEDTLS_ARIA_BLOCKSIZE
16
/**< ARIA block size in bytes. */
aria.h:31
const
unsigned
char
input
[
MBEDTLS_ARIA_BLOCKSIZE
]
,
aria.c:442
unsigned
char
output
[
MBEDTLS_ARIA_BLOCKSIZE
]
)
aria.c:443
unsigned
char
iv
[
MBEDTLS_ARIA_BLOCKSIZE
]
,
aria.c:515
unsigned
char
temp
[
MBEDTLS_ARIA_BLOCKSIZE
]
;
aria.c:519
if
(
length
%
MBEDTLS_ARIA_BLOCKSIZE
)
{
aria.c:525
memcpy
(
temp
,
input
,
MBEDTLS_ARIA_BLOCKSIZE
)
;
aria.c:531
mbedtls_xor
(
output
,
output
,
iv
,
MBEDTLS_ARIA_BLOCKSIZE
)
;
aria.c:534
memcpy
(
iv
,
temp
,
MBEDTLS_ARIA_BLOCKSIZE
)
;
aria.c:536
input
+=
MBEDTLS_ARIA_BLOCKSIZE
;
aria.c:538
output
+=
MBEDTLS_ARIA_BLOCKSIZE
;
aria.c:539
length
-=
MBEDTLS_ARIA_BLOCKSIZE
;
aria.c:540
mbedtls_xor
(
output
,
input
,
iv
,
MBEDTLS_ARIA_BLOCKSIZE
)
;
aria.c:544
memcpy
(
iv
,
output
,
MBEDTLS_ARIA_BLOCKSIZE
)
;
aria.c:547
input
+=
MBEDTLS_ARIA_BLOCKSIZE
;
aria.c:549
output
+=
MBEDTLS_ARIA_BLOCKSIZE
;
aria.c:550
length
-=
MBEDTLS_ARIA_BLOCKSIZE
;
aria.c:551
unsigned
char
iv
[
MBEDTLS_ARIA_BLOCKSIZE
]
,
aria.c:567
if
(
n
>=
MBEDTLS_ARIA_BLOCKSIZE
)
{
aria.c:582
unsigned
char
nonce_counter
[
MBEDTLS_ARIA_BLOCKSIZE
]
,
aria.c:623
unsigned
char
stream_block
[
MBEDTLS_ARIA_BLOCKSIZE
]
,
aria.c:624
if
(
n
>=
MBEDTLS_ARIA_BLOCKSIZE
)
{
aria.c:634
for
(
i
=
MBEDTLS_ARIA_BLOCKSIZE
;
i
>
0
;
i
--
)
{
aria.c:643
static
const
uint8_t
aria_test1_ecb_pt
[
MBEDTLS_ARIA_BLOCKSIZE
]
=
// plaintext
aria.c:675
static
const
uint8_t
aria_test1_ecb_ct
[
3
]
[
MBEDTLS_ARIA_BLOCKSIZE
]
=
// ciphertext
aria.c:681
static
const
uint8_t
aria_test2_iv
[
MBEDTLS_ARIA_BLOCKSIZE
]
=
aria.c:717
uint8_t
blk
[
MBEDTLS_ARIA_BLOCKSIZE
]
;
aria.c:814
uint8_t
buf
[
48
]
,
iv
[
MBEDTLS_ARIA_BLOCKSIZE
]
;
aria.c:825
memcmp
(
blk
,
aria_test1_ecb_ct
[
i
]
,
MBEDTLS_ARIA_BLOCKSIZE
)
aria.c:841
memcmp
(
blk
,
aria_test1_ecb_pt
,
MBEDTLS_ARIA_BLOCKSIZE
)
aria.c:856
memcpy
(
iv
,
aria_test2_iv
,
MBEDTLS_ARIA_BLOCKSIZE
)
;
aria.c:874
memcpy
(
iv
,
aria_test2_iv
,
MBEDTLS_ARIA_BLOCKSIZE
)
;
aria.c:886
memcpy
(
iv
,
aria_test2_iv
,
MBEDTLS_ARIA_BLOCKSIZE
)
;
aria.c:905
memcpy
(
iv
,
aria_test2_iv
,
MBEDTLS_ARIA_BLOCKSIZE
)
;
aria.c:917
memset
(
iv
,
0
,
MBEDTLS_ARIA_BLOCKSIZE
)
;
// IV = 0
aria.c:936
memset
(
iv
,
0
,
MBEDTLS_ARIA_BLOCKSIZE
)
;
// IV = 0
aria.c:948
uint32_t
MBEDTLS_PRIVATE
(
rk
)
[
MBEDTLS_ARIA_MAX_ROUNDS
+
1
]
[
MBEDTLS_ARIA_BLOCKSIZE
/
4
]
;
aria.h:55
const
unsigned
char
input
[
MBEDTLS_ARIA_BLOCKSIZE
]
,
aria.h:143
unsigned
char
output
[
MBEDTLS_ARIA_BLOCKSIZE
]
)
;
aria.h:144
unsigned
char
iv
[
MBEDTLS_ARIA_BLOCKSIZE
]
,
aria.h:191
unsigned
char
iv
[
MBEDTLS_ARIA_BLOCKSIZE
]
,
aria.h:242
unsigned
char
nonce_counter
[
MBEDTLS_ARIA_BLOCKSIZE
]
,
aria.h:324
unsigned
char
stream_block
[
MBEDTLS_ARIA_BLOCKSIZE
]
,
aria.h:325
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