summaryrefslogtreecommitdiff
path: root/cipher/hash-common.h
diff options
context:
space:
mode:
Diffstat (limited to 'cipher/hash-common.h')
-rw-r--r--cipher/hash-common.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/cipher/hash-common.h b/cipher/hash-common.h
index aa95365a..c9491913 100644
--- a/cipher/hash-common.h
+++ b/cipher/hash-common.h
@@ -30,7 +30,8 @@ const char * _gcry_hash_selftest_check_one
/* Type for the md_write helper function. */
typedef unsigned int (*_gcry_md_block_write_t) (void *c,
- const unsigned char *buf);
+ const unsigned char *blks,
+ size_t nblks);
#if defined(HAVE_U64_TYPEDEF) && (defined(USE_SHA512) || defined(USE_WHIRLPOOL))
/* SHA-512 needs u64 and larger buffer. Whirlpool needs u64. */