From 12e406ce058adedef6add808e81e2ebbef4741fc Mon Sep 17 00:00:00 2001 From: bunnie Date: Mon, 25 Mar 2024 13:41:40 +0800 Subject: [PATCH] add fiat-crypto crate for emulation in case hardware is busy --- curve25519-dalek/Cargo.toml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/curve25519-dalek/Cargo.toml b/curve25519-dalek/Cargo.toml index 30868cf..9570670 100644 --- a/curve25519-dalek/Cargo.toml +++ b/curve25519-dalek/Cargo.toml @@ -62,6 +62,8 @@ engine25519-as = {git = "https://github.com/betrusted-io/engine25519-as.git", re utralib = {version = "0.1.24", default-features = false} zeroize = { version = "1", default-features = false } xous = "0.9.58" +# for fallback when hardware is unavailable +fiat-crypto = { version = "0.2.1", default-features = false} [target.'cfg(target_arch = "x86_64")'.dependencies] cpufeatures = "0.2.6"