Skip to main content

parse_lock_data_zone

Function parse_lock_data_zone 

Source
pub fn parse_lock_data_zone(payload: &[u8]) -> Result<(), PayloadError>
Expand description

Parse the payload of CommandOpcode::LockDataZone.

Layout: magic (4). No CRC accompanies a data-zone lock because secret-bearing slots cannot be read back to compute one. The double-confirmation in the host CLI is the only safety beyond the magic word.

ยงErrors