Module rasn_cms::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§

Enums§

Constants§

Type Aliases§