mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-15 08:30:02 +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" }
|
||||
digest = "0.10.7"
|
||||
aes = { path = "../aes" }
|
||||
engine-25519 = { path = "../engine-25519" }
|
||||
byteorder = "1.4.3" # used by keywrap
|
||||
# engine-25519 = { path = "../engine-25519" }
|
||||
byteorder = "1.4.3" # used by keywrap
|
||||
# hardware acceleration adaptations are inserted into a fork of the main branch.
|
||||
hex = { version = "0.4.3", default-features = false, features = [] }
|
||||
|
||||
[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
|
||||
|
||||
[dependencies.ed25519-dalek]
|
||||
|
|
|
|||
|
|
@ -2382,6 +2382,8 @@ fn main() -> ! {
|
|||
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
|
||||
log::trace!("main loop exit, destroying servers");
|
||||
|
|
|
|||
Loading…
Reference in a new issue