curve25519: Clean up some types/methods
curve25519: Add constant SQRT_M1