Built-in keys#

Built-in key mechanism provides access to the keys stored in hardware.

It can be accessed using key ID that is in the range [MBEDTLS_PSA_KEY_ID_BUILTIN_MIN, MBEDLTS_PSA_KEY_ID_BUILTIN_MAX].

Note

Typedefs#

typedef uint64_t

A slot number identifying a key in a driver.

Macros#

#define
MBEDTLS_PSA_KEY_ID_BUILTIN_MIN ((psa_key_id_t)0x7fff0000)

The minimum value for a key identifier that is built into the implementation.

#define
MBEDTLS_PSA_KEY_ID_BUILTIN_MAX ((psa_key_id_t)0x7fffefff)

The maximum value for a key identifier that is built into the implementation.

#define
MBEDTLS_PSA_KEY_ID_BUILTIN_MIN ((psa_key_id_t)0x7fff0000)

The minimum value for a key identifier that is built into the implementation.

#define
MBEDTLS_PSA_KEY_ID_BUILTIN_MAX ((psa_key_id_t)0x7fffefff)

The maximum value for a key identifier that is built into the implementation.

Typedef Documentation#

psa_drv_slot_number_t#

typedef uint64_t psa_drv_slot_number_t

A slot number identifying a key in a driver.

Values of this type are used to identify built-in keys.


Definition at line 689 of file util/third_party/mbedtls/include/psa/crypto_extra.h

Macro Definition Documentation#

MBEDTLS_PSA_KEY_ID_BUILTIN_MIN#

#define MBEDTLS_PSA_KEY_ID_BUILTIN_MIN
Value:
((psa_key_id_t)0x7fff0000)

The minimum value for a key identifier that is built into the implementation.

The range of key identifiers from MBEDTLS_PSA_KEY_ID_BUILTIN_MIN to MBEDTLS_PSA_KEY_ID_BUILTIN_MAX within the range from PSA_KEY_ID_VENDOR_MIN and PSA_KEY_ID_VENDOR_MAX and must not intersect with any other set of implementation-chosen key identifiers.

This value is part of the library's ABI since changing it would invalidate the values of built-in key identifiers in applications.


Definition at line 676 of file util/third_party/mbedtls/include/psa/crypto_extra.h

MBEDTLS_PSA_KEY_ID_BUILTIN_MAX#

#define MBEDTLS_PSA_KEY_ID_BUILTIN_MAX
Value:
((psa_key_id_t)0x7fffefff)

The maximum value for a key identifier that is built into the implementation.

See MBEDTLS_PSA_KEY_ID_BUILTIN_MIN for more information.


Definition at line 683 of file util/third_party/mbedtls/include/psa/crypto_extra.h

MBEDTLS_PSA_KEY_ID_BUILTIN_MIN#

#define MBEDTLS_PSA_KEY_ID_BUILTIN_MIN
Value:
((psa_key_id_t)0x7fff0000)

The minimum value for a key identifier that is built into the implementation.

The range of key identifiers from MBEDTLS_PSA_KEY_ID_BUILTIN_MIN to MBEDTLS_PSA_KEY_ID_BUILTIN_MAX within the range from PSA_KEY_ID_VENDOR_MIN and PSA_KEY_ID_VENDOR_MAX and must not intersect with any other set of implementation-chosen key identifiers.

This value is part of the library's ABI since changing it would invalidate the values of built-in key identifiers in applications.


Definition at line 383 of file util/third_party/trusted-firmware-m/interface/include/psa/crypto_extra.h

MBEDTLS_PSA_KEY_ID_BUILTIN_MAX#

#define MBEDTLS_PSA_KEY_ID_BUILTIN_MAX
Value:
((psa_key_id_t)0x7fffefff)

The maximum value for a key identifier that is built into the implementation.

See MBEDTLS_PSA_KEY_ID_BUILTIN_MIN for more information.


Definition at line 390 of file util/third_party/trusted-firmware-m/interface/include/psa/crypto_extra.h