diff --git a/Cargo.lock b/Cargo.lock index 23976a1c6..630618a46 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -505,7 +505,7 @@ dependencies = [ [[package]] name = "curve25519-dalek" version = "3.1.0" -source = "git+https://github.com/betrusted-io/curve25519-dalek.git?branch=main#9ffc75dd3cccd93478521414f5e1298da4eb831e" +source = "git+https://github.com/betrusted-io/curve25519-dalek.git?branch=main#41cc7c4ab3ccc9e42f8894d96924585bafc23074" dependencies = [ "byteorder", "digest", diff --git a/Cargo.toml b/Cargo.toml index 8b811c6f9..b407b53e3 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -95,6 +95,7 @@ sha2 = {path = "services/engine-sha512", package = "engine-sha512"} [patch.crates-io.curve25519-dalek] git="https://github.com/betrusted-io/curve25519-dalek.git" branch="main" +#path = "../curve25519-dalek" default-features = false features = ["u32_backend", "betrusted"] diff --git a/precursors/soc.svd b/precursors/soc.svd index 9a31026ac..73a7104c5 100755 --- a/precursors/soc.svd +++ b/precursors/soc.svd @@ -3,7 +3,7 @@ litex SOC - + 8 32 @@ -3451,7 +3451,7 @@ inject too fast.]]> SEED1 0x0000 - 0x199653c4 + 0x314fcffc 32 @@ -3466,7 +3466,7 @@ inject too fast.]]> SEED0 0x0004 - 0x5a781786 + 0x67a42778 32 diff --git a/precursors/soc_csr.bin b/precursors/soc_csr.bin index 6c1a07a6c..8bbe42120 100755 Binary files a/precursors/soc_csr.bin and b/precursors/soc_csr.bin differ diff --git a/services/shellchat/src/cmds/engine.rs b/services/shellchat/src/cmds/engine.rs index c3692f460..ccf21e2e6 100644 --- a/services/shellchat/src/cmds/engine.rs +++ b/services/shellchat/src/cmds/engine.rs @@ -154,8 +154,9 @@ pub fn benchmark_thread(sid0: usize, sid1: usize, sid2: usize, sid3: usize) { 2xop => each iteration has 2x DH ops in it (one for alice, one for bob) 202ms/2xop (10 x 10 iters - sw) 40.5ms/2xop (10 x 10 iters - hw) - 33ms/2xop (200 iters - hw) + 33ms/2xop (200 iters - hw) - affine done in software 190ms/2xop (200 iters - sw) + 26ms/2xop (200 iters -hw) -- affine done in hardware */ Some(BenchOp::StartDh) => { let mut passes = 0;