Mistake on this page?
Report an issue in GitHub or email us
Macros | Typedefs
Key lifetimes

Macros

#define PSA_KEY_LIFETIME_VOLATILE   ((psa_key_lifetime_t)0x00000000)
 A volatile key only exists as long as the handle to it is not closed. More...
 
#define PSA_KEY_LIFETIME_PERSISTENT   ((psa_key_lifetime_t)0x00000001)
 The default storage area for persistent keys. More...
 
#define PSA_KEY_ID_USER_MIN   ((psa_app_key_id_t)0x00000001)
 The minimum value for a key identifier chosen by the application. More...
 
#define PSA_KEY_ID_USER_MAX   ((psa_app_key_id_t)0x3fffffff)
 The maximum value for a key identifier chosen by the application. More...
 
#define PSA_KEY_ID_VENDOR_MIN   ((psa_app_key_id_t)0x40000000)
 The minimum value for a key identifier chosen by the implementation. More...
 
#define PSA_KEY_ID_VENDOR_MAX   ((psa_app_key_id_t)0x7fffffff)
 The maximum value for a key identifier chosen by the implementation. More...
 
#define PSA_KEY_LIFETIME_VOLATILE   ((psa_key_lifetime_t)0x00000000)
 A volatile key only exists as long as the handle to it is not closed. More...
 
#define PSA_KEY_LIFETIME_PERSISTENT   ((psa_key_lifetime_t)0x00000001)
 The default storage area for persistent keys. More...
 
#define PSA_KEY_ID_USER_MIN   ((psa_app_key_id_t)0x00000001)
 The minimum value for a key identifier chosen by the application. More...
 
#define PSA_KEY_ID_USER_MAX   ((psa_app_key_id_t)0x3fffffff)
 The maximum value for a key identifier chosen by the application. More...
 
#define PSA_KEY_ID_VENDOR_MIN   ((psa_app_key_id_t)0x40000000)
 The minimum value for a key identifier chosen by the implementation. More...
 
#define PSA_KEY_ID_VENDOR_MAX   ((psa_app_key_id_t)0x7fffffff)
 The maximum value for a key identifier chosen by the implementation. More...
 
#define PSA_KEY_LIFETIME_VOLATILE   ((psa_key_lifetime_t)0x00000000)
 A volatile key only exists as long as the handle to it is not closed. More...
 
#define PSA_KEY_LIFETIME_PERSISTENT   ((psa_key_lifetime_t)0x00000001)
 The default storage area for persistent keys. More...
 
#define PSA_KEY_ID_USER_MIN   ((psa_key_id_t)0x00000001)
 The minimum value for a key identifier chosen by the application. More...
 
#define PSA_KEY_ID_USER_MAX   ((psa_key_id_t)0x3fffffff)
 The maximum value for a key identifier chosen by the application. More...
 
#define PSA_KEY_ID_VENDOR_MIN   ((psa_key_id_t)0x40000000)
 The minimum value for a key identifier chosen by the implementation. More...
 
#define PSA_KEY_ID_VENDOR_MAX   ((psa_key_id_t)0x7fffffff)
 The maximum value for a key identifier chosen by the implementation. More...
 

Typedefs

typedef uint32_t psa_key_lifetime_t
 Encoding of key lifetimes. More...
 
typedef uint32_t psa_key_id_t
 Encoding of identifiers of persistent keys. More...
 
typedef uint32_t psa_key_lifetime_t
 Encoding of key lifetimes. More...
 
typedef uint32_t psa_key_id_t
 Encoding of identifiers of persistent keys. More...
 
typedef uint32_t psa_key_lifetime_t
 Encoding of key lifetimes. More...
 
typedef uint32_t psa_key_id_t
 Encoding of identifiers of persistent keys. More...
 

Detailed Description

Macro Definition Documentation

#define PSA_KEY_ID_USER_MAX   ((psa_key_id_t)0x3fffffff)

The maximum value for a key identifier chosen by the application.

Definition at line 1562 of file TARGET_TFM/TARGET_TFM_V1_1/include/psa/crypto_values.h.

#define PSA_KEY_ID_USER_MAX   ((psa_app_key_id_t)0x3fffffff)

The maximum value for a key identifier chosen by the application.

