mbedTLS
mbedtls_ccm_context::y
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_ccm_context::y
mbedtls_ccm_context::y field
The Y working buffer
Syntax
Show:
Summary
Declaration
from
ccm.h:70
unsigned
char
MBEDTLS_PRIVATE
(
y
)
[
16
]
;
Examples
References
from
examples
Code
Location
Referrer
unsigned
char
MBEDTLS_PRIVATE
(
y
)
[
16
]
;
/*!< The Y working buffer */
ccm.h:70
memset
(
ctx
->
y
,
0
,
16
)
;
ccm.c:152
mbedtls_ccm_clear_state()
ctx
->
y
[
0
]
|=
(
ctx
->
add_len
>
0
)
<
<
6
;
ccm.c:195
ccm_calculate_first_block_if_ready()
ctx
->
y
[
0
]
|=
(
(
ctx
->
tag_len
-
2
)
/
2
)
<
<
3
;
ccm.c:196
ccm_calculate_first_block_if_ready()
ctx
->
y
[
0
]
|=
ctx
->
q
-
1
;
ccm.c:197
ccm_calculate_first_block_if_ready()
ctx
->
y
[
15
-
i
]
=
MBEDTLS_BYTE_0
(
len_left
)
;
ccm.c:200
ccm_calculate_first_block_if_ready()
ret
=
mbedtls_cipher_update
(
&
ctx
->
cipher_ctx
,
ctx
->
y
,
16
,
ctx
->
y
,
&
olen
)
;
ccm.c:212
ccm_calculate_first_block_if_ready()
memcpy
(
ctx
->
y
+
1
,
iv
,
iv_len
)
;
ccm.c:254
mbedtls_ccm_starts()
ctx
->
y
[
0
]
^=
(
unsigned
char
)
(
(
ctx
->
add_len
>
>
8
)
&
0xFF
)
;
ccm.c:313
mbedtls_ccm_update_ad()
ctx
->
y
[
1
]
^=
(
unsigned
char
)
(
(
ctx
->
add_len
)
&
0xFF
)
;
ccm.c:314
mbedtls_ccm_update_ad()
mbedtls_xor
(
ctx
->
y
+
offset
,
ctx
->
y
+
offset
,
add
,
use_len
)
;
ccm.c:330
mbedtls_ccm_update_ad()
ret
=
mbedtls_cipher_update
(
&
ctx
->
cipher_ctx
,
ctx
->
y
,
16
,
ctx
->
y
,
&
olen
)
;
ccm.c:340
mbedtls_ccm_update_ad()
mbedtls_xor
(
ctx
->
y
+
offset
,
ctx
->
y
+
offset
,
input
,
use_len
)
;
ccm.c:403
mbedtls_ccm_update()
ret
=
mbedtls_cipher_update
(
&
ctx
->
cipher_ctx
,
ctx
->
y
,
16
,
ctx
->
y
,
&
olen
)
;
ccm.c:409
mbedtls_ccm_update()
mbedtls_xor
(
ctx
->
y
+
offset
,
ctx
->
y
+
offset
,
local_output
,
use_len
)
;
ccm.c:436
mbedtls_ccm_update()
ret
=
mbedtls_cipher_update
(
&
ctx
->
cipher_ctx
,
ctx
->
y
,
16
,
ctx
->
y
,
&
olen
)
;
ccm.c:444
mbedtls_ccm_update()
ret
=
mbedtls_ccm_crypt
(
ctx
,
0
,
16
,
ctx
->
y
,
ctx
->
y
)
;
ccm.c:497
mbedtls_ccm_finish()
memcpy
(
tag
,
ctx
->
y
,
tag_len
)
;
ccm.c:502
mbedtls_ccm_finish()
Call Tree
from
examples
All items filtered out
All items filtered out
Data Use
from
examples
mbedtls_ccm_context::y
is read by 6 functions:
All items filtered out
mbedtls_ccm_context::y
mbedtls_ccm_clear_state()
ccm_calculate_first_block_if_ready()
mbedtls_ccm_starts()
mbedtls_ccm_update_ad()
mbedtls_ccm_update()
mbedtls_ccm_finish()
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