summaryrefslogtreecommitdiff
path: root/fat-s390x.c
diff options
context:
space:
mode:
authorNiels Möller <nisse@lysator.liu.se>2022-02-17 19:26:12 +0100
committerNiels Möller <nisse@lysator.liu.se>2022-02-17 19:26:12 +0100
commitd966ea0ddb1953651cd1cef788315e6ae9cebcfc (patch)
tree22871a74f082b068e3f9dc9fbfd31ff62472fbf3 /fat-s390x.c
parent60edc2905d4af10a372f83d2a51d688a1646ad43 (diff)
downloadnettle-d966ea0ddb1953651cd1cef788315e6ae9cebcfc.tar.gz
Delete code for GCM_TABLE_BITS != 8.
Diffstat (limited to 'fat-s390x.c')
-rw-r--r--fat-s390x.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/fat-s390x.c b/fat-s390x.c
index 6c68c445..a1295736 100644
--- a/fat-s390x.c
+++ b/fat-s390x.c
@@ -242,7 +242,6 @@ DECLARE_FAT_FUNC_VAR(aes256_decrypt, aes256_crypt_func, c)
DECLARE_FAT_FUNC_VAR(aes256_decrypt, aes256_crypt_func, s390x)
/* GHASH */
-#if GCM_TABLE_BITS == 8
DECLARE_FAT_FUNC(_nettle_gcm_init_key, gcm_init_key_func)
DECLARE_FAT_FUNC_VAR(gcm_init_key, gcm_init_key_func, c)
DECLARE_FAT_FUNC_VAR(gcm_init_key, gcm_init_key_func, s390x)
@@ -250,7 +249,6 @@ DECLARE_FAT_FUNC_VAR(gcm_init_key, gcm_init_key_func, s390x)
DECLARE_FAT_FUNC(_nettle_gcm_hash, gcm_hash_func)
DECLARE_FAT_FUNC_VAR(gcm_hash, gcm_hash_func, c)
DECLARE_FAT_FUNC_VAR(gcm_hash, gcm_hash_func, s390x)
-#endif /* GCM_TABLE_BITS == 8 */
DECLARE_FAT_FUNC(nettle_sha1_compress, sha1_compress_func)
DECLARE_FAT_FUNC_VAR(sha1_compress, sha1_compress_func, c)
@@ -483,7 +481,6 @@ DEFINE_FAT_FUNC(nettle_aes256_decrypt, void,
(ctx, length, dst, src))
/* GHASH */
-#if GCM_TABLE_BITS == 8
DEFINE_FAT_FUNC(_nettle_gcm_init_key, void,
(union nettle_block16 *table),
(table))
@@ -491,7 +488,6 @@ DEFINE_FAT_FUNC(_nettle_gcm_hash, void,
(const struct gcm_key *key, union nettle_block16 *x,
size_t length, const uint8_t *data),
(key, x, length, data))
-#endif /* GCM_TABLE_BITS == 8 */
/* SHA1 */
DEFINE_FAT_FUNC(nettle_sha1_compress, void,