summaryrefslogtreecommitdiff
path: root/toxcore/crypto_core.h
diff options
context:
space:
mode:
Diffstat (limited to 'toxcore/crypto_core.h')
-rw-r--r--toxcore/crypto_core.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/toxcore/crypto_core.h b/toxcore/crypto_core.h
index 07412e7e..425c3244 100644
--- a/toxcore/crypto_core.h
+++ b/toxcore/crypto_core.h
@@ -83,7 +83,7 @@ uint32_t crypto_sha512_size(void);
83 * "aaaa" and "baaa" also takes 4 time. With a regular `memcmp`, the latter may 83 * "aaaa" and "baaa" also takes 4 time. With a regular `memcmp`, the latter may
84 * take 1 time, because it immediately knows that the two strings are not equal. 84 * take 1 time, because it immediately knows that the two strings are not equal.
85 */ 85 */
86int32_t crypto_memcmp(const void *p1, const void *p2, size_t length); 86int32_t crypto_memcmp(const uint8_t *p1, const uint8_t *p2, size_t length);
87 87
88/** 88/**
89 * A `bzero`-like function which won't be optimised away by the compiler. Some 89 * A `bzero`-like function which won't be optimised away by the compiler. Some