Skip to content

Commit

Permalink
Change the Salty library we use to an oxide fork with zeroize. (oxide…
Browse files Browse the repository at this point in the history
…computer#764)

This can be reverted once upstream merges & releases
ycrypto/salty#26 or something similar.
  • Loading branch information
flihp authored and FawazTirmizi committed Oct 3, 2022
1 parent 2f2e328 commit 8d6a3e8
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 4 deletions.
3 changes: 1 addition & 2 deletions Cargo.lock

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

5 changes: 4 additions & 1 deletion lib/dice/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,15 @@ edition = "2021"
hkdf = { version = "0.12", default-features = false }
hubpack = "0.1"
lpc55-pac = "0.3"
salty = "0.2"
serde = { version = "1", default-features = false, features = ["derive"] }
serde-big-array = "0.4"
sha3 = { version = "0.10", default-features = false }
unwrap-lite = { path = "../unwrap-lite" }
zeroize = { version = "1.5.7", default-features = false, features = ["zeroize_derive"] }

[dependencies.salty]
git = "https://github.com/oxidecomputer/salty"
rev = "eb3c31858f631a7fb9934246c8efdef080d05726"

[dev-dependencies]
chrono = "0.4"
6 changes: 5 additions & 1 deletion stage0/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ lpc55-pac = {version = "0.3.0", features = ["rt"]}
ecdsa = { version = "0.12.4", default-features = false, features = ["der"] }
p256 = { version = "0.9.0", default-features = false, features = ["ecdsa", "ecdsa-core"] }
hmac = { version = "0.10.1", default-features = false }
salty = { version = "0.2", optional = true }
sha3 = { version = "0.10", default-features = false, optional = true }
zerocopy = "0.6.1"
abi = { path = "../sys/abi" }
Expand All @@ -33,6 +32,11 @@ path = "../lib/dice"
default-features = false
optional = true

[dependencies.salty]
git = "https://github.com/oxidecomputer/salty"
rev = "eb3c31858f631a7fb9934246c8efdef080d05726"
optional = true

[[bin]]
name = "stage0"
test = false
Expand Down

0 comments on commit 8d6a3e8

Please sign in to comment.