Skip to content

Commit 7655a4f

Browse files
author
Andrzej Kurek
committed
Update the slot validation function to the new API
1 parent 7f66686 commit 7655a4f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

atecc608a_se.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -387,12 +387,14 @@ psa_status_t atecc608a_read(uint16_t slot, size_t offset, uint8_t *data, size_t
387387

388388
static psa_status_t atecc608a_validate_slot_number(
389389
psa_drv_se_context_t *drv_context,
390+
void *persistent_data,
390391
const psa_key_attributes_t *attributes,
391392
psa_key_creation_method_t method,
392393
psa_key_slot_number_t key_slot)
393394
{
394395
psa_key_type_t type = psa_get_key_type(attributes);
395396
(void) drv_context;
397+
(void) persistent_data;
396398
(void) method;
397399

398400
if (PSA_KEY_TYPE_IS_ECC_KEY_PAIR(type)) {

0 commit comments

Comments
 (0)