mirror of
https://github.com/tillitis/tillitis-key1.git
synced 2025-08-01 19:26:13 -04:00
Fix allowed_app_digest formatting
Fix formating of BLAKE2s digest of app allowed to start from flash slot 0.
This commit is contained in:
parent
03d96c3e96
commit
1a904e8857
1 changed files with 6 additions and 3 deletions
|
@ -11,11 +11,14 @@
|
|||
// Lock down what app can start from flash slot 0.
|
||||
//
|
||||
// To update this, compute the BLAKE2s digest of the app.bin
|
||||
// clang-format off
|
||||
static const uint8_t allowed_app_digest[32] = {
|
||||
0x85, 0x29, 0xe3, 0x25, 0xf5, 0x8d, 0x53, 0x5f, 0xe1, 0x2a, 0x77,
|
||||
0x92, 0xe7, 0xdc, 0x4b, 0x4d, 0x1, 0x85, 0x17, 0xca, 0xfd, 0x54,
|
||||
0x83, 0xb3, 0xbb, 0x28, 0x4f, 0xa1, 0x98, 0x5f, 0x9e, 0x56,
|
||||
0x85, 0x29, 0xe3, 0x25, 0xf5, 0x8d, 0x53, 0x5f,
|
||||
0xe1, 0x2a, 0x77, 0x92, 0xe7, 0xdc, 0x4b, 0x4d,
|
||||
0x01, 0x85, 0x17, 0xca, 0xfd, 0x54, 0x83, 0xb3,
|
||||
0xbb, 0x28, 0x4f, 0xa1, 0x98, 0x5f, 0x9e, 0x56,
|
||||
};
|
||||
// clang-format on
|
||||
|
||||
static uint8_t current_app_digest[32];
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue