Solidity implementation of some of the elliptic curve operations used by Ed25519. Requires up to 1 250 000 gas for one scalar multiplication.