logging: fix wording
remove warnings on OSX (workaround)
Fix cast warnings on 64bits
doc: Fix doxygen warnings.
doc: Add curve25519 to features list.