summaryrefslogtreecommitdiff
path: root/toxcore/crypto_core.api.h
diff options
context:
space:
mode:
Diffstat (limited to 'toxcore/crypto_core.api.h')
-rw-r--r--toxcore/crypto_core.api.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/toxcore/crypto_core.api.h b/toxcore/crypto_core.api.h
index 44f541fc..0db3a420 100644
--- a/toxcore/crypto_core.api.h
+++ b/toxcore/crypto_core.api.h
@@ -69,7 +69,7 @@ const CRYPTO_SHA512_SIZE = 64;
69 * "aaaa" and "baaa" also takes 4 time. With a regular `memcmp`, the latter may 69 * "aaaa" and "baaa" also takes 4 time. With a regular `memcmp`, the latter may
70 * take 1 time, because it immediately knows that the two strings are not equal. 70 * take 1 time, because it immediately knows that the two strings are not equal.
71 */ 71 */
72static int32_t crypto_memcmp(const void *p1, const void *p2, size_t length); 72static int32_t crypto_memcmp(const uint8_t *p1, const uint8_t *p2, size_t length);
73 73
74/** 74/**
75 * A `bzero`-like function which won't be optimised away by the compiler. Some 75 * A `bzero`-like function which won't be optimised away by the compiler. Some