dalek-cryptography / x25519-dalek

X25519 elliptic curve Diffie-Hellman key exchange in pure-Rust, using curve25519-dalek.
BSD 3-Clause "New" or "Revised" License
331 stars 133 forks source link

Move to dalek-cryptography org; use released library #2

Closed FauxFaux closed 6 years ago

FauxFaux commented 6 years ago

Not sure what's happening with this library, but it looks like the kind of thing I want to use. Is it to be part of dalek-cryptography? If so, it would be nice if all the links pointed to the same place, and it didn't clone things from contributor's personal githubs! :smile:

I've only updated curve-x25519 to 0.14, as 0.15 picks up https://github.com/dalek-cryptography/curve25519-dalek/commit/6748dddb96897b9cf9d5ea8df0fdf5e6f14e654d , which removes the compressed montgomery point function calls and types, and I have no idea what code changes are necessary to accommodate that in this library.

Not-ignored tests are green.

FauxFaux commented 6 years ago

Ah, now all points are compressed. The tests seem to pass with some s/CompressedMontgomeryU/MontgomeryPoint/, and changing the reference/dereferencing in some places.