Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 8cbbc15b authored by Alan Stokes's avatar Alan Stokes
Browse files

Give a name to the ConfigurationDescriptor.

Test: N/A
Change-Id: Ia2f4198e97a61494ba50e46fd198ee1f1ad44f0d
parent 57d13b5d
Loading
Loading
Loading
Loading
+8 −6
Original line number Diff line number Diff line
@@ -101,15 +101,17 @@ DiceChainEntryPayload = { ; CWT [RFC8392]
    -4670545 : bstr,                         ; Code Hash
    ? -4670546 : bstr,                       ; Code Descriptor
    -4670547 : bstr,                         ; Configuration Hash
    -4670548 : bstr .cbor {                  ; Configuration Descriptor
    -4670548 : bstr .cbor ConfigurationDescriptor,
    -4670549 : bstr,                         ; Authority Hash
    ? -4670550 : bstr,                       ; Authority Descriptor
    -4670551 : bstr,                         ; Mode
}

ConfigurationDescriptor = {                  ; Configuration Descriptor
    ? -70002 : tstr,                         ; Component name
    ? -70003 : int / tstr,                   ; Component version
    ? -70004 : null,                         ; Resettable
    ? -70005 : uint,                         ; Security version
    },
    -4670549 : bstr,                         ; Authority Hash
    ? -4670550 : bstr,                       ; Authority Descriptor
    -4670551 : bstr,                         ; Mode
}

; Each entry in the DICE chain is a DiceChainEntryPayload signed by the key from the previous