Module seed

Module seed 

Source
Expand description

Power-loss-safe entropy-pool seed records.

One 32-byte seed per record, written through the shared record engine so a torn write can only ever cost the newest seed, never the previous committed one. Which two pages the journal owns is the firmware’s memory-map decision.

The seed is what umsh_crypto::pool::EntropyPool ratchets forward at every boot; the write cadence is once per boot-that-drew plus the occasional post-harvest refresh, so at 64 records per page the pair sees an erase every couple hundred boots — wear is a non-issue.

Structs§

SeedRecord
One committed pool seed.

Constants§

COMMIT_OFFSET
SLOT_SIZE

Functions§

consider_record
Fold one slot’s bytes into the newest-record scan.