Skip to content

Commit b959525

Browse files
authored
Add .cddl and .diag files into the specs. (#54)
* Add .cddl and .diag files into the specs. Signed-off-by: Jeff Andersen <jeffandersen@google.com> * Use stable tag. --------- Signed-off-by: Jeff Andersen <jeffandersen@google.com>
1 parent 5c9bb13 commit b959525

File tree

3 files changed

+23
-3
lines changed

3 files changed

+23
-3
lines changed

.github/workflows/deploy_pages.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,10 @@ defaults:
1818
jobs:
1919
# Render specs
2020
spec-render:
21-
uses: opencomputeproject/ocp-spec-tools/.github/workflows/render.yml@main
21+
uses: opencomputeproject/ocp-spec-tools/.github/workflows/render.yml@stable
2222
with:
2323
tcg-container-version: latest
24-
ocp-template-ref: main
24+
ocp-template-ref: stable
2525
inputs: >-
2626
[
2727
{

specifications/device-identity-provisioning/spec.ocp

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -353,3 +353,15 @@ In this specification, several example device identity key hierarchies use the t
353353
In TCG's DICE Hardware Requirements [@{tcg-dice-hardware-requirements}], FMC is defined as "First Measured Code", and is "the code and/or configuration information that is executed and/or takes effect immediately following the Device Identifier Composition Engine". First Measured Code is synonymous with Layer 0 in the DICE Layering Architecture [@{tcg-dice-layering-architecture}].
354354

355355
The difference between First Measured Code and First Mutable Code is subtle but important. In Caliptra, the First Measured Code corresponds with the Caliptra ROM layer. As such, Caliptra's Device ID or IDevID keypair is wielded by ROM, rather than Caliptra's FMC.
356+
357+
## Envelope-signed CSR EAT CDDL
358+
359+
```include {.small}
360+
!include cddl/envelope-signed-csr-eat.cddl
361+
```
362+
363+
## Envelope-signed CSR EAT example CDDL diag
364+
365+
```include {.small}
366+
!include diag/envelope-signed-csr-eat-example.diag
367+
```

specifications/ietf-eat-profile/spec.ocp

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -288,7 +288,15 @@ The table below maps the above entries with the reference-triple dictionary stru
288288
| Value | measurement-map->mval->raw_value | Raw Value of the Security Setting |
289289
| ValueMask | measurement-map->mval->raw_value_mask | (Optional) Raw Value Mask |
290290

291-
## Appendix
291+
# Appendix
292+
293+
## Profile CDDL
294+
295+
```include {.small}
296+
!include cddl/ietf_eat_ocp_profile.cddl
297+
```
298+
299+
## CWT example
292300

293301
The following example illustrates a CWT containing claims for three target environments:
294302
* **Firmware (FW) Component**: Digest and Security Version Number (SVN)

0 commit comments

Comments
 (0)