summaryrefslogtreecommitdiff
path: root/include/crypto_api.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/crypto_api.h')
-rw-r--r--include/crypto_api.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/crypto_api.h b/include/crypto_api.h
index 8a8ccacf99..d3e3cfaa4a 100644
--- a/include/crypto_api.h
+++ b/include/crypto_api.h
@@ -26,8 +26,8 @@ extern "C" {
* value exceeds SHA1 size (20 bytes), the rest of the
* hash is filled up with zeros.
*/
-void app_compute_hash(uint8_t *p_buf, size_t num_bytes,
- uint8_t *p_hash, size_t hash_len);
+void app_compute_hash(const void *p_buf, size_t num_bytes, void *p_hash,
+ size_t hash_len);
#define CIPHER_SALT_SIZE 16