Index: uspace/lib/crypto/crypto.c
===================================================================
--- uspace/lib/crypto/crypto.c	(revision 25fdb2d4b3c3247fe62c1154a416ce3a91019563)
+++ uspace/lib/crypto/crypto.c	(revision 0639afc537ab3c464dd97f55c6ed3c70103f3c15)
@@ -196,5 +196,5 @@
  *
  */
-errno_t create_hash(uint8_t *input, size_t input_size, uint8_t *output,
+errno_t create_hash(const uint8_t *input, size_t input_size, uint8_t *output,
     hash_func_t hash_sel)
 {
Index: uspace/lib/crypto/crypto.h
===================================================================
--- uspace/lib/crypto/crypto.h	(revision 25fdb2d4b3c3247fe62c1154a416ce3a91019563)
+++ uspace/lib/crypto/crypto.h	(revision 0639afc537ab3c464dd97f55c6ed3c70103f3c15)
@@ -54,5 +54,5 @@
 extern errno_t aes_encrypt(uint8_t *, uint8_t *, uint8_t *);
 extern errno_t aes_decrypt(uint8_t *, uint8_t *, uint8_t *);
-extern errno_t create_hash(uint8_t *, size_t, uint8_t *, hash_func_t);
+extern errno_t create_hash(const uint8_t *, size_t, uint8_t *, hash_func_t);
 extern errno_t hmac(uint8_t *, size_t, uint8_t *, size_t, uint8_t *, hash_func_t);
 extern errno_t pbkdf2(uint8_t *, size_t, uint8_t *, size_t, uint8_t *);
