Mistake on this page?
Report an issue in GitHub or email us
Data Structures | Macros | Typedefs
storage_common.h File Reference

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...
 

Detailed Description

This file includes common definitions for PSA storage.

Definition in file storage_common.h.

Macro Definition Documentation

#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 Documentation

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.

Important Information for this Arm website

This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies. If you are not happy with the use of these cookies, please review our Cookie Policy to learn how they can be disabled. By disabling cookies, some features of the site will not work.