]> git.ipfire.org Git - thirdparty/nettle.git/commitdiff
Simplify ifdefs in gcm-internal.h ppc-gcm
authorNiels Möller <nisse@lysator.liu.se>
Sat, 28 Nov 2020 11:03:54 +0000 (12:03 +0100)
committerNiels Möller <nisse@lysator.liu.se>
Sat, 28 Nov 2020 11:03:54 +0000 (12:03 +0100)
gcm-internal.h

index 36d5f6f3dba91ec3193ac13c940f273444b0dc2a..2e28be2def769b1024901df9d968c4351d5f5daa 100644 (file)
 #define NETTLE_GCM_INTERNAL_H_INCLUDED
 
 /* Functions available only in some configurations */
-#if HAVE_NATIVE_gcm_init_key
 void
 _nettle_gcm_init_key (union nettle_block16 *table);
-#endif
 
-#if HAVE_NATIVE_gcm_hash
 void
 _nettle_gcm_hash(const struct gcm_key *key, union nettle_block16 *x,
                 size_t length, const uint8_t *data);
-#endif
 
 #if HAVE_NATIVE_fat_gcm_init_key
-void
-_nettle_gcm_init_key (union nettle_block16 *table);
-
 void
 _nettle_gcm_init_key_c (union nettle_block16 *table);
 #endif
 
 #if HAVE_NATIVE_fat_gcm_hash
 void
-_nettle_gcm_hash(const struct gcm_key *key, union nettle_block16 *x,
-                size_t length, const uint8_t *data);
-void
 _nettle_gcm_hash_c (const struct gcm_key *key, union nettle_block16 *x,
                    size_t length, const uint8_t *data);
 #endif