mbedTLS
key_data::bytes
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
key_data::bytes
key_data::bytes field
Syntax
Show:
Summary
Declaration
from
psa_crypto_core.h:159
size_t
bytes
;
Examples
References
from
examples
Code
Location
Referrer
size_t
bytes
;
psa_crypto_core.h:159
slot
->
key
.
bytes
=
buffer_length
;
psa_crypto.c:717
psa_allocate_buffer_to_slot()
mbedtls_zeroize_and_free
(
slot
->
key
.
data
,
slot
->
key
.
bytes
)
;
psa_crypto.c:1181
psa_remove_key_data_from_memory()
slot
->
key
.
bytes
=
0
;
psa_crypto.c:1185
psa_remove_key_data_from_memory()
slot
->
key
.
data
,
slot
->
key
.
bytes
,
psa_crypto.c:1527
psa_export_key()
&
slot
->
attr
,
slot
->
key
.
data
,
slot
->
key
.
bytes
,
psa_crypto.c:1644
psa_export_public_key()
slot
->
key
.
bytes
)
;
psa_crypto.c:1938
psa_finish_key_creation()
slot
->
key
.
bytes
,
psa_crypto.c:2117
psa_import_key()
&
slot
->
key
.
bytes
,
&
bits
)
;
psa_crypto.c:2118
psa_import_key()
source_slot
->
key
.
bytes
,
psa_crypto.c:2277
psa_copy_key()
target_slot
->
key
.
bytes
,
psa_crypto.c:2279
psa_copy_key()
&
target_slot
->
key
.
bytes
)
;
psa_crypto.c:2280
psa_copy_key()
source_slot
->
key
.
bytes
)
;
psa_crypto.c:2287
psa_copy_key()
slot
->
key
.
bytes
,
psa_crypto.c:2652
psa_mac_setup()
slot
->
key
.
bytes
,
psa_crypto.c:2658
psa_mac_setup()
slot
->
key
.
data
,
slot
->
key
.
bytes
,
psa_crypto.c:2849
psa_mac_compute_internal()
&
slot
->
attr
,
slot
->
key
.
data
,
slot
->
key
.
bytes
,
psa_crypto.c:3012
psa_sign_internal()
&
slot
->
attr
,
slot
->
key
.
data
,
slot
->
key
.
bytes
,
psa_crypto.c:3018
psa_sign_internal()
&
slot
->
attr
,
slot
->
key
.
data
,
slot
->
key
.
bytes
,
psa_crypto.c:3062
psa_verify_internal()
&
slot
->
attr
,
slot
->
key
.
data
,
slot
->
key
.
bytes
,
psa_crypto.c:3067
psa_verify_internal()
&
slot
->
attr
,
slot
->
key
.
data
,
slot
->
key
.
bytes
,
psa_crypto.c:3389
psa_asymmetric_encrypt()
&
slot
->
attr
,
slot
->
key
.
data
,
slot
->
key
.
bytes
,
psa_crypto.c:3447
psa_asymmetric_decrypt()
slot
->
key
.
bytes
,
alg
,
psa_crypto.c:3555
psa_sign_hash_start()
slot
->
key
.
bytes
,
psa_crypto.c:3712
psa_verify_hash_start()
slot
->
key
.
bytes
,
psa_crypto.c:4325
psa_cipher_setup()
slot
->
key
.
bytes
,
psa_crypto.c:4331
psa_cipher_setup()
&
slot
->
attr
,
slot
->
key
.
data
,
slot
->
key
.
bytes
,
psa_crypto.c:4608
psa_cipher_encrypt()
&
slot
->
attr
,
slot
->
key
.
data
,
slot
->
key
.
bytes
,
psa_crypto.c:4670
psa_cipher_decrypt()
&
slot
->
attr
,
slot
->
key
.
data
,
slot
->
key
.
bytes
,
psa_crypto.c:4798
psa_aead_encrypt()
&
slot
->
attr
,
slot
->
key
.
data
,
slot
->
key
.
bytes
,
psa_crypto.c:4865
psa_aead_decrypt()
slot
->
key
.
bytes
,
psa_crypto.c:4973
psa_aead_setup()
slot
->
key
.
bytes
,
psa_crypto.c:4979
psa_aead_setup()
slot
->
key
.
bytes
,
psa_crypto.c:6431
psa_generate_derived_key_internal()
&
slot
->
key
.
bytes
,
&
bits
)
;
psa_crypto.c:6432
psa_generate_derived_key_internal()
slot
->
key
.
bytes
)
;
psa_crypto.c:7494
psa_key_derivation_input_key()
private_key
->
key
.
bytes
,
alg
,
psa_crypto.c:7573
psa_key_agreement_raw_internal()
slot
->
key
.
data
,
slot
->
key
.
bytes
,
psa_crypto.c:8045
psa_generate_key_custom()
&
slot
->
key
.
bytes
)
;
psa_crypto.c:8046
psa_generate_key_custom()
operation
->
data
.
inputs
.
password
=
mbedtls_calloc
(
1
,
slot
->
key
.
bytes
)
;
psa_crypto.c:8540
psa_pake_set_password_key()
memcpy
(
operation
->
data
.
inputs
.
password
,
slot
->
key
.
data
,
slot
->
key
.
bytes
)
;
psa_crypto.c:8546
psa_pake_set_password_key()
operation
->
data
.
inputs
.
password_len
=
slot
->
key
.
bytes
;
psa_crypto.c:8547
psa_pake_set_password_key()
Call Tree
from
examples
All items filtered out
All items filtered out
Data Use
from
examples
key_data::bytes
is written by 2 functions and is read by 25 functions:
psa_allocate_buffer_to_slot()
psa_remove_key_data_from_memory()
All items filtered out
key_data::bytes
psa_remove_key_data_from_memory()
psa_export_key()
psa_export_public_key()
psa_finish_key_creation()
psa_import_key()
psa_copy_key()
psa_mac_setup()
psa_mac_compute_internal()
psa_sign_internal()
psa_verify_internal()
psa_asymmetric_encrypt()
psa_asymmetric_decrypt()
psa_sign_hash_start()
psa_verify_hash_start()
psa_cipher_setup()
psa_cipher_encrypt()
psa_cipher_decrypt()
psa_aead_encrypt()
psa_aead_decrypt()
psa_aead_setup()
psa_generate_derived_key_internal()
psa_key_derivation_input_key()
psa_key_agreement_raw_internal()
psa_generate_key_custom()
psa_pake_set_password_key()
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