mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-18 08:52:45 +00:00
lock rootkeys into a particular version of the dalek crates + cooperative release of hw accelerator
the cooperative release is THE problem that we need to discuss.
This commit is contained in:
parent
3bcc0dcd88
commit
f5fdcf7d5b
2 changed files with 5 additions and 3 deletions
|
|
@ -65,13 +65,13 @@ keyboard = { path = "../keyboard" }
|
||||||
sha2 = { version = "0.10.8" }
|
sha2 = { version = "0.10.8" }
|
||||||
digest = "0.10.7"
|
digest = "0.10.7"
|
||||||
aes = { path = "../aes" }
|
aes = { path = "../aes" }
|
||||||
engine-25519 = { path = "../engine-25519" }
|
# engine-25519 = { path = "../engine-25519" }
|
||||||
byteorder = "1.4.3" # used by keywrap
|
byteorder = "1.4.3" # used by keywrap
|
||||||
# hardware acceleration adaptations are inserted into a fork of the main branch.
|
# hardware acceleration adaptations are inserted into a fork of the main branch.
|
||||||
hex = { version = "0.4.3", default-features = false, features = [] }
|
hex = { version = "0.4.3", default-features = false, features = [] }
|
||||||
|
|
||||||
[dependencies.curve25519-dalek]
|
[dependencies.curve25519-dalek]
|
||||||
version = "=4.1.1" # note this is patched to our fork in ./Cargo.toml
|
version = "=4.1.1" # note this is patched to our fork in ./Cargo.toml
|
||||||
default-features = false
|
default-features = false
|
||||||
|
|
||||||
[dependencies.ed25519-dalek]
|
[dependencies.ed25519-dalek]
|
||||||
|
|
|
||||||
|
|
@ -2382,6 +2382,8 @@ fn main() -> ! {
|
||||||
log::error!("couldn't convert opcode");
|
log::error!("couldn't convert opcode");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
// de-allocate the engine at the end of root-keys, so other crates can use it.
|
||||||
|
curve25519_dalek::backend::serial::u32e::free_engine();
|
||||||
}
|
}
|
||||||
// clean up our program
|
// clean up our program
|
||||||
log::trace!("main loop exit, destroying servers");
|
log::trace!("main loop exit, destroying servers");
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue