Skip to main content

decode_loader_state

Function decode_loader_state 

Source
pub fn decode_loader_state(
    bytes: &[u8],
    config: &Config,
    expected: InitialImage,
) -> Result<LoaderState, Errno>
Expand description

Decode an exact canonical, configuration- and image-bound loader result. The backend must obtain these bytes only from its authenticated callback.