Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions atecc608a_se.c
Original file line number Diff line number Diff line change
Expand Up @@ -387,12 +387,14 @@ psa_status_t atecc608a_read(uint16_t slot, size_t offset, uint8_t *data, size_t

static psa_status_t atecc608a_validate_slot_number(
psa_drv_se_context_t *drv_context,
void *persistent_data,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we add a (void) persistent_data; in the function body?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yep, that's even better.

const psa_key_attributes_t *attributes,
psa_key_creation_method_t method,
psa_key_slot_number_t key_slot)
{
psa_key_type_t type = psa_get_key_type(attributes);
(void) drv_context;
(void) persistent_data;
(void) method;

if (PSA_KEY_TYPE_IS_ECC_KEY_PAIR(type)) {
Expand Down