Update Curve25519/Ed25519 Doxygen documentation too. Make public key is a public API - check pubKey pointer is not NULL.