Open tel opened 11 years ago
Perhaps using something like pipes
to simulate the negotiation?
or use machines? :)
I'm more interested in supporting the pipes infrastructure, though. Either way, this isn't a big deal—I'm just trying to think of places to replace the ScalarMult interface with a more meaningful one. Constant-time group powers aren't important. Defensible HDH is.
On Monday, June 10, 2013 at 1:28 AM, Carter Tazio Schonwald wrote:
or use machines? :)
— Reply to this email directly or view it on GitHub (https://github.com/tel/saltine/issues/10#issuecomment-19181341).
ScalarMult is also used to derive a PublicKey from a SecretKey (might be nice to implement that in Saltine as well). See https://github.com/iphydf/hstox/blob/ed5b6c86d3232ee3c4a7d656b6b036a3f0b81a36/src/Network/Tox/Crypto/Keypair.hs#L28.
ScalarMult
appears to be a primitive for performing hashed Diffie-Hellman exchanges. That's a really low-level primitive, though. Is it possible to wrap it in a nicer interface?