WIP: verify pre loaded app 2

This commit is contained in:
Mikael Ågren 2025-03-21 15:24:56 +01:00
parent 33bed6fc94
commit 68917cc1bb
No known key found for this signature in database
GPG key ID: E02DA3D397792C46
5 changed files with 75 additions and 7 deletions

View file

@ -91,6 +91,9 @@ int32_t syscall_handler(uint32_t number, uint32_t arg1, uint32_t arg2,
// always using slot 1
return preload_store_finalize(&part_table, arg1, (uint8_t *)arg2, (uint8_t *)arg3, 1);
case TK1_SYSCALL_PRELOAD_GET_DIGSIG:
return preload_get_digsig(&part_table, (uint8_t *)arg1, (uint8_t *)arg2, 1);
case TK1_SYSCALL_REG_MGMT:
return mgmt_app_register(&part_table);