diff options
author | Rob Austein <sra@hactrn.net> | 2016-09-27 19:00:29 -0400 |
---|---|---|
committer | Rob Austein <sra@hactrn.net> | 2016-09-27 19:00:29 -0400 |
commit | 4a2bede5881a23a69f94beefe7d5dd56a12b9985 (patch) | |
tree | 8f1d6ffd739e4ac4d8be3d030a01d2614490f9a0 /hal.h | |
parent | 19a31e1906592391b3e60c387b69aaa799e47077 (diff) |
Redesign ks_flash block header.
* block_status is now a separate field from block_type, rather than
being a composite value.
* block_status is checked directly for allowed values in block_read(),
and is excluded from the CRC, simplifying the tombstone logic and
removing the need for a second CRC field.
* Added header fields to allow for objects too large to fit in a
single block (8192-bit RSA keys, any key with enough opaque
attributes attached). So far this is just the header changes, it's
not (yet) full support for multi-block objects.
Diffstat (limited to 'hal.h')
0 files changed, 0 insertions, 0 deletions