netxduo
NX_CRYPTO_AES_STRUCT::nx_crypto_aes_mode_context
is only used within netxduo.
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
STM32 Libraries and Samples
netxduo
NX_CRYPTO_AES_STRUCT::nx_crypto_aes_mode_context
NX_CRYPTO_AES_STRUCT::nx_crypto_aes_mode_context field
Syntax
Show:
Summary
Declaration
from
nx_crypto_aes.h:144
union
{
NX_CRYPTO_CBC
cbc
;
NX_CRYPTO_CTR
ctr
;
NX_CRYPTO_GCM
gcm
;
NX_CRYPTO_CCM
ccm
;
}
nx_crypto_aes_mode_context
;
Examples
References
from
examples
Code
Location
Referrer
}
nx_crypto_aes_mode_context
;
nx_crypto_aes.h:150
NX_CRYPTO_MEMSET
(
&
(
(
NX_CRYPTO_AES
*
)
crypto_metadata
)
->
nx_crypto_aes_mode_context
,
0
,
sizeof
(
(
(
NX_CRYPTO_AES
*
)
crypto_metadata
)
->
nx_crypto_aes_mode_context
)
)
;
nx_crypto_aes.c:1778
_nx_crypto_method_aes_init()
status
=
_nx_crypto_cbc_decrypt_init
(
&
(
ctx
->
nx_crypto_aes_mode_context
.
cbc
)
,
nx_crypto_aes.c:2091
_nx_crypto_method_aes_cbc_operation()
status
=
_nx_crypto_cbc_decrypt
(
ctx
,
&
(
ctx
->
nx_crypto_aes_mode_context
.
cbc
)
,
nx_crypto_aes.c:2098
_nx_crypto_method_aes_cbc_operation()
status
=
_nx_crypto_cbc_encrypt_init
(
&
(
ctx
->
nx_crypto_aes_mode_context
.
cbc
)
,
nx_crypto_aes.c:2106
_nx_crypto_method_aes_cbc_operation()
status
=
_nx_crypto_cbc_encrypt
(
ctx
,
&
(
ctx
->
nx_crypto_aes_mode_context
.
cbc
)
,
nx_crypto_aes.c:2113
_nx_crypto_method_aes_cbc_operation()
status
=
_nx_crypto_cbc_decrypt_init
(
&
(
ctx
->
nx_crypto_aes_mode_context
.
cbc
)
,
nx_crypto_aes.c:2121
_nx_crypto_method_aes_cbc_operation()
status
=
_nx_crypto_cbc_encrypt_init
(
&
(
ctx
->
nx_crypto_aes_mode_context
.
cbc
)
,
nx_crypto_aes.c:2127
_nx_crypto_method_aes_cbc_operation()
status
=
_nx_crypto_cbc_decrypt
(
ctx
,
&
(
ctx
->
nx_crypto_aes_mode_context
.
cbc
)
,
nx_crypto_aes.c:2133
_nx_crypto_method_aes_cbc_operation()
status
=
_nx_crypto_cbc_encrypt
(
ctx
,
&
(
ctx
->
nx_crypto_aes_mode_context
.
cbc
)
,
nx_crypto_aes.c:2141
_nx_crypto_method_aes_cbc_operation()
(
ctx
->
nx_crypto_aes_mode_context
.
ccm
.
nx_crypto_ccm_additional_data_len
>
0
&&
nx_crypto_aes.c:2274
_nx_crypto_method_aes_ccm_operation()
ctx
->
nx_crypto_aes_mode_context
.
ccm
.
nx_crypto_ccm_additional_data
==
NX_CRYPTO_NULL
)
)
nx_crypto_aes.c:2275
_nx_crypto_method_aes_ccm_operation()
status
=
_nx_crypto_ccm_decrypt_init
(
ctx
,
&
(
ctx
->
nx_crypto_aes_mode_context
.
ccm
)
,
nx_crypto_aes.c:2288
_nx_crypto_method_aes_ccm_operation()
ctx
->
nx_crypto_aes_mode_context
.
ccm
.
nx_crypto_ccm_additional_data
,
nx_crypto_aes.c:2290
_nx_crypto_method_aes_ccm_operation()
ctx
->
nx_crypto_aes_mode_context
.
ccm
.
nx_crypto_ccm_additional_data_len
,
nx_crypto_aes.c:2291
_nx_crypto_method_aes_ccm_operation()
ctx
,
&
(
ctx
->
nx_crypto_aes_mode_context
.
ccm
)
,
nx_crypto_aes.c:2302
_nx_crypto_method_aes_ccm_operation()
status
=
_nx_crypto_ccm_decrypt_calculate
(
ctx
,
&
(
ctx
->
nx_crypto_aes_mode_context
.
ccm
)
,
nx_crypto_aes.c:2311
_nx_crypto_method_aes_ccm_operation()
(
ctx
->
nx_crypto_aes_mode_context
.
ccm
.
nx_crypto_ccm_additional_data_len
>
0
&&
nx_crypto_aes.c:2324
_nx_crypto_method_aes_ccm_operation()
ctx
->
nx_crypto_aes_mode_context
.
ccm
.
nx_crypto_ccm_additional_data
==
NX_CRYPTO_NULL
)
)
nx_crypto_aes.c:2325
_nx_crypto_method_aes_ccm_operation()
status
=
_nx_crypto_ccm_encrypt_init
(
ctx
,
&
(
ctx
->
nx_crypto_aes_mode_context
.
ccm
)
,
nx_crypto_aes.c:2337
_nx_crypto_method_aes_ccm_operation()
ctx
->
nx_crypto_aes_mode_context
.
ccm
.
nx_crypto_ccm_additional_data
,
nx_crypto_aes.c:2339
_nx_crypto_method_aes_ccm_operation()
ctx
->
nx_crypto_aes_mode_context
.
ccm
.
nx_crypto_ccm_additional_data_len
,
nx_crypto_aes.c:2340
_nx_crypto_method_aes_ccm_operation()
ctx
,
&
(
ctx
->
nx_crypto_aes_mode_context
.
ccm
)
,
nx_crypto_aes.c:2351
_nx_crypto_method_aes_ccm_operation()
status
=
_nx_crypto_ccm_encrypt_calculate
(
ctx
,
&
(
ctx
->
nx_crypto_aes_mode_context
.
ccm
)
,
nx_crypto_aes.c:2360
_nx_crypto_method_aes_ccm_operation()
ctx
->
nx_crypto_aes_mode_context
.
ccm
.
nx_crypto_ccm_additional_data
=
(
VOID
*
)
input
;
nx_crypto_aes.c:2374
_nx_crypto_method_aes_ccm_operation()
ctx
->
nx_crypto_aes_mode_context
.
ccm
.
nx_crypto_ccm_additional_data_len
=
input_length_in_byte
;
nx_crypto_aes.c:2377
_nx_crypto_method_aes_ccm_operation()
status
=
_nx_crypto_ccm_decrypt_init
(
ctx
,
&
(
ctx
->
nx_crypto_aes_mode_context
.
ccm
)
,
nx_crypto_aes.c:2390
_nx_crypto_method_aes_ccm_operation()
ctx
,
&
(
ctx
->
nx_crypto_aes_mode_context
.
ccm
)
,
nx_crypto_aes.c:2403
_nx_crypto_method_aes_ccm_operation()
status
=
_nx_crypto_ccm_decrypt_calculate
(
ctx
,
&
(
ctx
->
nx_crypto_aes_mode_context
.
ccm
)
,
nx_crypto_aes.c:2412
_nx_crypto_method_aes_ccm_operation()
status
=
_nx_crypto_ccm_encrypt_init
(
ctx
,
&
(
ctx
->
nx_crypto_aes_mode_context
.
ccm
)
,
nx_crypto_aes.c:2425
_nx_crypto_method_aes_ccm_operation()
ctx
,
&
(
ctx
->
nx_crypto_aes_mode_context
.
ccm
)
,
nx_crypto_aes.c:2439
_nx_crypto_method_aes_ccm_operation()
status
=
_nx_crypto_ccm_encrypt_calculate
(
ctx
,
&
(
ctx
->
nx_crypto_aes_mode_context
.
ccm
)
,
nx_crypto_aes.c:2448
_nx_crypto_method_aes_ccm_operation()
(
ctx
->
nx_crypto_aes_mode_context
.
gcm
.
nx_crypto_gcm_additional_data_len
>
0
&&
nx_crypto_aes.c:2573
_nx_crypto_method_aes_gcm_operation()
ctx
->
nx_crypto_aes_mode_context
.
gcm
.
nx_crypto_gcm_additional_data
==
NX_CRYPTO_NULL
)
)
nx_crypto_aes.c:2574
_nx_crypto_method_aes_gcm_operation()
status
=
_nx_crypto_gcm_decrypt_init
(
ctx
,
&
(
ctx
->
nx_crypto_aes_mode_context
.
gcm
)
,
nx_crypto_aes.c:2589
_nx_crypto_method_aes_gcm_operation()
ctx
->
nx_crypto_aes_mode_context
.
gcm
.
nx_crypto_gcm_additional_data
,
nx_crypto_aes.c:2591
_nx_crypto_method_aes_gcm_operation()
ctx
->
nx_crypto_aes_mode_context
.
gcm
.
nx_crypto_gcm_additional_data_len
,
nx_crypto_aes.c:2592
_nx_crypto_method_aes_gcm_operation()
status
=
_nx_crypto_gcm_decrypt_update
(
ctx
,
&
(
ctx
->
nx_crypto_aes_mode_context
.
gcm
)
,
nx_crypto_aes.c:2600
_nx_crypto_method_aes_gcm_operation()
status
=
_nx_crypto_gcm_decrypt_calculate
(
ctx
,
&
(
ctx
->
nx_crypto_aes_mode_context
.
gcm
)
,
nx_crypto_aes.c:2610
_nx_crypto_method_aes_gcm_operation()
(
ctx
->
nx_crypto_aes_mode_context
.
gcm
.
nx_crypto_gcm_additional_data_len
>
0
&&
nx_crypto_aes.c:2619
_nx_crypto_method_aes_gcm_operation()
ctx
->
nx_crypto_aes_mode_context
.
gcm
.
nx_crypto_gcm_additional_data
==
NX_CRYPTO_NULL
)
)
nx_crypto_aes.c:2620
_nx_crypto_method_aes_gcm_operation()
status
=
_nx_crypto_gcm_encrypt_init
(
ctx
,
&
(
ctx
->
nx_crypto_aes_mode_context
.
gcm
)
,
nx_crypto_aes.c:2634
_nx_crypto_method_aes_gcm_operation()
ctx
->
nx_crypto_aes_mode_context
.
gcm
.
nx_crypto_gcm_additional_data
,
nx_crypto_aes.c:2636
_nx_crypto_method_aes_gcm_operation()
ctx
->
nx_crypto_aes_mode_context
.
gcm
.
nx_crypto_gcm_additional_data_len
,
nx_crypto_aes.c:2637
_nx_crypto_method_aes_gcm_operation()
status
=
_nx_crypto_gcm_encrypt_update
(
ctx
,
&
(
ctx
->
nx_crypto_aes_mode_context
.
gcm
)
,
nx_crypto_aes.c:2645
_nx_crypto_method_aes_gcm_operation()
status
=
_nx_crypto_gcm_encrypt_calculate
(
ctx
,
&
(
ctx
->
nx_crypto_aes_mode_context
.
gcm
)
,
nx_crypto_aes.c:2655
_nx_crypto_method_aes_gcm_operation()
status
=
_nx_crypto_gcm_decrypt_init
(
ctx
,
&
(
ctx
->
nx_crypto_aes_mode_context
.
gcm
)
,
nx_crypto_aes.c:2669
_nx_crypto_method_aes_gcm_operation()
status
=
_nx_crypto_gcm_decrypt_update
(
ctx
,
&
(
ctx
->
nx_crypto_aes_mode_context
.
gcm
)
,
nx_crypto_aes.c:2678
_nx_crypto_method_aes_gcm_operation()
status
=
_nx_crypto_gcm_decrypt_calculate
(
ctx
,
&
(
ctx
->
nx_crypto_aes_mode_context
.
gcm
)
,
nx_crypto_aes.c:2693
_nx_crypto_method_aes_gcm_operation()
status
=
_nx_crypto_gcm_encrypt_init
(
ctx
,
&
(
ctx
->
nx_crypto_aes_mode_context
.
gcm
)
,
nx_crypto_aes.c:2707
_nx_crypto_method_aes_gcm_operation()
status
=
_nx_crypto_gcm_encrypt_update
(
ctx
,
&
(
ctx
->
nx_crypto_aes_mode_context
.
gcm
)
,
nx_crypto_aes.c:2716
_nx_crypto_method_aes_gcm_operation()
status
=
_nx_crypto_gcm_encrypt_calculate
(
ctx
,
&
(
ctx
->
nx_crypto_aes_mode_context
.
gcm
)
,
nx_crypto_aes.c:2731
_nx_crypto_method_aes_gcm_operation()
ctx
->
nx_crypto_aes_mode_context
.
gcm
.
nx_crypto_gcm_additional_data
=
(
VOID
*
)
input
;
nx_crypto_aes.c:2741
_nx_crypto_method_aes_gcm_operation()
ctx
->
nx_crypto_aes_mode_context
.
gcm
.
nx_crypto_gcm_additional_data_len
=
input_length_in_byte
;
nx_crypto_aes.c:2744
_nx_crypto_method_aes_gcm_operation()
status
=
_nx_crypto_ctr_encrypt_init
(
&
(
ctx
->
nx_crypto_aes_mode_context
.
ctr
)
,
nx_crypto_aes.c:2858
_nx_crypto_method_aes_ctr_operation()
status
=
_nx_crypto_ctr_encrypt
(
ctx
,
&
(
ctx
->
nx_crypto_aes_mode_context
.
ctr
)
,
nx_crypto_aes.c:2865
_nx_crypto_method_aes_ctr_operation()
status
=
_nx_crypto_ctr_encrypt_init
(
&
(
ctx
->
nx_crypto_aes_mode_context
.
ctr
)
,
nx_crypto_aes.c:2875
_nx_crypto_method_aes_ctr_operation()
status
=
_nx_crypto_ctr_encrypt
(
ctx
,
&
(
ctx
->
nx_crypto_aes_mode_context
.
ctr
)
,
nx_crypto_aes.c:2884
_nx_crypto_method_aes_ctr_operation()
Call Tree
from
examples
All items filtered out
All items filtered out
Data Use
from
examples
NX_CRYPTO_AES_STRUCT::nx_crypto_aes_mode_context
is read by 5 functions:
All items filtered out
NX_CRYPTO_AES_STRUCT::nx_crypto_aes_mode_context
_nx_crypto_method_aes_init()
_nx_crypto_method_aes_cbc_operation()
_nx_crypto_method_aes_ccm_operation()
_nx_crypto_method_aes_gcm_operation()
_nx_crypto_method_aes_ctr_operation()
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