diff options
author | Niels Möller <nisse@lysator.liu.se> | 2012-06-25 22:35:51 +0200 |
---|---|---|
committer | Niels Möller <nisse@lysator.liu.se> | 2012-06-25 22:35:51 +0200 |
commit | ba98962d5fb20ff238c5c77fa0206264b8c0bd64 (patch) | |
tree | 7417f564feaebf44ac0594df27ca2bf66cbbd385 /cbc.c | |
parent | 0cc9526c98860e8edf6811e62a8134fffdc860d6 (diff) | |
download | nettle-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.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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) |