Definition at line 1562 of file TARGET_TFM/TARGET_TFM_V1_0/include/psa/crypto_values.h.

#define PSA_KEY_ID_USER_MAX   ((psa_app_key_id_t)0x3fffffff)

The maximum value for a key identifier chosen by the application.

Definition at line 1566 of file TARGET_MBED_PSA_SRV/inc/psa/crypto_values.h.

#define PSA_KEY_ID_USER_MIN   ((psa_key_id_t)0x00000001)

The minimum value for a key identifier chosen by the application.

Definition at line 1559 of file TARGET_TFM/TARGET_TFM_V1_1/include/psa/crypto_values.h.

#define PSA_KEY_ID_USER_MIN   ((psa_app_key_id_t)0x00000001)

The minimum value for a key identifier chosen by the application.

Definition at line 1559 of file TARGET_TFM/TARGET_TFM_V1_0/include/psa/crypto_values.h.

#define PSA_KEY_ID_USER_MIN   ((psa_app_key_id_t)0x00000001)

The minimum value for a key identifier chosen by the application.

Definition at line 1563 of file TARGET_MBED_PSA_SRV/inc/psa/crypto_values.h.

#define PSA_KEY_ID_VENDOR_MAX   ((psa_key_id_t)0x7fffffff)

The maximum value for a key identifier chosen by the implementation.

Definition at line 1568 of file TARGET_TFM/TARGET_TFM_V1_1/include/psa/crypto_values.h.

#define PSA_KEY_ID_VENDOR_MAX   ((psa_app_key_id_t)0x7fffffff)

The maximum value for a key identifier chosen by the implementation.

Definition at line 1568 of file TARGET_TFM/TARGET_TFM_V1_0/include/psa/crypto_values.h.

#define PSA_KEY_ID_VENDOR_MAX   ((psa_app_key_id_t)0x7fffffff)

The maximum value for a key identifier chosen by the implementation.

Definition at line 1572 of file TARGET_MBED_PSA_SRV/inc/psa/crypto_values.h.

#define PSA_KEY_ID_VENDOR_MIN   ((psa_app_key_id_t)0x40000000)

The minimum value for a key identifier chosen by the implementation.

Definition at line 1565 of file TARGET_TFM/TARGET_TFM_V1_0/include/psa/crypto_values.h.

#define PSA_KEY_ID_VENDOR_MIN   ((psa_key_id_t)0x40000000)

The minimum value for a key identifier chosen by the implementation.

Definition at line 1565 of file TARGET_TFM/TARGET_TFM_V1_1/include/psa/crypto_values.h.

#define PSA_KEY_ID_VENDOR_MIN   ((psa_app_key_id_t)0x40000000)

The minimum value for a key identifier chosen by the implementation.

Definition at line 1569 of file TARGET_MBED_PSA_SRV/inc/psa/crypto_values.h.

#define PSA_KEY_LIFETIME_PERSISTENT   ((psa_key_lifetime_t)0x00000001)

The default storage area for persistent keys.

A persistent key remains in storage until it is explicitly destroyed or until the corresponding storage area is wiped. This specification does not define any mechanism to wipe a storage area, but implementations may provide their own mechanism (for example to perform a factory reset, to prepare for device refurbishment, or to uninstall an application).

This lifetime value is the default storage area for the calling application. Implementations may offer other storage areas designated by other lifetime values as implementation-specific extensions.

Definition at line 1555 of file TARGET_TFM/TARGET_TFM_V1_1/include/psa/crypto_values.h.

#define PSA_KEY_LIFETIME_PERSISTENT   ((psa_key_lifetime_t)0x00000001)

The default storage area for persistent keys.

A persistent key remains in storage until it is explicitly destroyed or until the corresponding storage area is wiped. This specification does not define any mechanism to wipe a storage area, but implementations may provide their own mechanism (for example to perform a factory reset, to prepare for device refurbishment, or to uninstall an application).

This lifetime value is the default storage area for the calling application. Implementations may offer other storage areas designated by other lifetime values as implementation-specific extensions.

Definition at line 1555 of file TARGET_TFM/TARGET_TFM_V1_0/include/psa/crypto_values.h.

#define PSA_KEY_LIFETIME_PERSISTENT   ((psa_key_lifetime_t)0x00000001)

