summaryrefslogtreecommitdiff
path: root/cbc.c
diff options
context:
space:
mode:
authorNiels Möller <nisse@lysator.liu.se>2012-06-25 22:35:51 +0200
committerNiels Möller <nisse@lysator.liu.se>2012-06-25 22:35:51 +0200
commitba98962d5fb20ff238c5c77fa0206264b8c0bd64 (patch)
tree7417f564feaebf44ac0594df27ca2bf66cbbd385 /cbc.c
parent0cc9526c98860e8edf6811e62a8134fffdc860d6 (diff)
downloadnettle-ba98962d5fb20ff238c5c77fa0206264b8c0bd64.tar.gz
Consistently use foo_func *f (rather than foo_func f) for declaring function pointer arguments.
Diffstat (limited to 'cbc.c')
-rw-r--r--cbc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/cbc.c b/cbc.c
index 6e09c9bd..4eb9a19b 100644
--- a/cbc.c
+++ b/cbc.c
@@ -37,7 +37,7 @@
#include "nettle-internal.h"
void
-cbc_encrypt(void *ctx, nettle_crypt_func f,
+cbc_encrypt(void *ctx, nettle_crypt_func *f,
unsigned block_size, uint8_t *iv,
unsigned length, uint8_t *dst,
const uint8_t *src)
@@ -56,7 +56,7 @@ cbc_encrypt(void *ctx, nettle_crypt_func f,
#define CBC_BUFFER_LIMIT 512
void
-cbc_decrypt(void *ctx, nettle_crypt_func f,
+cbc_decrypt(void *ctx, nettle_crypt_func *f,
unsigned block_size, uint8_t *iv,
unsigned length, uint8_t *dst,
const uint8_t *src)