SOC Manifest

The Caliptra SOC manifest has two main components:

The Preamble section contains the authorization manifest ECC and LMS public keys of the vendor and the owner. These public keys correspond to the private keys that sign the Image Metadata Collection (IMC) section. These signatures are included in the Preamble. The Caliptra firmware’s ECC and LMS private keys endorse the manifest’s public keys, and these endorsements (signatures) are part of the Preamble as well.

Note: All fields are little endian unless specified

FieldSize (bytes)Description
Manifest Marker4Magic Number marking the start of the manifest. The value must be 0x41544D4E (‘ATMN’ in ASCII)
Manifest Size4Size of the full manifest structure
Version4Manifest version
Flags4Feature flags.
Bit0: - Vendor Signature Required. If set, the vendor public keys will be used to verify the signatures signed with the
vendor private key. Otherwise, vendor signatures will not be used for verification.
Bit1-Bit31: Reserved
Vendor ECC Public Key96Vendor ECC P-384 public key used to verify the IMC Signature.
X-Coordinate: Public Key X-Coordinate (48 bytes)
Y-Coordinate: Public Key Y-Coordinate (48 bytes)
Vendor LMS Public Key48Vendor LMS public key used to verify the IMC Signature.
tree_type: LMS Algorithm Type (4 bytes)
otstype: LMS Ots Algorithm Type (4 bytes)
id: (16 bytes)
digest: (24 bytes)
Note: If LMS validation is not required, this should field should be zeroed out.
Vendor ECC Signature96Vendor ECDSA P-384 signature of the Version, Flags, Vendor ECC and LMS public keys, hashed using SHA2-384.
R-Coordinate: Random Point (48 bytes)
S-Coordinate: Proof (48 bytes)
Vendor LMS Signature1620Vendor LMS signature of the Version, Flags, Vendor ECC and LMS public keys, hashed using SHA2-384.
q: Leaf of the Merkle tree where the OTS public key appears (4 bytes)
ots: Lmots Signature (1252 bytes)
tree_type: Lms Algorithm Type (4 bytes)
tree_path: Path through the tree from the leaf associated with the LM-OTS signature to the root. (360 bytes)
Note: If LMS validation is not required, this should field should be zeroed out.
Owner ECC Public Key96Owner ECC P-384 public key used to verify the IMC Signature.
X-Coordinate: Public Key X-Coordinate (48 bytes)
Y-Coordinate: Public Key Y-Coordinate (48 bytes)
Owner LMS Public Key48Owner LMS public key used to verify the IMC Signature.
tree_type: LMS Algorithm Type (4 bytes)
otstype: LMS Ots Algorithm Type (4 bytes)
id: (16 bytes)
digest: (24 bytes)
Note: If LMS validation is not required, this should field should be zeroed out.
Owner ECC Signature96Owner ECDSA P-384 signature of the Owner ECC and LMS public keys, hashed using SHA2-384.
R-Coordinate: Random Point (48 bytes)
S-Coordinate: Proof (48 bytes)
Owner LMS Signature1620Owner LMS signature of the Owner ECC and LMS public keys, hashed using SHA2-384.
q: Leaf of the Merkle tree where the OTS public key appears (4 bytes)
ots: Lmots Signature (1252 bytes)
tree_type: Lms Algorithm Type (4 bytes)
tree_path: Path through the tree from the leaf associated with the LM-OTS signature to the root. (360 bytes)
Note: If LMS validation is not required, this should field should be zeroed out.
IMC Vendor ECC Signature96Vendor ECDSA P-384 Signature of the Image Metadata Collection hashed using SHA2-384.
X-Coordinate: Public Key X-Coordinate (48 bytes)
Y-Coordinate: Public Key Y-Coordinate(48bytes)
IMC Vendor LMS Signature1620Vendor LMOTS-SHA192-W4 signature of the Image Metadata Collection hashed using SHA2-384.
q: Leaf of the Merkle tree where the OTS public key appears (4 bytes)
ots: Lmots Signature (1252 bytes)
tree_type: Lms Algorithm Type (4 bytes)
tree_path: Path through the tree from the leaf associated with the LM-OTS signature to the root. (360 bytes)
Note: If LMS validation is not required, this field should be zeroed out.
IMC Owner ECC Signature96Owner ECDSA P-384 Signature of the Image Metadata Collection hashed using SHA2-384.
X-Coordinate: Public Key X-Coordinate (48 bytes)
Y-Coordinate: Public Key Y-Coordinate(48bytes)
IMC Owner LMS Signature1620Owner LMOTS-SHA192-W4 signature of the Image Metadata Collection hashed using SHA2-384
q: Leaf of the Merkle tree where the OTS public key appears (4 bytes)
ots: Lmots Signature (1252 bytes)
tree_type: Lms Algorithm Type (4 bytes)
tree_path: Path through the tree from the leaf associated with the LM-OTS signature to the root. (360 bytes)
Note: If LMS validation is not required, this field should be zeroed out.
FieldSize (bytes)Description
Firmware Idu32Id of the image
Flagsu32See METADATA_ENTRY_FLAGS below
Digestu32[12]Digest of the image
FieldSize (bits)Description
Image Source21: InRequest
Ignore Auth Check1If set, the image digest is not compared for the firmware id

The Image Metadata Collection (IMC) is a collection of Image Metadata entries (IME). Each IME has a hash that matches a SOC images. The manifest vendor and owner private keys sign the IMC. The Preamble holds the IMC signatures. The manifest IMC vendor signatures are optional and are validated only if the FLAGS field Bit 0 = 1. Up to 127 image hashes are supported.

FieldSize (bytes)Description
Image Metadata Entry (IME) Count4Number of IME(s) in the IMC
Image Metadata Entry (N)VariableList of Image Metadata Entry structures