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

ecdh: Use library functions for Ed25519->X25519 conversion #283

Open
Yawning opened this issue May 4, 2020 · 0 comments
Open

ecdh: Use library functions for Ed25519->X25519 conversion #283

Yawning opened this issue May 4, 2020 · 0 comments

Comments

@Yawning
Copy link

Yawning commented May 4, 2020

Since this was using agl's PublicKeyToCurve25519/PrivateKeyToCurve25519, the X25519 implementation being used provides equivalent functionality (
oasisprotocol/ed25519@267bbda), so it is possible to avoid having to do it with math/big.

Note: The differences referred to in the commit message that adds the functionality have to do with the function prototypes, the conversion routines should produce identical results.

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

1 participant