diff options
author | Niels Möller <nisse@lysator.liu.se> | 2014-02-06 14:13:15 +0100 |
---|---|---|
committer | Niels Möller <nisse@lysator.liu.se> | 2014-02-06 14:13:15 +0100 |
commit | a495057f8e54cf0d79e3fd53e25146b9eb8803ca (patch) | |
tree | 392d8741b1564a2d0d3c9c120486e5a186d877d3 | |
parent | c05b9ec829c012f34a9bfc320405679df3826e52 (diff) | |
download | nettle-a495057f8e54cf0d79e3fd53e25146b9eb8803ca.tar.gz |
Deleted _NETTLE_CIPHER_SEP and _NETTLE_CIPHER_SEP_SET_KEY.
-rw-r--r-- | ChangeLog | 3 | ||||
-rw-r--r-- | nettle-meta.h | 22 |
2 files changed, 3 insertions, 22 deletions
@@ -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> diff --git a/nettle-meta.h b/nettle-meta.h index 16cc77bc..bac38353 100644 --- a/nettle-meta.h +++ b/nettle-meta.h @@ -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), \ |