mirror of
https://github.com/Evolution-X/hardware_interfaces
synced 2026-02-01 11:36:00 +00:00
InitialPayload of ExplicitKeyDiceCertChain
Change the spec for DiceCertChainInitialPayload, removing the map & directly equating it to bstr .cbor PubKey. Also mandate it to stick to Core Deterministic Encoding Requirements. The deterministic encoding is essential to ensure DicePolicies can be applied on the root key. Test: Builds Bug: 319613231 Change-Id: I5e12ecbcbae84ae608d784a12f8ae4afc49b5a9d
This commit is contained in:
@@ -19,11 +19,10 @@ ExplicitKeyDiceCertChain = [
|
||||
* DiceChainEntry
|
||||
]
|
||||
|
||||
DiceCertChainInitialPayload = {
|
||||
-4670552 : bstr .cbor PubKeyEd25519 /
|
||||
bstr .cbor PubKeyECDSA256 /
|
||||
bstr .cbor PubKeyECDSA384 ; subjectPublicKey
|
||||
}
|
||||
; Encoded in accordance with Core Deterministic Encoding Requirements [RFC 8949 s4.2.1]
|
||||
DiceCertChainInitialPayload = bstr .cbor PubKeyEd25519
|
||||
/ bstr .cbor PubKeyECDSA256
|
||||
/ bstr .cbor PubKeyECDSA384 ; subjectPublicKey
|
||||
|
||||
; INCLUDE generateCertificateRequestV2.cddl for: PubKeyEd25519, PubKeyECDSA256, PubKeyECDSA384,
|
||||
; DiceChainEntry
|
||||
|
||||
Reference in New Issue
Block a user