ecc: Use 25519 method also for ed25519.