adjustments to curve25519