]> git.ipfire.org Git - thirdparty/nettle.git/commitdiff
(_NETTLE_CIPHER_FIX): Deleted keysize parameter.
authorNiels Möller <nisse@lysator.liu.se>
Mon, 14 Feb 2011 10:27:43 +0000 (11:27 +0100)
committerNiels Möller <nisse@lysator.liu.se>
Mon, 14 Feb 2011 10:27:43 +0000 (11:27 +0100)
Rev: nettle/nettle-meta.h:1.8

nettle-meta.h

index e3fb4e20bb49ed80594fe2393211e0c7572711b6..c02d146f28345ecb2be3259531e567b8789af3dc 100644 (file)
@@ -85,11 +85,11 @@ struct nettle_cipher
   (nettle_crypt_func *) name##_crypt,                  \
 }
 
-#define _NETTLE_CIPHER_FIX(name, NAME, keysize) {      \
+#define _NETTLE_CIPHER_FIX(name, NAME) {       \
   #name,                                               \
   sizeof(struct name##_ctx),                           \
   NAME##_BLOCK_SIZE,                                   \
-  keysize / 8,                                         \
+  NAME##_KEY_SIZE,                                     \
   (nettle_set_key_func *) name##_set_key,              \
   (nettle_set_key_func *) name##_set_key,              \
   (nettle_crypt_func *) name##_encrypt,                        \