Maamoun TK maamoun.tk@googlemail.com writes:
But if HAVE_NATIVE_gcm_init_key and HAVE_NATIVE_gcm_hash are not defined, there are no definitions for _nettle_gcm_init_key() and _nettle_gcm_hash() respectively. Maybe it doesn't yield a warning or error because it's ok for the compiler to have a prototype declaration without function definition.
It's harmless to declare a function that's neither defined nor used.
Regards, /Niels