Expand description
Generator for the ATECC608B configuration zone blob used by the mini-HSM.
Produces a 128-byte binary file matching the specification documented
in docs/config-zone-layout.md. The bytes 0 to 15 (factory area) are
placeholders. They are not transmitted to the chip during the Write
command. Bytes 16 to 127 are the writable portion, which is what the
firmware writes to the chip during provisioning.
See the documentation for the bit-by-bit justification of every value.
Modulesยง
- annotate ๐
- Human-readable rendering of the configuration zone blob.
- blob ๐
- Construction of the 128-byte configuration zone blob.
- counter_
encoding ๐ - Encoding of the 8-byte initial value for the ATECC608B monotonic
counters (
Counter0at bytes 52..60 of the config zone,Counter1at bytes 60..68). - crc ๐
- CRC-16 implementation used to compute the lock-confirmation hash of the writable portion of the configuration zone.
Structsยง
- Cli ๐
Constantsยง
- EXPECTED_
CRC ๐ - Expected CRC-16 of the writable portion (bytes 16 to 127) of the
generated blob. This is an internal sanity check: if
blob::build()ever returns a different value, the generator has drifted from the specification indocs/config-zone-layout.md.
Functionsยง
- main ๐