Skip to main content

LOCK_CONFIG_MAGIC

Constant LOCK_CONFIG_MAGIC 

Source
pub const LOCK_CONFIG_MAGIC: [u8; 4];
Expand description

Magic word for CommandOpcode::LockConfigZone. Picked to be a distinctive 32-bit value (DE AD BE EF).

Exposed pub so the host CLI in tools/hsm-host can build the same payload byte sequence without re-declaring the constant. The crate is the single source of truth for the wire format; the CLI is a consumer.