Commit 1c7bddc1 authored by Niels Möller's avatar Niels Möller
Browse files

Renamed some macro arguments.

Rev: nettle/nettle-meta.h:1.9
parent 90c7e8d6
......@@ -52,33 +52,33 @@ struct nettle_cipher
nettle_crypt_func *decrypt;
};
#define _NETTLE_CIPHER(name, NAME, keysize) { \
#name #keysize, \
#define _NETTLE_CIPHER(name, NAME, key_size) { \
#name #key_size, \
sizeof(struct name##_ctx), \
NAME##_BLOCK_SIZE, \
keysize / 8, \
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, \
}
#define _NETTLE_CIPHER_SEP(name, NAME, keysize) { \
#name #keysize, \
#define _NETTLE_CIPHER_SEP(name, NAME, key_size) { \
#name #key_size, \
sizeof(struct name##_ctx), \
NAME##_BLOCK_SIZE, \
keysize / 8, \
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, keysize) {\
#name #keysize, \
#define _NETTLE_CIPHER_SEP_SET_KEY(name, NAME, key_size) {\
#name #key_size, \
sizeof(struct name##_ctx), \
NAME##_BLOCK_SIZE, \
keysize / 8, \
key_size / 8, \
(nettle_set_key_func *) name##_set_encrypt_key, \
(nettle_set_key_func *) name##_set_decrypt_key, \
(nettle_crypt_func *) name##_crypt, \
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment