bunnie
8da62390ad
add RFC7748 test vectors for diffie hellman
2021-06-28 19:01:22 +08:00
bunnie
e01676d563
move the montgomery multiply code into the engine server
...
this saves a fairly substantial amount of time marshalling
re-used bits of microcode around on the benchmarks.
2021-06-28 18:41:34 +08:00
bunnie
ee87fd35a8
add hw acceleration for the affine transform on curve25519
2021-06-28 04:43:56 +08:00
bunnie
89b3875bfc
commit before working on acceleration code
2021-06-28 02:33:32 +08:00
bunnie
e2ada8f8fe
attempt to fix up some build system warts
2021-06-28 01:31:43 +08:00
bunnie
e39c2200cd
fix up the build system warts & integration with dalek crates
...
we are at least now only requiring users to use our patched
curve25519-dalek crate, which now builds cleanly in both
xous and std environments, but the higher-level crates can be
directly used from crates.io
2021-06-27 03:07:39 +08:00
bunnie
6efdb7e0db
stash a version with XousEngine25519 traits in case we want it back later
2021-06-27 00:31:15 +08:00
bunnie
9ebd181694
engine25519 core services now working
2021-06-25 19:35:31 +08:00
bunnie
75dca6bd4c
checkin for a rollback to sanity check some things
2021-06-25 02:09:42 +08:00
bunnie
3b0a4f2bf4
clean up some obvious bugs
...
stuff doesn't crash but also doesn't work
2021-06-24 03:38:32 +08:00
bunnie
ae25142acb
engine25519 doesn't crash on boot, at least.
...
ManagedMemory structure for susres has some issues with large
blocks, so use "heap-allocated" structures
2021-06-24 03:17:32 +08:00