mirror of
https://github.com/tillitis/tillitis-key1.git
synced 2025-06-01 04:04:30 -04:00
fw: Remove storage area address and size from partition table
Instead we calculate start addresses from area index and use fixed size.
This commit is contained in:
parent
b837eec9e6
commit
930d204e9f
4 changed files with 51 additions and 27 deletions
|
@ -61,8 +61,6 @@
|
|||
/* - 1 byte status. */
|
||||
/* - 16 bytes random nonce. */
|
||||
/* - 16 bytes authentication tag. */
|
||||
/* - 4 bytes physical start address. */
|
||||
/* - 4 bytes physical end address. */
|
||||
|
||||
struct auth_metadata {
|
||||
uint8_t nonce[16];
|
||||
|
@ -78,8 +76,6 @@ struct pre_loaded_app_metadata {
|
|||
struct app_storage_area {
|
||||
uint8_t status;
|
||||
struct auth_metadata auth;
|
||||
uint32_t addr_start;
|
||||
uint32_t size;
|
||||
} __attribute__((packed));
|
||||
|
||||
struct table_header {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue