|
ra8-firmware 0.1.0
Bare-metal firmware for the Renesas RA8 family (RA8D2 / RA8P1)
|
Forward declaration of the static-pool slot type. More...
#include <ra8_psa_crypto_internal.h>
Data Fields | |
| bool | in_use |
| Slot allocated. | |
| ra8_psa_key_attr_t | attr |
| Cached caller attributes. | |
| size_t | key_len |
| Bytes valid in key. | |
| uint8_t | key [k_ra8_psa_max_key_bytes] |
| Raw key material (fake). | |
| psa_key_id_t | psa_id |
| Underlying PSA key identifier. | |
Forward declaration of the static-pool slot type.
Concrete pool slot backing one ra8_psa_key_t.
Defined inside ra8_psa_crypto.c. Callers only ever see the typed pointer; the slot stores the underlying psa_key_id_t, the cached algorithm metadata, and an in_use flag.
One slot per imported key. in_use doubles as the bitmap bit; the array index is the slot index [0, k_ra8_psa_max_keys).
Definition at line 152 of file ra8_psa_crypto_internal.h.
| ra8_psa_key_attr_t ra8_psa_key_handle::attr |
Cached caller attributes.
Definition at line 154 of file ra8_psa_crypto_internal.h.
Referenced by internal_aead_decrypt_check(), internal_aead_encrypt_check(), internal_psa_import_into_slot(), ra8_psa_key_import(), ra8_psa_sign_hash(), and ra8_psa_verify_hash().
| bool ra8_psa_key_handle::in_use |
Slot allocated.
Definition at line 153 of file ra8_psa_crypto_internal.h.
Referenced by internal_alloc_slot(), internal_handle_valid(), ra8_psa_crypto_deinit(), ra8_psa_key_destroy(), and ra8_psa_key_import().
| uint8_t ra8_psa_key_handle::key[k_ra8_psa_max_key_bytes] |
Raw key material (fake).
Definition at line 156 of file ra8_psa_crypto_internal.h.
Referenced by ra8_psa_crypto_deinit(), ra8_psa_key_destroy(), ra8_psa_key_import(), ra8_psa_sign_hash(), and ra8_psa_verify_hash().
| size_t ra8_psa_key_handle::key_len |
Bytes valid in key.
Definition at line 155 of file ra8_psa_crypto_internal.h.
Referenced by ra8_psa_key_destroy(), ra8_psa_key_import(), ra8_psa_sign_hash(), and ra8_psa_verify_hash().
| psa_key_id_t ra8_psa_key_handle::psa_id |
Underlying PSA key identifier.
Endif.
Definition at line 158 of file ra8_psa_crypto_internal.h.
Referenced by internal_psa_import_into_slot(), ra8_psa_aead_decrypt(), ra8_psa_aead_encrypt(), ra8_psa_crypto_deinit(), ra8_psa_key_destroy(), ra8_psa_sign_hash(), and ra8_psa_verify_hash().