aboutsummaryrefslogtreecommitdiffstats
path: root/src/libkeccak/digest.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/libkeccak/digest.h')
-rw-r--r--src/libkeccak/digest.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libkeccak/digest.h b/src/libkeccak/digest.h
index 23ca12b..792389c 100644
--- a/src/libkeccak/digest.h
+++ b/src/libkeccak/digest.h
@@ -47,7 +47,7 @@ int libkeccak_update(libkeccak_state_t* restrict state, const char* restrict msg
* @return Zero on success, -1 on error
*/
__attribute__((nonnull(1)))
-int libkeccak_digest(libkeccak_state_t* restrict state, char* restrict msg, size_t msglen,
+int libkeccak_digest(libkeccak_state_t* restrict state, const char* restrict msg, size_t msglen,
size_t bits, const char* restrict suffix, char* restrict hashsum);