add rand_chacha as a dependency for the loader

this is needed in the cramium-soc case because the raw TRNG
does not have a whitener, it should not be used directly to
generate keys.
This commit is contained in:
bunnie 2024-04-07 18:57:23 +08:00
parent 49f3570d23
commit 417fa16a22

View file

@ -33,6 +33,7 @@ aes-gcm-siv = { version = "0.11.1", default-features = false, features = [
"aes",
], optional = true }
crc = { version = "1.8.1", default-features = false }
rand_chacha = { version = "0.3.1", optional = true, default_features = false }
[dependencies.com_rs]
git = "https://github.com/betrusted-io/com_rs"
@ -65,6 +66,7 @@ cramium-soc = [
"cramium-hal",
"xous-pio",
"xous-pl230",
"rand_chacha",
]
cramium-fpga = [
"utralib/cramium-fpga",