Yes it does. It's called scalarmult compared to crypto_scalarmult, which is for Curve25519. You can find the functions at the end of the paper: http://tweetnacl.cr.yp.to/tweetnacl-20140917.pdf
Frank On Wed, Jun 17, 2015 at 5:33 PM, Tony Arcieri <[email protected]> wrote: > TweetNaCl has Ed25519 scalar multiplication? That's news to me... > > On Wed, Jun 17, 2015 at 2:16 PM, Frank Wang <[email protected]> wrote: > >> Hi, >> >> I am working on a research project at MIT, and I need to use elliptic >> curves (or a group where DDH is hard, but elliptic curves seem like the >> best way to go) to implement a cryptographic scheme. I've been trying to >> search for general Curve25519 and Ed25519 libraries where I can just do add >> and scalar multiply as well as hash messages to points. The best library >> I've come across so far is tweetnacl, which has the add and scalar multiply >> operation for Ed25519, but it's a bit difficult to use, and I end up >> modifying the library to do subtraction of points. >> >> I have yet to find a good library that allows me to just do operations on >> Ed25519 or Curve25519. Does such a library exist? If not, any tips on what >> I should do? Should I just use another curve library that is better >> supported? If so, any suggestions? >> >> Thanks, >> Frank >> >> _______________________________________________ >> Curves mailing list >> [email protected] >> https://moderncrypto.org/mailman/listinfo/curves >> >> > > > -- > Tony Arcieri >
_______________________________________________ Curves mailing list [email protected] https://moderncrypto.org/mailman/listinfo/curves
