Module firmware_wrapper

Module firmware_wrapper 

Source
Expand description

§Firmware Package Wrappers

Implementation of RFC 4108 also known as “Using Cryptographic Message Syntax (CMS) to Protect Firmware Packages”. This module is used to protect firmware packages with CMS, as well as use for receipts and error reports for firmware package loading. The protected firmware package can be associated with any particular hardware module.

The firmware package contains object code for one or more programmable components that make up the hardware module. The firmware package, which is treated as an opaque binary object, is digitally signed. Optional encryption and compression are also supported. When all three are used, the firmware package is compressed, then encrypted, and then signed.

As with all rasn core crate implementations, this module does not provide the actual functionality for signing, encrypting, or compressing data; instead provides a shared set of data types that can be used with other crates to sign, encrypt, and compress your own firmware packages.

Structs§

CurrentFirmwareConfig
FirmwarePackageIdentifier
FirmwarePackageInfo
FirmwarePackageLoadError
FirmwarePackageLoadReceipt
HardwareModuleName
HardwareModules
PreferredPackageIdentifier

Enums§

CommunityIdentifier
FirmwarePackageLoadErrorCode
HardwareSerialEntry
PreferredOrLegacyPackageIdentifier
PreferredOrLegacyStalePackageIdentifier

Constants§

COMMUNITY_IDENTIFIERS
COMPRESS_ALGORITHMS
CRYPTO_ALGORITHMS
DECRYPT_KEY_ID
FIRMWARE_LOAD_ERROR
FIRMWARE_LOAD_RECEIPT
FIRMWARE_PACKAGE
FIRMWARE_PACKAGE_ID
FIRMWARE_PACKAGE_INFO
HARDWARE_MODULE_NAME
TARGET_HARDWARE_IDS
WRAPPED_FIRMWARE_KEY

Type Aliases§

CommunityIdentifiers
DecryptKeyIdentifier
FirmwareErrorVersion
FirmwarePackageData
FirmwareReceiptVersion
ImplementedCompressAlgorithms
ImplementedCryptoAlgorithms
TargetHardwareIdentifiers
VendorLoadErrorCode
WrappedFirmwareKey