mbedTLS
psa_key_attributes_s::policy
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
psa_key_attributes_s::policy
psa_key_attributes_s::policy field
Syntax
Show:
Summary
Declaration
from
crypto_struct.h:303
psa_key_policy_t
MBEDTLS_PRIVATE
(
policy
;
Examples
References
from
examples
Code
Location
Referrer
psa_key_policy_t
MBEDTLS_PRIVATE
(
policy
)
;
crypto_struct.h:303
attributes
->
MBEDTLS_PRIVATE
(
policy
)
.
MBEDTLS_PRIVATE
(
alg2
)
=
alg2
;
crypto_extra.h:62
psa_set_key_enrollment_algorithm()
return
attributes
->
MBEDTLS_PRIVATE
(
policy
)
.
MBEDTLS_PRIVATE
(
alg2
)
;
crypto_extra.h:74
psa_get_key_enrollment_algorithm()
attributes
->
MBEDTLS_PRIVATE
(
policy
)
.
MBEDTLS_PRIVATE
(
usage
)
=
usage_flags
;
crypto_struct.h:398
psa_set_key_usage_flags()
return
attributes
->
MBEDTLS_PRIVATE
(
policy
)
.
MBEDTLS_PRIVATE
(
usage
)
;
crypto_struct.h:404
psa_get_key_usage_flags()
attributes
->
MBEDTLS_PRIVATE
(
policy
)
.
MBEDTLS_PRIVATE
(
alg
)
=
alg
;
crypto_struct.h:410
psa_set_key_algorithm()
return
attributes
->
MBEDTLS_PRIVATE
(
policy
)
.
MBEDTLS_PRIVATE
(
alg
)
;
crypto_struct.h:416
psa_get_key_algorithm()
if
(
(
slot
->
attr
.
policy
.
usage
&
usage
)
!=
usage
)
{
psa_crypto.c:1114
psa_get_and_lock_key_slot_with_policy()
status
=
psa_key_policy_permits
(
&
slot
->
attr
.
policy
,
psa_crypto.c:1121
psa_get_and_lock_key_slot_with_policy()
status
=
psa_validate_key_policy
(
&
attributes
->
policy
)
;
psa_crypto.c:1719
psa_validate_key_attributes()
&
actual_attributes
.
policy
,
psa_crypto.c:2234
psa_copy_key()
&
source_slot
->
attr
.
policy
)
;
psa_crypto.c:2235
psa_copy_key()
psa_extend_key_usage_flags
(
&
(
*
p_slot
)
->
attr
.
policy
.
usage
)
;
psa_crypto_slot_management.c:870
psa_get_and_lock_key_slot()
MBEDTLS_PUT_UINT32_LE
(
attr
->
policy
.
usage
,
storage_format
->
policy
,
0
)
;
psa_crypto_storage.c:250
psa_format_key_data_for_storage()
MBEDTLS_PUT_UINT32_LE
(
attr
->
policy
.
alg
,
storage_format
->
policy
,
sizeof
(
uint32_t
)
)
;
psa_crypto_storage.c:251
psa_format_key_data_for_storage()
MBEDTLS_PUT_UINT32_LE
(
attr
->
policy
.
alg2
,
storage_format
->
policy
,
2
*
sizeof
(
uint32_t
)
)
;
psa_crypto_storage.c:252
psa_format_key_data_for_storage()
attr
->
policy
.
usage
=
MBEDTLS_GET_UINT32_LE
(
storage_format
->
policy
,
0
)
;
psa_crypto_storage.c:310
psa_parse_key_data_from_storage()
attr
->
policy
.
alg
=
MBEDTLS_GET_UINT32_LE
(
storage_format
->
policy
,
sizeof
(
uint32_t
)
)
;
psa_crypto_storage.c:311
psa_parse_key_data_from_storage()
attr
->
policy
.
alg2
=
MBEDTLS_GET_UINT32_LE
(
storage_format
->
policy
,
2
*
sizeof
(
uint32_t
)
)
;
psa_crypto_storage.c:312
psa_parse_key_data_from_storage()
Call Tree
from
examples
All items filtered out
All items filtered out
Data Use
from
examples
psa_key_attributes_s::policy
is read by 10 functions:
All items filtered out
psa_key_attributes_s::policy
psa_set_key_usage_flags()
psa_get_key_usage_flags()
psa_set_key_algorithm()
psa_get_key_algorithm()
psa_set_key_enrollment_algorithm()
psa_get_key_enrollment_algorithm()
psa_get_and_lock_key_slot_with_policy()
psa_get_and_lock_key_slot()
psa_format_key_data_for_storage()
psa_parse_key_data_from_storage()
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