mirror of
https://github.com/tillitis/tillitis-key1.git
synced 2025-05-06 16:04:58 -04:00
WIP: verify pre loaded app 2
This commit is contained in:
parent
33bed6fc94
commit
68917cc1bb
5 changed files with 75 additions and 7 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue