From 44090d258f3b059ef29a0f76013a5b97c4d696a4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Niels=20M=C3=B6ller?= <nisse@lysator.liu.se>
Date: Sat, 28 Nov 2020 12:03:54 +0100
Subject: [PATCH] Simplify ifdefs in gcm-internal.h

---
 gcm-internal.h | 10 ----------
 1 file changed, 10 deletions(-)

diff --git a/gcm-internal.h b/gcm-internal.h
index 36d5f6f3..2e28be2d 100644
--- a/gcm-internal.h
+++ b/gcm-internal.h
@@ -33,30 +33,20 @@
 #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
-- 
GitLab