]> git.ipfire.org Git - thirdparty/nettle.git/commitdiff
Deleted _NETTLE_CIPHER_SEP and _NETTLE_CIPHER_SEP_SET_KEY.
authorNiels Möller <nisse@lysator.liu.se>
Thu, 6 Feb 2014 13:13:15 +0000 (14:13 +0100)
committerNiels Möller <nisse@lysator.liu.se>
Thu, 6 Feb 2014 13:13:15 +0000 (14:13 +0100)
ChangeLog
nettle-meta.h

index 9632977bb8a9834fe07a0b1298954de389220c85..0fc58f6184b2dbd402aa9cc701267ed0bf23860c 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 2014-02-06  Niels Möller  <nisse@lysator.liu.se>
 
+       * nettle-meta.h (_NETTLE_CIPHER_SEP, _NETTLE_CIPHER_SEP_SET_KEY):
+       Deleted unused macros.
+
        * examples/nettle-benchmark.c (time_cipher): Fixed memset calls.
 
 2014-01-30  Niels Möller  <nisse@lysator.liu.se>
index 16cc77bc703be7a5bbc36929bef77260186127f0..bac383533b6ddae1b1eb18293be0d39cdadfa817 100644 (file)
@@ -63,28 +63,6 @@ struct nettle_cipher
   (nettle_crypt_func *) name##_decrypt,                \
 }
 
-#define _NETTLE_CIPHER_SEP(name, NAME, key_size) {     \
-  #name #key_size,                                     \
-  sizeof(struct name##_ctx),                           \
-  NAME##_BLOCK_SIZE,                                   \
-  key_size / 8,                                                \
-  (nettle_set_key_func *) name##_set_encrypt_key,      \
-  (nettle_set_key_func *) name##_set_decrypt_key,      \
-  (nettle_crypt_func *) name##_encrypt,                        \
-  (nettle_crypt_func *) name##_decrypt,                        \
-}
-
-#define _NETTLE_CIPHER_SEP_SET_KEY(name, NAME, key_size) {\
-  #name #key_size,                                     \
-  sizeof(struct name##_ctx),                           \
-  NAME##_BLOCK_SIZE,                                   \
-  key_size / 8,                                                \
-  (nettle_set_key_func *) name##_set_encrypt_key,      \
-  (nettle_set_key_func *) name##_set_decrypt_key,      \
-  (nettle_crypt_func *) name##_crypt,                  \
-  (nettle_crypt_func *) name##_crypt,                  \
-}
-
 #define _NETTLE_CIPHER_FIX(name, NAME) {       \
   #name,                                               \
   sizeof(struct name##_ctx),                           \