mirror of
https://github.com/tillitis/tillitis-key1.git
synced 2025-05-08 00:44:58 -04:00
Store app digest and signature for each app slot
This commit is contained in:
parent
93a49f50c2
commit
9018ae5b33
5 changed files with 73 additions and 24 deletions
|
@ -14,7 +14,9 @@ bool preload_check_valid_app(struct partition_table *part_table,
|
|||
int preload_load(struct partition_table *part_table, uint8_t from_slot);
|
||||
int preload_store(struct partition_table *part_table, uint32_t offset,
|
||||
uint8_t *data, size_t size, uint8_t to_slot);
|
||||
int preload_store_finalize(struct partition_table *part_table, size_t app_size, uint8_t to_slot);
|
||||
int preload_store_finalize(struct partition_table *part_table, size_t app_size,
|
||||
uint8_t app_digest[32], uint8_t app_signature[64],
|
||||
uint8_t to_slot);
|
||||
int preload_delete(struct partition_table *part_table, uint8_t slot);
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue