mirror of
https://github.com/tillitis/tillitis-key1.git
synced 2025-08-14 17:35:41 -04:00
fw/tools: Change partition checksum to vanilla BLAKE2s
Instead of using 16 byte BLAKE2s with a dummy key, use plain vanilla unkeyed 32 byte BLAKE2s for partition checksum. Co-authored-by: Mikael Ågren <mikael@tillitis.se>
This commit is contained in:
parent
66ea8df1d9
commit
3e8ff9671c
3 changed files with 5 additions and 24 deletions
|
@ -46,7 +46,7 @@
|
|||
#define SIZE_STORAGE_AREA 0x20000UL // 128KiB
|
||||
#define N_STORAGE_AREA 4
|
||||
|
||||
#define PART_CHECKSUM_SIZE 16
|
||||
#define PART_CHECKSUM_SIZE 32
|
||||
|
||||
enum part_status {
|
||||
PART_SLOT0_INVALID = 1,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue