This file includes common definitions for PSA storage. More...
#include <stddef.h>
#include <stdint.h>
#include "psa/error.h"
Go to the source code of this file.
Data Structures | |
struct | psa_storage_info_t |
A container for metadata associated with a specific uid. More... | |
Macros | |
#define | PSA_STORAGE_FLAG_NONE 0 |
No flags to pass. More... | |
#define | PSA_STORAGE_FLAG_WRITE_ONCE (1 << 0) |
The data associated with the uid will not be able to be modified or deleted. More... | |
#define | PSA_STORAGE_SUPPORT_SET_EXTENDED (1 << 0) |
Flag indicating that psa_storage_create and psa_storage_set_extended are supported. More... | |
#define | PSA_ERROR_DATA_CORRUPT ((psa_status_t)-152) |
PSA storage specific error codes. More... | |
Typedefs | |
typedef uint32_t | psa_storage_create_flags_t |
Flags used when creating a data entry. More... | |
typedef uint64_t | psa_storage_uid_t |
A type for UIDs used for identifying data. More... | |
This file includes common definitions for PSA storage.
Definition in file storage_common.h.
#define PSA_ERROR_DATA_CORRUPT ((psa_status_t)-152) |
PSA storage specific error codes.
Definition at line 55 of file storage_common.h.
#define PSA_STORAGE_FLAG_NONE 0 |
No flags to pass.
Definition at line 36 of file storage_common.h.
#define PSA_STORAGE_FLAG_WRITE_ONCE (1 << 0) |
The data associated with the uid will not be able to be modified or deleted.
Intended to be used to set bits in psa_storage_create_flags_t
Definition at line 37 of file storage_common.h.
#define PSA_STORAGE_SUPPORT_SET_EXTENDED (1 << 0) |
Flag indicating that psa_storage_create and psa_storage_set_extended are supported.
Definition at line 52 of file storage_common.h.
typedef uint32_t psa_storage_create_flags_t |
Flags used when creating a data entry.
Definition at line 34 of file storage_common.h.
typedef uint64_t psa_storage_uid_t |
A type for UIDs used for identifying data.
Definition at line 41 of file storage_common.h.