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-meta.h | |
parent | a66c79ac1b1905a111b725d6bc4c2f857060281a (diff) | |
download | nettle-cee5299a9cce65e736a1c8d6368b03e5ab4c1c9f.tar.gz |
Deleted _NETTLE_CIPHER.
Diffstat (limited to 'nettle-meta.h')
-rw-r--r-- | nettle-meta.h | 13 |
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[]; |