The default storage area for persistent keys.

A persistent key remains in storage until it is explicitly destroyed or until the corresponding storage area is wiped. This specification does not define any mechanism to wipe a storage area, but implementations may provide their own mechanism (for example to perform a factory reset, to prepare for device refurbishment, or to uninstall an application).

This lifetime value is the default storage area for the calling application. Implementations may offer other storage areas designated by other lifetime values as implementation-specific extensions.

Definition at line 1559 of file TARGET_MBED_PSA_SRV/inc/psa/crypto_values.h.

#define PSA_KEY_LIFETIME_VOLATILE   ((psa_key_lifetime_t)0x00000000)

A volatile key only exists as long as the handle to it is not closed.

The key material is guaranteed to be erased on a power reset.

Definition at line 1541 of file TARGET_TFM/TARGET_TFM_V1_1/include/psa/crypto_values.h.

#define PSA_KEY_LIFETIME_VOLATILE   ((psa_key_lifetime_t)0x00000000)

A volatile key only exists as long as the handle to it is not closed.

The key material is guaranteed to be erased on a power reset.

Definition at line 1541 of file TARGET_TFM/TARGET_TFM_V1_0/include/psa/crypto_values.h.

#define PSA_KEY_LIFETIME_VOLATILE   ((psa_key_lifetime_t)0x00000000)

A volatile key only exists as long as the handle to it is not closed.

The key material is guaranteed to be erased on a power reset.

Definition at line 1545 of file TARGET_MBED_PSA_SRV/inc/psa/crypto_values.h.

Typedef Documentation

typedef uint32_t psa_key_id_t

Encoding of identifiers of persistent keys.

Definition at line 138 of file TARGET_MBED_PSA_SRV/inc/psa/crypto_types.h.

typedef uint32_t psa_key_id_t

Encoding of identifiers of persistent keys.

Definition at line 176 of file TARGET_TFM/TARGET_TFM_V1_0/include/psa/crypto_types.h.

typedef uint32_t psa_key_id_t

Encoding of identifiers of persistent keys.

Definition at line 180 of file TARGET_TFM/TARGET_TFM_V1_1/include/psa/crypto_types.h.

typedef uint32_t psa_key_lifetime_t

Encoding of key lifetimes.

The lifetime of a key indicates where it is stored and what system actions may create and destroy it.

Keys with the lifetime PSA_KEY_LIFETIME_VOLATILE are automatically destroyed when the application terminates or on a power reset.

Keys with a lifetime other than PSA_KEY_LIFETIME_VOLATILE are said to be persistent. Persistent keys are preserved if the application or the system restarts. Persistent keys have a key identifier of type psa_key_id_t. The application can call psa_open_key() to open a persistent key that it created previously.

Definition at line 121 of file TARGET_MBED_PSA_SRV/inc/psa/crypto_types.h.

typedef uint32_t psa_key_lifetime_t

Encoding of key lifetimes.

The lifetime of a key indicates where it is stored and what system actions may create and destroy it.

Keys with the lifetime PSA_KEY_LIFETIME_VOLATILE are automatically destroyed when the application terminates or on a power reset.

Keys with a lifetime other than PSA_KEY_LIFETIME_VOLATILE are said to be persistent. Persistent keys are preserved if the application or the system restarts. Persistent keys have a key identifier of type psa_key_id_t. The application can call psa_open_key() to open a persistent key that it created previously.

Definition at line 165 of file TARGET_TFM/TARGET_TFM_V1_0/include/psa/crypto_types.h.

typedef uint32_t psa_key_lifetime_t

Encoding of key lifetimes.

The lifetime of a key indicates where it is stored and what system actions may create and destroy it.

Keys with the lifetime PSA_KEY_LIFETIME_VOLATILE are automatically destroyed when the application terminates or on a power reset.

Keys with a lifetime other than PSA_KEY_LIFETIME_VOLATILE are said to be persistent. Persistent keys are preserved if the application or the system restarts. Persistent keys have a key identifier of type psa_key_id_t. The application can call psa_open_key() to open a persistent key that it created previously.

Definition at line 169 of file TARGET_TFM/TARGET_TFM_V1_1/include/psa/crypto_types.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.