4#ifndef PSA_STORAGE_COMMON_H
5#define PSA_STORAGE_COMMON_H
24#ifdef CONFIG_SECURE_STORAGE_64_BIT_UID
34#define PSA_STORAGE_FLAG_NONE 0u
36#define PSA_STORAGE_FLAG_WRITE_ONCE (1u << 0)
38#define PSA_STORAGE_FLAG_NO_CONFIDENTIALITY (1u << 1)
40#define PSA_STORAGE_FLAG_NO_REPLAY_PROTECTION (1u << 2)
53#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:31
uint32_t psa_storage_uid_t
UID type for identifying entries.
Definition storage_common.h:27
Metadata associated with a specific entry.
Definition storage_common.h:43
size_t capacity
The allocated capacity of the storage associated with an entry.
Definition storage_common.h:45
size_t size
The size of an entry's data.
Definition storage_common.h:47
psa_storage_create_flags_t flags
The flags used when the entry was created.
Definition storage_common.h:49
Return values of the PSA Secure Storage API.