8 #ifndef __PSA_AUDIT_API__
9 #define __PSA_AUDIT_API__
14 #define PSA_AUDIT_API_VERSION_MAJOR (0)
15 #define PSA_AUDIT_API_VERSION_MINOR (1)
48 const uint32_t buffer_size,
50 const uint32_t token_size,
52 uint32_t *record_size);
105 const uint8_t *token,
106 const uint32_t token_size);
psa_status_t psa_audit_get_record_info(const uint32_t record_index, uint32_t *size)
Returns the size of the record at the specified index.
psa_status_t psa_audit_delete_record(const uint32_t record_index, const uint8_t *token, const uint32_t token_size)
Deletes a record at the specified index.
psa_status_t psa_audit_add_record(const struct psa_audit_record *record)
Adds a record.
Standard error codes for the SPM and RoT Services.
This structure contains the record that is added to the audit log by the requesting secure service...
int32_t psa_status_t
Function return status.
psa_status_t psa_audit_get_info(uint32_t *num_records, uint32_t *size)
Returns the total number and size of the records stored.
psa_status_t psa_audit_retrieve_record(const uint32_t record_index, const uint32_t buffer_size, const uint8_t *token, const uint32_t token_size, uint8_t *buffer, uint32_t *record_size)
Retrieves a record at the specified index.