aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2019-02-09 21:56:53 +0100
committerMattias Andrée <maandree@kth.se>2019-02-09 21:56:53 +0100
commit7085817a3d356f7c3240fe1d616a5b1f1b56e38a (patch)
tree9bfebc7c3330d99410cc8a73af3ee2f21e386be0
parentRemove texinfo file (it was truncated anyhow for some reason) (diff)
downloadlibkeccak-7085817a3d356f7c3240fe1d616a5b1f1b56e38a.tar.gz
libkeccak-7085817a3d356f7c3240fe1d616a5b1f1b56e38a.tar.bz2
libkeccak-7085817a3d356f7c3240fe1d616a5b1f1b56e38a.tar.xz
Fix makefile add add OSCONFIGFILE
Signed-off-by: Mattias Andrée <maandree@kth.se>
-rw-r--r--Makefile145
-rw-r--r--linux.mk5
-rw-r--r--macos.mk5
-rw-r--r--man3/libkeccak_behex_lower.3 (renamed from man/libkeccak_behex_lower.3)0
-rw-r--r--man3/libkeccak_behex_upper.3 (renamed from man/libkeccak_behex_upper.3)0
-rw-r--r--man3/libkeccak_degeneralise_spec.3 (renamed from man/libkeccak_degeneralise_spec.3)0
-rw-r--r--man3/libkeccak_digest.3 (renamed from man/libkeccak_digest.3)0
-rw-r--r--man3/libkeccak_fast_digest.3 (renamed from man/libkeccak_fast_digest.3)0
-rw-r--r--man3/libkeccak_fast_squeeze.3 (renamed from man/libkeccak_fast_squeeze.3)0
-rw-r--r--man3/libkeccak_fast_update.3 (renamed from man/libkeccak_fast_update.3)0
-rw-r--r--man3/libkeccak_generalised_spec_initialise.3 (renamed from man/libkeccak_generalised_spec_initialise.3)0
-rw-r--r--man3/libkeccak_generalised_sum_fd.3 (renamed from man/libkeccak_generalised_sum_fd.3)0
-rw-r--r--man3/libkeccak_hmac_copy.3 (renamed from man/libkeccak_hmac_copy.3)0
-rw-r--r--man3/libkeccak_hmac_create.3 (renamed from man/libkeccak_hmac_create.3)0
-rw-r--r--man3/libkeccak_hmac_destroy.3 (renamed from man/libkeccak_hmac_destroy.3)0
-rw-r--r--man3/libkeccak_hmac_digest.3 (renamed from man/libkeccak_hmac_digest.3)0
-rw-r--r--man3/libkeccak_hmac_duplicate.3 (renamed from man/libkeccak_hmac_duplicate.3)0
-rw-r--r--man3/libkeccak_hmac_fast_destroy.3 (renamed from man/libkeccak_hmac_fast_destroy.3)0
-rw-r--r--man3/libkeccak_hmac_fast_digest.3 (renamed from man/libkeccak_hmac_fast_digest.3)0
-rw-r--r--man3/libkeccak_hmac_fast_free.3 (renamed from man/libkeccak_hmac_fast_free.3)0
-rw-r--r--man3/libkeccak_hmac_fast_update.3 (renamed from man/libkeccak_hmac_fast_update.3)0
-rw-r--r--man3/libkeccak_hmac_free.3 (renamed from man/libkeccak_hmac_free.3)0
-rw-r--r--man3/libkeccak_hmac_initialise.3 (renamed from man/libkeccak_hmac_initialise.3)0
-rw-r--r--man3/libkeccak_hmac_marshal.3 (renamed from man/libkeccak_hmac_marshal.3)0
-rw-r--r--man3/libkeccak_hmac_marshal_size.3 (renamed from man/libkeccak_hmac_marshal_size.3)0
-rw-r--r--man3/libkeccak_hmac_reset.3 (renamed from man/libkeccak_hmac_reset.3)0
-rw-r--r--man3/libkeccak_hmac_set_key.3 (renamed from man/libkeccak_hmac_set_key.3)0
-rw-r--r--man3/libkeccak_hmac_unmarshal.3 (renamed from man/libkeccak_hmac_unmarshal.3)0
-rw-r--r--man3/libkeccak_hmac_unmarshal_skip.3 (renamed from man/libkeccak_hmac_unmarshal_skip.3)0
-rw-r--r--man3/libkeccak_hmac_update.3 (renamed from man/libkeccak_hmac_update.3)0
-rw-r--r--man3/libkeccak_hmac_wipe.3 (renamed from man/libkeccak_hmac_wipe.3)0
-rw-r--r--man3/libkeccak_keccaksum_fd.3 (renamed from man/libkeccak_keccaksum_fd.3)0
-rw-r--r--man3/libkeccak_rawshakesum_fd.3 (renamed from man/libkeccak_rawshakesum_fd.3)0
-rw-r--r--man3/libkeccak_sha3sum_fd.3 (renamed from man/libkeccak_sha3sum_fd.3)0
-rw-r--r--man3/libkeccak_shakesum_fd.3 (renamed from man/libkeccak_shakesum_fd.3)0
-rw-r--r--man3/libkeccak_simple_squeeze.3 (renamed from man/libkeccak_simple_squeeze.3)0
-rw-r--r--man3/libkeccak_spec_check.3 (renamed from man/libkeccak_spec_check.3)0
-rw-r--r--man3/libkeccak_spec_rawshake.3 (renamed from man/libkeccak_spec_rawshake.3)0
-rw-r--r--man3/libkeccak_spec_sha3.3 (renamed from man/libkeccak_spec_sha3.3)0
-rw-r--r--man3/libkeccak_spec_shake.3 (renamed from man/libkeccak_spec_shake.3)0
-rw-r--r--man3/libkeccak_squeeze.3 (renamed from man/libkeccak_squeeze.3)0
-rw-r--r--man3/libkeccak_state_copy.3 (renamed from man/libkeccak_state_copy.3)0
-rw-r--r--man3/libkeccak_state_create.3 (renamed from man/libkeccak_state_create.3)0
-rw-r--r--man3/libkeccak_state_destroy.3 (renamed from man/libkeccak_state_destroy.3)0
-rw-r--r--man3/libkeccak_state_duplicate.3 (renamed from man/libkeccak_state_duplicate.3)0
-rw-r--r--man3/libkeccak_state_fast_destroy.3 (renamed from man/libkeccak_state_fast_destroy.3)0
-rw-r--r--man3/libkeccak_state_fast_free.3 (renamed from man/libkeccak_state_fast_free.3)0
-rw-r--r--man3/libkeccak_state_free.3 (renamed from man/libkeccak_state_free.3)0
-rw-r--r--man3/libkeccak_state_initialise.3 (renamed from man/libkeccak_state_initialise.3)0
-rw-r--r--man3/libkeccak_state_marshal.3 (renamed from man/libkeccak_state_marshal.3)0
-rw-r--r--man3/libkeccak_state_marshal_size.3 (renamed from man/libkeccak_state_marshal_size.3)0
-rw-r--r--man3/libkeccak_state_reset.3 (renamed from man/libkeccak_state_reset.3)0
-rw-r--r--man3/libkeccak_state_unmarshal.3 (renamed from man/libkeccak_state_unmarshal.3)0
-rw-r--r--man3/libkeccak_state_unmarshal_skip.3 (renamed from man/libkeccak_state_unmarshal_skip.3)0
-rw-r--r--man3/libkeccak_state_wipe.3 (renamed from man/libkeccak_state_wipe.3)0
-rw-r--r--man3/libkeccak_state_wipe_message.3 (renamed from man/libkeccak_state_wipe_message.3)0
-rw-r--r--man3/libkeccak_state_wipe_sponge.3 (renamed from man/libkeccak_state_wipe_sponge.3)0
-rw-r--r--man3/libkeccak_unhex.3 (renamed from man/libkeccak_unhex.3)0
-rw-r--r--man3/libkeccak_update.3 (renamed from man/libkeccak_update.3)0
-rw-r--r--man7/libkeccak.7 (renamed from man/libkeccak.7)0
60 files changed, 81 insertions, 74 deletions
diff --git a/Makefile b/Makefile
index 1edfba6..7528040 100644
--- a/Makefile
+++ b/Makefile
@@ -3,15 +3,11 @@
# If possible, use CONFIGFILE=optimised.mk
CONFIGFILE = config.mk
-
-# for Linux
-LIBEXT = so
-LIBFLAGS = -shared -Wl,-soname,libkeccak.$(LIBEXT).$(LIB_MAJOR)
-# for Mac OS
-# LIBEXT = dylib
-# LIBFLAGS = -dynamiclib
+# Change to macos.mk for Mac OS
+OSCONFIGFILE = linux.mk
include $(CONFIGFILE)
+include $(OSCONFIGFILE)
# The version of the library.
@@ -41,65 +37,65 @@ HDR =\
libkeccak/mac/hmac.h
MAN3 =\
- libkeccak_behex_lower.3\
- libkeccak_behex_upper.3\
- libkeccak_degeneralise_spec.3\
- libkeccak_digest.3\
- libkeccak_fast_digest.3\
- libkeccak_fast_squeeze.3\
- libkeccak_fast_update.3\
- libkeccak_generalised_spec_initialise.3\
- libkeccak_generalised_sum_fd.3\
- libkeccak_hmac_copy.3\
- libkeccak_hmac_create.3\
- libkeccak_hmac_destroy.3\
- libkeccak_hmac_digest.3\
- libkeccak_hmac_duplicate.3\
- libkeccak_hmac_fast_destroy.3\
- libkeccak_hmac_fast_digest.3\
- libkeccak_hmac_fast_free.3\
- libkeccak_hmac_fast_update.3\
- libkeccak_hmac_free.3\
- libkeccak_hmac_initialise.3\
- libkeccak_hmac_marshal.3\
- libkeccak_hmac_marshal_size.3\
- libkeccak_hmac_reset.3\
- libkeccak_hmac_set_key.3\
- libkeccak_hmac_unmarshal.3\
- libkeccak_hmac_unmarshal_skip.3\
- libkeccak_hmac_update.3\
- libkeccak_hmac_wipe.3\
- libkeccak_keccaksum_fd.3\
- libkeccak_rawshakesum_fd.3\
- libkeccak_sha3sum_fd.3\
- libkeccak_shakesum_fd.3\
- libkeccak_simple_squeeze.3\
- libkeccak_spec_check.3\
- libkeccak_spec_rawshake.3\
- libkeccak_spec_sha3.3\
- libkeccak_spec_shake.3\
- libkeccak_squeeze.3\
- libkeccak_state_copy.3\
- libkeccak_state_create.3\
- libkeccak_state_destroy.3\
- libkeccak_state_duplicate.3\
- libkeccak_state_fast_destroy.3\
- libkeccak_state_fast_free.3\
- libkeccak_state_free.3\
- libkeccak_state_initialise.3\
- libkeccak_state_marshal.3\
- libkeccak_state_marshal_size.3\
- libkeccak_state_reset.3\
- libkeccak_state_unmarshal.3\
- libkeccak_state_unmarshal_skip.3\
- libkeccak_state_wipe.3\
- libkeccak_state_wipe_message.3\
- libkeccak_state_wipe_sponge.3\
- libkeccak_unhex.3\
- libkeccak_update.3
+ man3/libkeccak_behex_lower.3\
+ man3/libkeccak_behex_upper.3\
+ man3/libkeccak_degeneralise_spec.3\
+ man3/libkeccak_digest.3\
+ man3/libkeccak_fast_digest.3\
+ man3/libkeccak_fast_squeeze.3\
+ man3/libkeccak_fast_update.3\
+ man3/libkeccak_generalised_spec_initialise.3\
+ man3/libkeccak_generalised_sum_fd.3\
+ man3/libkeccak_hmac_copy.3\
+ man3/libkeccak_hmac_create.3\
+ man3/libkeccak_hmac_destroy.3\
+ man3/libkeccak_hmac_digest.3\
+ man3/libkeccak_hmac_duplicate.3\
+ man3/libkeccak_hmac_fast_destroy.3\
+ man3/libkeccak_hmac_fast_digest.3\
+ man3/libkeccak_hmac_fast_free.3\
+ man3/libkeccak_hmac_fast_update.3\
+ man3/libkeccak_hmac_free.3\
+ man3/libkeccak_hmac_initialise.3\
+ man3/libkeccak_hmac_marshal.3\
+ man3/libkeccak_hmac_marshal_size.3\
+ man3/libkeccak_hmac_reset.3\
+ man3/libkeccak_hmac_set_key.3\
+ man3/libkeccak_hmac_unmarshal.3\
+ man3/libkeccak_hmac_unmarshal_skip.3\
+ man3/libkeccak_hmac_update.3\
+ man3/libkeccak_hmac_wipe.3\
+ man3/libkeccak_keccaksum_fd.3\
+ man3/libkeccak_rawshakesum_fd.3\
+ man3/libkeccak_sha3sum_fd.3\
+ man3/libkeccak_shakesum_fd.3\
+ man3/libkeccak_simple_squeeze.3\
+ man3/libkeccak_spec_check.3\
+ man3/libkeccak_spec_rawshake.3\
+ man3/libkeccak_spec_sha3.3\
+ man3/libkeccak_spec_shake.3\
+ man3/libkeccak_squeeze.3\
+ man3/libkeccak_state_copy.3\
+ man3/libkeccak_state_create.3\
+ man3/libkeccak_state_destroy.3\
+ man3/libkeccak_state_duplicate.3\
+ man3/libkeccak_state_fast_destroy.3\
+ man3/libkeccak_state_fast_free.3\
+ man3/libkeccak_state_free.3\
+ man3/libkeccak_state_initialise.3\
+ man3/libkeccak_state_marshal.3\
+ man3/libkeccak_state_marshal_size.3\
+ man3/libkeccak_state_reset.3\
+ man3/libkeccak_state_unmarshal.3\
+ man3/libkeccak_state_unmarshal_skip.3\
+ man3/libkeccak_state_wipe.3\
+ man3/libkeccak_state_wipe_message.3\
+ man3/libkeccak_state_wipe_sponge.3\
+ man3/libkeccak_unhex.3\
+ man3/libkeccak_update.3
MAN7 =\
- libkeccak.7
+ man7/libkeccak.7
all: libkeccak.a libkeccak.$(LIBEXT) test benchmark
@@ -146,27 +142,27 @@ run-benchmark: benchmark benchfile
install: libkeccak.$(LIBEXT) libkeccak.a
mkdir -p -- "$(DESTDIR)$(PREFIX)/lib"
- cp -- libkeccak.$(LIBEXT) "$(DESTDIR)$(PREFIX)/lib/libkeccak.$(LIBEXT).$(LIB_VERSION)"
- ln -sf -- libkeccak.$(LIBEXT).$(LIB_VERSION) "$(DESTDIR)$(PREFIX)/lib/libkeccak.$(LIBEXT).$(LIB_MAJOR)"
- ln -sf -- libkeccak.$(LIBEXT).$(LIB_VERSION) "$(DESTDIR)$(PREFIX)/lib/libkeccak.$(LIBEXT)"
+ cp -- libkeccak.$(LIBEXT) "$(DESTDIR)$(PREFIX)/lib/libkeccak.$(LIBMINOREXT)"
+ ln -sf -- libkeccak.$(LIBMINOREXT) "$(DESTDIR)$(PREFIX)/lib/libkeccak.$(LIBMAJOREXT)"
+ ln -sf -- libkeccak.$(LIBMINOREXT) "$(DESTDIR)$(PREFIX)/lib/libkeccak.$(LIBEXT)"
cp -- libkeccak.a "$(DESTDIR)$(PREFIX)/lib/libkeccak.a"
mkdir -p -- "$(DESTDIR)$(PREFIX)/include/libkeccak/mac"
for f in $(HDR); do cp -- "$$f" "$(DESTDIR)$(PREFIX)/include/$$f" || exit 1; done
mkdir -p -- "$(DESTDIR)$(MANPREFIX)/man3"
mkdir -p -- "$(DESTDIR)$(MANPREFIX)/man7"
- cd man && cp -- $(MAN3) "$(DESTDIR)$(MANPREFIX)/man3"
- cd man && cp -- $(MAN7) "$(DESTDIR)$(MANPREFIX)/man7"
+ cp -- $(MAN3) "$(DESTDIR)$(MANPREFIX)/man3"
+ cp -- $(MAN7) "$(DESTDIR)$(MANPREFIX)/man7"
mkdir -p -- "$(DESTDIR)$(PREFIX)/share/licenses/libkeccak"
cp -- LICENSE "$(DESTDIR)$(PREFIX)/share/licenses/libkeccak/"
uninstall:
- -rm -f -- "$(DESTDIR)$(PREFIX)/lib/libkeccak.$(LIBEXT).$(LIB_VERSION)"
- -rm -f -- "$(DESTDIR)$(PREFIX)/lib/libkeccak.$(LIBEXT).$(LIB_MAJOR)"
+ -rm -f -- "$(DESTDIR)$(PREFIX)/lib/libkeccak.$(LIBMINOREXT)"
+ -rm -f -- "$(DESTDIR)$(PREFIX)/lib/libkeccak.$(LIBMAJOREXT)"
-rm -f -- "$(DESTDIR)$(PREFIX)/lib/libkeccak.$(LIBEXT)"
-rm -f -- "$(DESTDIR)$(PREFIX)/lib/libkeccak.a"
-rm -rf -- "$(DESTDIR)$(PREFIX)/include/libkeccak"
- -cd -- "$(DESTDIR)$(MANPREFIX)/man3" && rm -f -- $(MAN3)
- -cd -- "$(DESTDIR)$(MANPREFIX)/man7" && rm -f -- $(MAN7)
+ -rm -f -- "$(DESTDIR)$(PREFIX)/include/libkeccak.h"
+ -cd -- "$(DESTDIR)$(MANPREFIX)" && rm -f -- $(MAN3) $(MAN7)
-rm -rf -- "$(DESTDIR)$(PREFIX)/share/licenses/libkeccak"
clean:
@@ -174,6 +170,7 @@ clean:
-rm -f -- *.su libkeccak/*.su libkeccak/mac/*.su
-rm -f -- *.info *.pdf *.ps *.dvi *.a libkeccak.$(LIBEXT)* test benchmark benchfile
-.SUFFIXES: .c.o
+.SUFFIXES:
+.SUFFIXES: .c .o
.PHONY: all check run-benchmark install uninstall clean
diff --git a/linux.mk b/linux.mk
new file mode 100644
index 0000000..c9f74a0
--- /dev/null
+++ b/linux.mk
@@ -0,0 +1,5 @@
+LIBEXT = so
+LIBFLAGS = -shared -Wl,-soname,libkeccak.$(LIBEXT).$(LIB_MAJOR)
+
+LIBMAJOREXT = $(LIBEXT).$(LIB_MAJOR)
+LIBMINOREXT = $(LIBEXT).$(LIB_VERSION)
diff --git a/macos.mk b/macos.mk
new file mode 100644
index 0000000..b475197
--- /dev/null
+++ b/macos.mk
@@ -0,0 +1,5 @@
+LIBEXT = dylib
+LIBFLAGS = -dynamiclib
+
+LIBMAJOREXT = $(LIB_MAJOR).$(LIBEXT)
+LIBMINOREXT = $(LIB_VERSION).$(LIBEXT)
diff --git a/man/libkeccak_behex_lower.3 b/man3/libkeccak_behex_lower.3
index 85bc843..85bc843 100644
--- a/man/libkeccak_behex_lower.3
+++ b/man3/libkeccak_behex_lower.3
diff --git a/man/libkeccak_behex_upper.3 b/man3/libkeccak_behex_upper.3
index 7925efc..7925efc 100644
--- a/man/libkeccak_behex_upper.3
+++ b/man3/libkeccak_behex_upper.3
diff --git a/man/libkeccak_degeneralise_spec.3 b/man3/libkeccak_degeneralise_spec.3
index 38a1b73..38a1b73 100644
--- a/man/libkeccak_degeneralise_spec.3
+++ b/man3/libkeccak_degeneralise_spec.3
diff --git a/man/libkeccak_digest.3 b/man3/libkeccak_digest.3
index 33b0479..33b0479 100644
--- a/man/libkeccak_digest.3
+++ b/man3/libkeccak_digest.3
diff --git a/man/libkeccak_fast_digest.3 b/man3/libkeccak_fast_digest.3
index d5c55a5..d5c55a5 100644
--- a/man/libkeccak_fast_digest.3
+++ b/man3/libkeccak_fast_digest.3
diff --git a/man/libkeccak_fast_squeeze.3 b/man3/libkeccak_fast_squeeze.3
index d782a95..d782a95 100644
--- a/man/libkeccak_fast_squeeze.3
+++ b/man3/libkeccak_fast_squeeze.3
diff --git a/man/libkeccak_fast_update.3 b/man3/libkeccak_fast_update.3
index c619e7d..c619e7d 100644
--- a/man/libkeccak_fast_update.3
+++ b/man3/libkeccak_fast_update.3
diff --git a/man/libkeccak_generalised_spec_initialise.3 b/man3/libkeccak_generalised_spec_initialise.3
index 42bd62f..42bd62f 100644
--- a/man/libkeccak_generalised_spec_initialise.3
+++ b/man3/libkeccak_generalised_spec_initialise.3
diff --git a/man/libkeccak_generalised_sum_fd.3 b/man3/libkeccak_generalised_sum_fd.3
index 98e6329..98e6329 100644
--- a/man/libkeccak_generalised_sum_fd.3
+++ b/man3/libkeccak_generalised_sum_fd.3
diff --git a/man/libkeccak_hmac_copy.3 b/man3/libkeccak_hmac_copy.3
index f3939f5..f3939f5 100644
--- a/man/libkeccak_hmac_copy.3
+++ b/man3/libkeccak_hmac_copy.3
diff --git a/man/libkeccak_hmac_create.3 b/man3/libkeccak_hmac_create.3
index fcb99cb..fcb99cb 100644
--- a/man/libkeccak_hmac_create.3
+++ b/man3/libkeccak_hmac_create.3
diff --git a/man/libkeccak_hmac_destroy.3 b/man3/libkeccak_hmac_destroy.3
index 2f3bbf8..2f3bbf8 100644
--- a/man/libkeccak_hmac_destroy.3
+++ b/man3/libkeccak_hmac_destroy.3
diff --git a/man/libkeccak_hmac_digest.3 b/man3/libkeccak_hmac_digest.3
index 66d35d4..66d35d4 100644
--- a/man/libkeccak_hmac_digest.3
+++ b/man3/libkeccak_hmac_digest.3
diff --git a/man/libkeccak_hmac_duplicate.3 b/man3/libkeccak_hmac_duplicate.3
index 70c994c..70c994c 100644
--- a/man/libkeccak_hmac_duplicate.3
+++ b/man3/libkeccak_hmac_duplicate.3
diff --git a/man/libkeccak_hmac_fast_destroy.3 b/man3/libkeccak_hmac_fast_destroy.3
index d2af66e..d2af66e 100644
--- a/man/libkeccak_hmac_fast_destroy.3
+++ b/man3/libkeccak_hmac_fast_destroy.3
diff --git a/man/libkeccak_hmac_fast_digest.3 b/man3/libkeccak_hmac_fast_digest.3
index 008477c..008477c 100644
--- a/man/libkeccak_hmac_fast_digest.3
+++ b/man3/libkeccak_hmac_fast_digest.3
diff --git a/man/libkeccak_hmac_fast_free.3 b/man3/libkeccak_hmac_fast_free.3
index b4817ce..b4817ce 100644
--- a/man/libkeccak_hmac_fast_free.3
+++ b/man3/libkeccak_hmac_fast_free.3
diff --git a/man/libkeccak_hmac_fast_update.3 b/man3/libkeccak_hmac_fast_update.3
index 43077d3..43077d3 100644
--- a/man/libkeccak_hmac_fast_update.3
+++ b/man3/libkeccak_hmac_fast_update.3
diff --git a/man/libkeccak_hmac_free.3 b/man3/libkeccak_hmac_free.3
index d1f9c84..d1f9c84 100644
--- a/man/libkeccak_hmac_free.3
+++ b/man3/libkeccak_hmac_free.3
diff --git a/man/libkeccak_hmac_initialise.3 b/man3/libkeccak_hmac_initialise.3
index de514e9..de514e9 100644
--- a/man/libkeccak_hmac_initialise.3
+++ b/man3/libkeccak_hmac_initialise.3
diff --git a/man/libkeccak_hmac_marshal.3 b/man3/libkeccak_hmac_marshal.3
index b7270f6..b7270f6 100644
--- a/man/libkeccak_hmac_marshal.3
+++ b/man3/libkeccak_hmac_marshal.3
diff --git a/man/libkeccak_hmac_marshal_size.3 b/man3/libkeccak_hmac_marshal_size.3
index 5195b81..5195b81 100644
--- a/man/libkeccak_hmac_marshal_size.3
+++ b/man3/libkeccak_hmac_marshal_size.3
diff --git a/man/libkeccak_hmac_reset.3 b/man3/libkeccak_hmac_reset.3
index d5634d9..d5634d9 100644
--- a/man/libkeccak_hmac_reset.3
+++ b/man3/libkeccak_hmac_reset.3
diff --git a/man/libkeccak_hmac_set_key.3 b/man3/libkeccak_hmac_set_key.3
index 2f4682d..2f4682d 100644
--- a/man/libkeccak_hmac_set_key.3
+++ b/man3/libkeccak_hmac_set_key.3
diff --git a/man/libkeccak_hmac_unmarshal.3 b/man3/libkeccak_hmac_unmarshal.3
index 64e8f24..64e8f24 100644
--- a/man/libkeccak_hmac_unmarshal.3
+++ b/man3/libkeccak_hmac_unmarshal.3
diff --git a/man/libkeccak_hmac_unmarshal_skip.3 b/man3/libkeccak_hmac_unmarshal_skip.3
index 30e7ccf..30e7ccf 100644
--- a/man/libkeccak_hmac_unmarshal_skip.3
+++ b/man3/libkeccak_hmac_unmarshal_skip.3
diff --git a/man/libkeccak_hmac_update.3 b/man3/libkeccak_hmac_update.3
index daaf3fb..daaf3fb 100644
--- a/man/libkeccak_hmac_update.3
+++ b/man3/libkeccak_hmac_update.3
diff --git a/man/libkeccak_hmac_wipe.3 b/man3/libkeccak_hmac_wipe.3
index bad351b..bad351b 100644
--- a/man/libkeccak_hmac_wipe.3
+++ b/man3/libkeccak_hmac_wipe.3
diff --git a/man/libkeccak_keccaksum_fd.3 b/man3/libkeccak_keccaksum_fd.3
index 2fc1b21..2fc1b21 100644
--- a/man/libkeccak_keccaksum_fd.3
+++ b/man3/libkeccak_keccaksum_fd.3
diff --git a/man/libkeccak_rawshakesum_fd.3 b/man3/libkeccak_rawshakesum_fd.3
index 27c4f45..27c4f45 100644
--- a/man/libkeccak_rawshakesum_fd.3
+++ b/man3/libkeccak_rawshakesum_fd.3
diff --git a/man/libkeccak_sha3sum_fd.3 b/man3/libkeccak_sha3sum_fd.3
index e8c4fc0..e8c4fc0 100644
--- a/man/libkeccak_sha3sum_fd.3
+++ b/man3/libkeccak_sha3sum_fd.3
diff --git a/man/libkeccak_shakesum_fd.3 b/man3/libkeccak_shakesum_fd.3
index 0d89f39..0d89f39 100644
--- a/man/libkeccak_shakesum_fd.3
+++ b/man3/libkeccak_shakesum_fd.3
diff --git a/man/libkeccak_simple_squeeze.3 b/man3/libkeccak_simple_squeeze.3
index 52605ed..52605ed 100644
--- a/man/libkeccak_simple_squeeze.3
+++ b/man3/libkeccak_simple_squeeze.3
diff --git a/man/libkeccak_spec_check.3 b/man3/libkeccak_spec_check.3
index 9fc70f6..9fc70f6 100644
--- a/man/libkeccak_spec_check.3
+++ b/man3/libkeccak_spec_check.3
diff --git a/man/libkeccak_spec_rawshake.3 b/man3/libkeccak_spec_rawshake.3
index 6f60c36..6f60c36 100644
--- a/man/libkeccak_spec_rawshake.3
+++ b/man3/libkeccak_spec_rawshake.3
diff --git a/man/libkeccak_spec_sha3.3 b/man3/libkeccak_spec_sha3.3
index 8e07a7d..8e07a7d 100644
--- a/man/libkeccak_spec_sha3.3
+++ b/man3/libkeccak_spec_sha3.3
diff --git a/man/libkeccak_spec_shake.3 b/man3/libkeccak_spec_shake.3
index 9e2d763..9e2d763 100644
--- a/man/libkeccak_spec_shake.3
+++ b/man3/libkeccak_spec_shake.3
diff --git a/man/libkeccak_squeeze.3 b/man3/libkeccak_squeeze.3
index c6c8d01..c6c8d01 100644
--- a/man/libkeccak_squeeze.3
+++ b/man3/libkeccak_squeeze.3
diff --git a/man/libkeccak_state_copy.3 b/man3/libkeccak_state_copy.3
index c9283ca..c9283ca 100644
--- a/man/libkeccak_state_copy.3
+++ b/man3/libkeccak_state_copy.3
diff --git a/man/libkeccak_state_create.3 b/man3/libkeccak_state_create.3
index 77880a3..77880a3 100644
--- a/man/libkeccak_state_create.3
+++ b/man3/libkeccak_state_create.3
diff --git a/man/libkeccak_state_destroy.3 b/man3/libkeccak_state_destroy.3
index 0a78215..0a78215 100644
--- a/man/libkeccak_state_destroy.3
+++ b/man3/libkeccak_state_destroy.3
diff --git a/man/libkeccak_state_duplicate.3 b/man3/libkeccak_state_duplicate.3
index 54c9be3..54c9be3 100644
--- a/man/libkeccak_state_duplicate.3
+++ b/man3/libkeccak_state_duplicate.3
diff --git a/man/libkeccak_state_fast_destroy.3 b/man3/libkeccak_state_fast_destroy.3
index e04ca86..e04ca86 100644
--- a/man/libkeccak_state_fast_destroy.3
+++ b/man3/libkeccak_state_fast_destroy.3
diff --git a/man/libkeccak_state_fast_free.3 b/man3/libkeccak_state_fast_free.3
index e617e21..e617e21 100644
--- a/man/libkeccak_state_fast_free.3
+++ b/man3/libkeccak_state_fast_free.3
diff --git a/man/libkeccak_state_free.3 b/man3/libkeccak_state_free.3
index e6dd3f8..e6dd3f8 100644
--- a/man/libkeccak_state_free.3
+++ b/man3/libkeccak_state_free.3
diff --git a/man/libkeccak_state_initialise.3 b/man3/libkeccak_state_initialise.3
index 2620686..2620686 100644
--- a/man/libkeccak_state_initialise.3
+++ b/man3/libkeccak_state_initialise.3
diff --git a/man/libkeccak_state_marshal.3 b/man3/libkeccak_state_marshal.3
index f5d5e05..f5d5e05 100644
--- a/man/libkeccak_state_marshal.3
+++ b/man3/libkeccak_state_marshal.3
diff --git a/man/libkeccak_state_marshal_size.3 b/man3/libkeccak_state_marshal_size.3
index 8ebb16a..8ebb16a 100644
--- a/man/libkeccak_state_marshal_size.3
+++ b/man3/libkeccak_state_marshal_size.3
diff --git a/man/libkeccak_state_reset.3 b/man3/libkeccak_state_reset.3
index 60bb778..60bb778 100644
--- a/man/libkeccak_state_reset.3
+++ b/man3/libkeccak_state_reset.3
diff --git a/man/libkeccak_state_unmarshal.3 b/man3/libkeccak_state_unmarshal.3
index 5a9e59b..5a9e59b 100644
--- a/man/libkeccak_state_unmarshal.3
+++ b/man3/libkeccak_state_unmarshal.3
diff --git a/man/libkeccak_state_unmarshal_skip.3 b/man3/libkeccak_state_unmarshal_skip.3
index b87386c..b87386c 100644
--- a/man/libkeccak_state_unmarshal_skip.3
+++ b/man3/libkeccak_state_unmarshal_skip.3
diff --git a/man/libkeccak_state_wipe.3 b/man3/libkeccak_state_wipe.3
index 664cd51..664cd51 100644
--- a/man/libkeccak_state_wipe.3
+++ b/man3/libkeccak_state_wipe.3
diff --git a/man/libkeccak_state_wipe_message.3 b/man3/libkeccak_state_wipe_message.3
index c734560..c734560 100644
--- a/man/libkeccak_state_wipe_message.3
+++ b/man3/libkeccak_state_wipe_message.3
diff --git a/man/libkeccak_state_wipe_sponge.3 b/man3/libkeccak_state_wipe_sponge.3
index 4651fc0..4651fc0 100644
--- a/man/libkeccak_state_wipe_sponge.3
+++ b/man3/libkeccak_state_wipe_sponge.3
diff --git a/man/libkeccak_unhex.3 b/man3/libkeccak_unhex.3
index 93cde63..93cde63 100644
--- a/man/libkeccak_unhex.3
+++ b/man3/libkeccak_unhex.3
diff --git a/man/libkeccak_update.3 b/man3/libkeccak_update.3
index d83f74b..d83f74b 100644
--- a/man/libkeccak_update.3
+++ b/man3/libkeccak_update.3
diff --git a/man/libkeccak.7 b/man7/libkeccak.7
index 0a6ef04..0a6ef04 100644
--- a/man/libkeccak.7
+++ b/man7/libkeccak.7