summaryrefslogtreecommitdiff
path: root/nettle-meta.h
diff options
context:
space:
mode:
Diffstat (limited to 'nettle-meta.h')
-rw-r--r--nettle-meta.h13
1 files changed, 1 insertions, 12 deletions
diff --git a/nettle-meta.h b/nettle-meta.h
index 8e08cb76..c4c79159 100644
--- a/nettle-meta.h
+++ b/nettle-meta.h
@@ -5,7 +5,7 @@
/* nettle, low-level cryptographics library
*
- * Copyright (C) 2002 Niels Möller
+ * Copyright (C) 2002, 2014 Niels Möller
*
* The nettle library is free software; you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
@@ -52,17 +52,6 @@ struct nettle_cipher
nettle_crypt_func *decrypt;
};
-#define _NETTLE_CIPHER(name, NAME, key_size) { \
- #name #key_size, \
- sizeof(struct name##_ctx), \
- NAME##_BLOCK_SIZE, \
- key_size / 8, \
- (nettle_set_key_func *) name##_set_key, \
- (nettle_set_key_func *) name##_set_key, \
- (nettle_crypt_func *) name##_encrypt, \
- (nettle_crypt_func *) name##_decrypt, \
-}
-
/* null-terminated list of ciphers implemented by this version of nettle */
extern const struct nettle_cipher * const nettle_ciphers[];