|
TF-M Reference Manual
1.2.0
TrustedFirmware-M
|


Go to the source code of this file.
Enumerations | |
| enum | psa_attest_err_t { PSA_ATTEST_ERR_SUCCESS = 0, PSA_ATTEST_ERR_INIT_FAILED, PSA_ATTEST_ERR_BUFFER_OVERFLOW, PSA_ATTEST_ERR_CLAIM_UNAVAILABLE, PSA_ATTEST_ERR_INVALID_INPUT, PSA_ATTEST_ERR_GENERAL, PSA_ATTEST_ERR_FORCE_INT_SIZE = INT_MAX } |
| Initial attestation service error types. More... | |
Functions | |
| enum psa_attest_err_t | attest_get_boot_data (uint8_t major_type, struct tfm_boot_data *boot_data, uint32_t len) |
| Copy the boot data (coming from boot loader) from shared memory area to service memory area. More... | |
| enum psa_attest_err_t | attest_get_caller_client_id (int32_t *caller_id) |
| Get the ID of the caller thread. More... | |
| psa_status_t | attest_init (void) |
| Initialise the initial attestation service during the TF-M boot up process. More... | |
| psa_status_t | initial_attest_get_token (const psa_invec *in_vec, uint32_t num_invec, psa_outvec *out_vec, uint32_t num_outvec) |
| Get initial attestation token. More... | |
| psa_status_t | initial_attest_get_token_size (const psa_invec *in_vec, uint32_t num_invec, psa_outvec *out_vec, uint32_t num_outvec) |
| Get the size of the initial attestation token. More... | |
| psa_status_t | initial_attest_get_public_key (const psa_invec *in_vec, uint32_t num_invec, psa_outvec *out_vec, uint32_t num_outvec) |
| Get the initial attestation public key. More... | |
| enum psa_attest_err_t |
Initial attestation service error types.
| enum psa_attest_err_t attest_get_boot_data | ( | uint8_t | major_type, |
| struct tfm_boot_data * | boot_data, | ||
| uint32_t | len | ||
| ) |
Copy the boot data (coming from boot loader) from shared memory area to service memory area.
| [in] | major_type | Major type of TLV entries to copy |
| [out] | boot_data | Pointer to the buffer to store the boot data |
| [in] | len | Size of the buffer to store the boot data |
Definition at line 38 of file tfm_attest.c.


| enum psa_attest_err_t attest_get_caller_client_id | ( | int32_t * | caller_id | ) |
Get the ID of the caller thread.
| [out] | caller_id | Pointer where to store caller ID |
Definition at line 20 of file tfm_attest.c.

| psa_status_t attest_init | ( | void | ) |
Initialise the initial attestation service during the TF-M boot up process.
Definition at line 99 of file attest_core.c.


| psa_status_t initial_attest_get_public_key | ( | const psa_invec * | in_vec, |
| uint32_t | num_invec, | ||
| psa_outvec * | out_vec, | ||
| uint32_t | num_outvec | ||
| ) |
Get the initial attestation public key.
| [in] | in_vec | Pointer to in_vec array, which contains input data to attestation service |
| [in] | num_invec | Number of elements in in_vec array |
| [out] | out_vec | Pointer to out_vec array, which contains pointer where to store the output data |
| [in] | num_outvec | Number of elements in out_vec array |
Definition at line 922 of file attest_core.c.

| psa_status_t initial_attest_get_token | ( | const psa_invec * | in_vec, |
| uint32_t | num_invec, | ||
| psa_outvec * | out_vec, | ||
| uint32_t | num_outvec | ||
| ) |
Get initial attestation token.
| [in] | in_vec | Pointer to in_vec array, which contains input data to attestation service |
| [in] | num_invec | Number of elements in in_vec array |
| [in,out] | out_vec | Pointer out_vec array, which contains output data to attestation service |
| [in] | num_outvec | Number of elements in out_vec array |
Definition at line 833 of file attest_core.c.
| psa_status_t initial_attest_get_token_size | ( | const psa_invec * | in_vec, |
| uint32_t | num_invec, | ||
| psa_outvec * | out_vec, | ||
| uint32_t | num_outvec | ||
| ) |
Get the size of the initial attestation token.
| [in] | in_vec | Pointer to in_vec array, which contains input data to attestation service |
| [in] | num_invec | Number of elements in in_vec array |
| [out] | out_vec | Pointer to out_vec array, which contains pointer where to store the output data |
| [in] | num_outvec | Number of elements in out_vec array |
Definition at line 869 of file attest_core.c.