use auto-release of accelerator hardware

This commit is contained in:
bunnie 2024-03-28 16:15:29 +08:00
parent 6d8c60f98c
commit 05a7c4ca7e
2 changed files with 2 additions and 4 deletions

View file

@ -71,8 +71,9 @@ byteorder = "1.4.3" # used by keywrap
hex = { version = "0.4.3", default-features = false, features = [] }
[dependencies.curve25519-dalek]
version = "=4.1.2" # note this is patched to our fork in ./Cargo.toml
version = "=4.1.2" # note this is patched to our fork in ./Cargo.toml
default-features = false
features = ["auto-release", "warn-fallback"]
[dependencies.ed25519-dalek]
version = "2.1.0"

View file

@ -2382,9 +2382,6 @@ fn main() -> ! {
log::error!("couldn't convert opcode");
}
}
// de-allocate the engine at the end of root-keys, so other crates can use it.
#[cfg(target_os = "xous")]
curve25519_dalek::backend::serial::u32e::free_engine();
}
// clean up our program
log::trace!("main loop exit, destroying servers");