ecc: Add Ed25519 key generation and prepare for optimizations.