diff options
author | Niels Möller <nisse@lysator.liu.se> | 2014-03-18 21:42:00 +0100 |
---|---|---|
committer | Niels Möller <nisse@lysator.liu.se> | 2014-03-18 21:42:00 +0100 |
commit | a9b47a42f5a8a2d3e324075bf7bee52f403c6a2e (patch) | |
tree | 5ccdf3a769ece1c1b09e882fe837d8fdc9126c7f /arctwo-meta.c | |
parent | 6bd43205b83e773d51d6b73abbcbb77c828a5eb5 (diff) | |
download | nettle-a9b47a42f5a8a2d3e324075bf7bee52f403c6a2e.tar.gz |
Define and use nettle_cipher_func, for block ciphers.
Diffstat (limited to 'arctwo-meta.c')
-rw-r--r-- | arctwo-meta.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/arctwo-meta.c b/arctwo-meta.c index b234a0b6..fec8c0c6 100644 --- a/arctwo-meta.c +++ b/arctwo-meta.c @@ -34,8 +34,8 @@ ARCTWO_BLOCK_SIZE, bits/8, \ (nettle_set_key_func *) arctwo ## bits ## _set_key, \ (nettle_set_key_func *) arctwo ## bits ## _set_key, \ - (nettle_crypt_func *) arctwo_encrypt, \ - (nettle_crypt_func *) arctwo_decrypt, \ + (nettle_cipher_func *) arctwo_encrypt, \ + (nettle_cipher_func *) arctwo_decrypt, \ } const struct nettle_cipher nettle_arctwo40 = ARCTWO(40); @@ -51,6 +51,6 @@ const struct nettle_cipher nettle_arctwo_gutmann128 = ARCTWO_BLOCK_SIZE, 16, (nettle_set_key_func *) arctwo128_set_key_gutmann, (nettle_set_key_func *) arctwo128_set_key_gutmann, - (nettle_crypt_func *) arctwo_encrypt, - (nettle_crypt_func *) arctwo_decrypt, + (nettle_cipher_func *) arctwo_encrypt, + (nettle_cipher_func *) arctwo_decrypt, }; |