aboutsummaryrefslogtreecommitdiffstats
path: root/mk
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2024-08-24 20:13:01 +0200
committerMattias Andrée <maandree@kth.se>2024-08-24 20:13:01 +0200
commitfebb5279f7bf3c86ec872c1b2ed1e024f73e64c5 (patch)
treeea6918fc1dcb29e11ce9399b8300a124cc0342cf /mk
parentAdd support for Keccak, SHA3, SHAKE, and RawSHAKE via libkeccak>=1.3 (this version introduced zerocopy) (diff)
downloadlibhashsum-febb5279f7bf3c86ec872c1b2ed1e024f73e64c5.tar.gz
libhashsum-febb5279f7bf3c86ec872c1b2ed1e024f73e64c5.tar.bz2
libhashsum-febb5279f7bf3c86ec872c1b2ed1e024f73e64c5.tar.xz
Add BLAKE via libblake>=1.1 (this version introduced libblake_init())
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to '')
l---------mk/blake224=no.mk1
-rw-r--r--mk/blake224=yes.mk4
l---------mk/blake256=no.mk1
-rw-r--r--mk/blake256=yes.mk4
l---------mk/blake384=no.mk1
-rw-r--r--mk/blake384=yes.mk4
l---------mk/blake512=no.mk1
-rw-r--r--mk/blake512=yes.mk4
8 files changed, 20 insertions, 0 deletions
diff --git a/mk/blake224=no.mk b/mk/blake224=no.mk
new file mode 120000
index 0000000..54299a4
--- /dev/null
+++ b/mk/blake224=no.mk
@@ -0,0 +1 @@
+no \ No newline at end of file
diff --git a/mk/blake224=yes.mk b/mk/blake224=yes.mk
new file mode 100644
index 0000000..765741c
--- /dev/null
+++ b/mk/blake224=yes.mk
@@ -0,0 +1,4 @@
+CPPFLAGS_BLAKE224 = -DSUPPORT_BLAKE224
+
+CPPFLAGS_LIBBLAKE_IF_SUPPORTED = $(CPPFLAGS_LIBBLAKE)
+LDFLAGS_LIBBLAKE_IF_SUPPORTED = $(LDFLAGS_LIBBLAKE)
diff --git a/mk/blake256=no.mk b/mk/blake256=no.mk
new file mode 120000
index 0000000..54299a4
--- /dev/null
+++ b/mk/blake256=no.mk
@@ -0,0 +1 @@
+no \ No newline at end of file
diff --git a/mk/blake256=yes.mk b/mk/blake256=yes.mk
new file mode 100644
index 0000000..6098067
--- /dev/null
+++ b/mk/blake256=yes.mk
@@ -0,0 +1,4 @@
+CPPFLAGS_BLAKE256 = -DSUPPORT_BLAKE256
+
+CPPFLAGS_LIBBLAKE_IF_SUPPORTED = $(CPPFLAGS_LIBBLAKE)
+LDFLAGS_LIBBLAKE_IF_SUPPORTED = $(LDFLAGS_LIBBLAKE)
diff --git a/mk/blake384=no.mk b/mk/blake384=no.mk
new file mode 120000
index 0000000..54299a4
--- /dev/null
+++ b/mk/blake384=no.mk
@@ -0,0 +1 @@
+no \ No newline at end of file
diff --git a/mk/blake384=yes.mk b/mk/blake384=yes.mk
new file mode 100644
index 0000000..fb66021
--- /dev/null
+++ b/mk/blake384=yes.mk
@@ -0,0 +1,4 @@
+CPPFLAGS_BLAKE384 = -DSUPPORT_BLAKE384
+
+CPPFLAGS_LIBBLAKE_IF_SUPPORTED = $(CPPFLAGS_LIBBLAKE)
+LDFLAGS_LIBBLAKE_IF_SUPPORTED = $(LDFLAGS_LIBBLAKE)
diff --git a/mk/blake512=no.mk b/mk/blake512=no.mk
new file mode 120000
index 0000000..54299a4
--- /dev/null
+++ b/mk/blake512=no.mk
@@ -0,0 +1 @@
+no \ No newline at end of file
diff --git a/mk/blake512=yes.mk b/mk/blake512=yes.mk
new file mode 100644
index 0000000..df46eb7
--- /dev/null
+++ b/mk/blake512=yes.mk
@@ -0,0 +1,4 @@
+CPPFLAGS_BLAKE512 = -DSUPPORT_BLAKE512
+
+CPPFLAGS_LIBBLAKE_IF_SUPPORTED = $(CPPFLAGS_LIBBLAKE)
+LDFLAGS_LIBBLAKE_IF_SUPPORTED = $(LDFLAGS_LIBBLAKE)