Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Understanding ScalarMult #10

Open
tel opened this issue Jun 10, 2013 · 4 comments
Open

Understanding ScalarMult #10

tel opened this issue Jun 10, 2013 · 4 comments

Comments

@tel
Copy link
Owner

tel commented Jun 10, 2013

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?

@tel
Copy link
Owner Author

tel commented Jun 10, 2013

Perhaps using something like pipes to simulate the negotiation?

@cartazio
Copy link

or use machines? :)

@tel
Copy link
Owner Author

tel commented Jun 10, 2013

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 (#10 (comment)).

@iphydf
Copy link

iphydf commented Feb 23, 2016

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants