summaryrefslogtreecommitdiff
path: root/ctr.c
diff options
context:
space:
mode:
authorNiels Möller <nisse@lysator.liu.se>2014-03-18 21:42:00 +0100
committerNiels Möller <nisse@lysator.liu.se>2014-03-18 21:42:00 +0100
commita9b47a42f5a8a2d3e324075bf7bee52f403c6a2e (patch)
tree5ccdf3a769ece1c1b09e882fe837d8fdc9126c7f /ctr.c
parent6bd43205b83e773d51d6b73abbcbb77c828a5eb5 (diff)
downloadnettle-a9b47a42f5a8a2d3e324075bf7bee52f403c6a2e.tar.gz
Define and use nettle_cipher_func, for block ciphers.
Diffstat (limited to 'ctr.c')
-rw-r--r--ctr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ctr.c b/ctr.c
index 80a072b4..38d54a3f 100644
--- a/ctr.c
+++ b/ctr.c
@@ -40,7 +40,7 @@
#define NBLOCKS 4
void
-ctr_crypt(void *ctx, nettle_crypt_func *f,
+ctr_crypt(const void *ctx, nettle_cipher_func *f,
size_t block_size, uint8_t *ctr,
size_t length, uint8_t *dst,
const uint8_t *src)