4#ifndef PSA_STORAGE_COMMON_H
5#define PSA_STORAGE_COMMON_H
23#ifdef CONFIG_SECURE_STORAGE_64_BIT_UID
33#define PSA_STORAGE_FLAG_NONE 0u
35#define PSA_STORAGE_FLAG_WRITE_ONCE (1u << 0)
37#define PSA_STORAGE_FLAG_NO_CONFIDENTIALITY (1u << 1)
39#define PSA_STORAGE_FLAG_NO_REPLAY_PROTECTION (1u << 2)
52#define PSA_STORAGE_SUPPORT_SET_EXTENDED (1u << 0)
__UINT32_TYPE__ uint32_t
Definition stdint.h:90
__UINT64_TYPE__ uint64_t
Definition stdint.h:91
uint32_t psa_storage_create_flags_t
Flags used when creating an entry.
Definition storage_common.h:30
uint32_t psa_storage_uid_t
UID type for identifying entries.
Definition storage_common.h:26
Metadata associated with a specific entry.
Definition storage_common.h:42
size_t capacity
The allocated capacity of the storage associated with an entry.
Definition storage_common.h:44
size_t size
The size of an entry's data.
Definition storage_common.h:46
psa_storage_create_flags_t flags
The flags used when the entry was created.
Definition storage_common.h:48
Return values of the PSA Secure Storage API.