]> git.ipfire.org Git - thirdparty/nettle.git/commitdiff
Fix for definition of _gcm_hash. test-ghash-internal
authorNiels Möller <nisse@lysator.liu.se>
Wed, 9 Feb 2022 18:57:57 +0000 (19:57 +0100)
committerNiels Möller <nisse@lysator.liu.se>
Wed, 9 Feb 2022 18:57:57 +0000 (19:57 +0100)
gcm-internal.h

index a2f6ded38701f6dc2ea6f1fdf01a6b9aaa989226..397500572b388b0af2a41cd7b82be352f51b402b 100644 (file)
 
 /* Arrange so that _gcm_hash is an alias for the right implementation. */
 
-#if HAVE_NATIVE_gcm_hash
+#if HAVE_NATIVE_gcm_hash || HAVE_NATIVE_fat_gcm_hash
 # define _gcm_hash _nettle_gcm_hash
 #elif GCM_TABLE_BITS == 8 && HAVE_NATIVE_gcm_hash8
 # define _gcm_hash _nettle_gcm_hash8
-#elif !HAVE_NATIVE_fat_gcm_hash
+#else
 # define _gcm_hash _nettle_gcm_hash_c
 #endif