int08h / roughenough

A Roughtime secure time sync client and server written in Rust
https://int08h.com/post/roughenough-a-rust-roughtime-server/
Apache License 2.0
123 stars 21 forks source link

Refactor signing and verification to use ed25519-dalek #43

Closed int08h closed 1 month ago

int08h commented 1 month ago

perf shows the server spends most of its time in signature generation. Benchmarking shows ed25519-dalek is about 40% faster than Ring generating signatures on x86_64.

Replaced Verifier and Signer with ed25519-dalek for signature operations. Updated relevant imports and function calls.