firmware

package
v0.4.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 2, 2025 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Overview

Package firmware provides definitions of the firmware executable and associated metadata.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Bundle

type Bundle struct {
	// Checkpoint is an append-only commitment from the log that includes the
	// Manifest as a leaf.
	Checkpoint []byte
	// Index is the position in the log that Manifest is committed to as a leaf.
	Index uint64
	// InclusionProof is a chain of hashes that proves that Manifest is the
	// leaf at Index in the log committed to by Checkpoint.
	InclusionProof [][]byte
	// Manifest is the metadata about Firmware, including its type, provenance,
	// and semantic version. This includes a hash of Firmware, which binds this
	// executable to Checkpoint.
	Manifest []byte
	// Firmware is the elf executable data committed to by Manifest.
	Firmware []byte
}

Bundle represents the required information for firmware to be installed onto the device.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL