Skip to content

Commit

Permalink
feat: add tdx-extend, sha384-extend and rtmr-calc
Browse files Browse the repository at this point in the history
This enables pre-calculating the TDX rtmr[1,2,3] values for an attested boot process.

Signed-off-by: Harald Hoyer <[email protected]>
  • Loading branch information
haraldh committed Dec 20, 2024
1 parent fbc4897 commit 5d32396
Show file tree
Hide file tree
Showing 12 changed files with 603 additions and 2 deletions.
112 changes: 110 additions & 2 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -29,13 +29,15 @@ ctrlc = "3.4"
enumset = { version = "1.1", features = ["serde"] }
futures-core = { version = "0.3.30", features = ["alloc"], default-features = false }
getrandom = "0.2.14"
gpt = "4.0.0"
hex = { version = "0.4.3", features = ["std"], default-features = false }
intel-tee-quote-verification-rs = { package = "teepot-tee-quote-verification-rs", path = "crates/teepot-tee-quote-verification-rs", version = "0.3.0" }
intel-tee-quote-verification-sys = { version = "0.2.1" }
jsonrpsee-types = { version = "0.23", default-features = false }
num-integer = "0.1.46"
num-traits = "0.2.18"
p256 = "0.13.2"
pe-sign = "0.1.10"
pgp = "0.14.2"
pkcs8 = { version = "0.10" }
rand = "0.8"
Expand Down
18 changes: 18 additions & 0 deletions bin/rtmr-calc/Cargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
[package]
name = "rtmr-calc"
version.workspace = true
edition.workspace = true
authors.workspace = true
license.workspace = true
repository.workspace = true
homepage.workspace = true

[dependencies]
anyhow.workspace = true
clap.workspace = true
gpt.workspace = true
hex.workspace = true
pe-sign.workspace = true
sha2.workspace = true
teepot.workspace = true
tracing.workspace = true
Loading

0 comments on commit 5d32396

Please sign in to comment.