diff options
author | Niels Möller <nisse@lysator.liu.se> | 2014-02-06 15:07:40 +0100 |
---|---|---|
committer | Niels Möller <nisse@lysator.liu.se> | 2014-02-06 15:07:40 +0100 |
commit | cee5299a9cce65e736a1c8d6368b03e5ab4c1c9f (patch) | |
tree | e2fa5cad9c8e54cf89b6b4fda47f0f540e377a7b /nettle-internal.c | |
parent | a66c79ac1b1905a111b725d6bc4c2f857060281a (diff) | |
download | nettle-cee5299a9cce65e736a1c8d6368b03e5ab4c1c9f.tar.gz |
Deleted _NETTLE_CIPHER.
Diffstat (limited to 'nettle-internal.c')
-rw-r--r-- | nettle-internal.c | 9 |
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 |