aboutsummaryrefslogtreecommitdiffstats
path: root/common.h
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2024-09-01 09:56:49 +0200
committerMattias Andrée <maandree@kth.se>2024-09-01 09:56:49 +0200
commit5caa621d9e0c3fc3893b0b94efe1503fcd6a5c88 (patch)
tree8494e1940f082441a06ad35e55d6e874d9855001 /common.h
parentMore testing (diff)
downloadlibhashsum-5caa621d9e0c3fc3893b0b94efe1503fcd6a5c88.tar.gz
libhashsum-5caa621d9e0c3fc3893b0b94efe1503fcd6a5c88.tar.bz2
libhashsum-5caa621d9e0c3fc3893b0b94efe1503fcd6a5c88.tar.xz
Add tests for SHAKE and RawSHAKE
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to '')
-rw-r--r--common.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/common.h b/common.h
index f3dc8de..01d3231 100644
--- a/common.h
+++ b/common.h
@@ -63,7 +63,7 @@ struct testcase {
};
static void
-hex(char *out, const unsigned char *in, size_t n)
+hex(char *restrict out, const unsigned char *restrict in, size_t n)
{
for (; n--; in++) {
*out++ = "0123456789abcdef"[(*in >> 4) & 15];