aboutsummaryrefslogtreecommitdiffstats
path: root/common.h
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2024-09-15 00:37:13 +0200
committerMattias Andrée <maandree@kth.se>2024-09-15 00:37:13 +0200
commit0ab7b5a1ce4ed6735b40e167f8b05b8bf1fede59 (patch)
treeaf2a138767835010d50611790265bbd2bdc2adae /common.h
parentm (diff)
downloadlibkeccak-0ab7b5a1ce4ed6735b40e167f8b05b8bf1fede59.tar.gz
libkeccak-0ab7b5a1ce4ed6735b40e167f8b05b8bf1fede59.tar.bz2
libkeccak-0ab7b5a1ce4ed6735b40e167f8b05b8bf1fede59.tar.xz
Split libkeccak.h and fix support for architectures that do not allow misaligned memory
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to 'common.h')
-rw-r--r--common.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/common.h b/common.h
index 9d23b8e..4b95a06 100644
--- a/common.h
+++ b/common.h
@@ -28,6 +28,7 @@
# define __builtin_memset(dest, c, n) memset(dest, c, n)
# define __builtin_memcpy(dest, src, n) memcpy(dest, src, n)
# define __builtin_memmove(dest, src, n) memmove(dest, src, n)
+# define __builtin_strlen(s) strlen(s)
#endif