summaryrefslogtreecommitdiff
path: root/nettle-internal.c
diff options
context:
space:
mode:
authorNiels Möller <nisse@lysator.liu.se>2014-02-06 15:07:40 +0100
committerNiels Möller <nisse@lysator.liu.se>2014-02-06 15:07:40 +0100
commitcee5299a9cce65e736a1c8d6368b03e5ab4c1c9f (patch)
treee2fa5cad9c8e54cf89b6b4fda47f0f540e377a7b /nettle-internal.c
parenta66c79ac1b1905a111b725d6bc4c2f857060281a (diff)
downloadnettle-cee5299a9cce65e736a1c8d6368b03e5ab4c1c9f.tar.gz
Deleted _NETTLE_CIPHER.
Diffstat (limited to 'nettle-internal.c')
-rw-r--r--nettle-internal.c9
1 files changed, 8 insertions, 1 deletions
diff --git a/nettle-internal.c b/nettle-internal.c
index ba24dee2..6733a3f1 100644
--- a/nettle-internal.c
+++ b/nettle-internal.c
@@ -64,7 +64,14 @@ nettle_des3 = {
/* NOTE: This is not as nice as one might think, as we pretend
blowfish_set_key has no return value. */
const struct nettle_cipher
-nettle_blowfish128 = _NETTLE_CIPHER(blowfish, BLOWFISH, 128);
+nettle_blowfish128 =
+ { "blowfish128", sizeof(struct blowfish_ctx),
+ BLOWFISH_BLOCK_SIZE, BLOWFISH128_KEY_SIZE,
+ (nettle_set_key_func *) blowfish128_set_key,
+ (nettle_set_key_func *) blowfish128_set_key,
+ (nettle_crypt_func *) blowfish_encrypt,
+ (nettle_crypt_func *) blowfish_decrypt
+ };
/* Sets a fix zero iv. For benchmarking only. */
static void