diff options
author | Mattias Andrée <maandree@kth.se> | 2024-08-28 16:42:05 +0200 |
---|---|---|
committer | Mattias Andrée <maandree@kth.se> | 2024-08-28 16:42:05 +0200 |
commit | a24071ae913b223487df78859c8d830f9e69f580 (patch) | |
tree | e2ec712cc29461c82cfdd477e8b1ba961b50018d /mk | |
parent | First commit (diff) | |
download | anysum-a24071ae913b223487df78859c8d830f9e69f580.tar.gz anysum-a24071ae913b223487df78859c8d830f9e69f580.tar.bz2 anysum-a24071ae913b223487df78859c8d830f9e69f580.tar.xz |
Second commit
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to 'mk')
-rw-r--r-- | mk/before-config.mk | 21 | ||||
-rw-r--r-- | mk/blake224=yes.mk | 3 | ||||
-rw-r--r-- | mk/blake256=yes.mk | 3 | ||||
-rw-r--r-- | mk/blake384=yes.mk | 3 | ||||
-rw-r--r-- | mk/blake512=yes.mk | 3 | ||||
-rw-r--r-- | mk/keccak=yes.mk | 2 | ||||
-rw-r--r-- | mk/md2=yes.mk | 2 | ||||
-rw-r--r-- | mk/md4=yes.mk | 2 | ||||
-rw-r--r-- | mk/md5=yes.mk | 2 | ||||
-rw-r--r-- | mk/rawshake=yes.mk | 2 | ||||
-rw-r--r-- | mk/ripemd-128=yes.mk | 2 | ||||
-rw-r--r-- | mk/ripemd-160=yes.mk | 2 | ||||
-rw-r--r-- | mk/ripemd-256=yes.mk | 2 | ||||
-rw-r--r-- | mk/ripemd-320=yes.mk | 2 | ||||
-rw-r--r-- | mk/sha1=yes.mk | 3 | ||||
-rw-r--r-- | mk/sha2=yes.mk | 2 | ||||
-rw-r--r-- | mk/sha3=yes.mk | 2 | ||||
-rw-r--r-- | mk/shake=yes.mk | 2 |
18 files changed, 60 insertions, 0 deletions
diff --git a/mk/before-config.mk b/mk/before-config.mk index c77dd47..cf000f5 100644 --- a/mk/before-config.mk +++ b/mk/before-config.mk @@ -19,3 +19,24 @@ SUPPORT_BLAKE224 = $(DEFAULT_SUPPORT) SUPPORT_BLAKE256 = $(DEFAULT_SUPPORT) SUPPORT_BLAKE384 = $(DEFAULT_SUPPORT) SUPPORT_BLAKE512 = $(DEFAULT_SUPPORT) + +ALIASES =\ + $(ALIASES_MD2)\ + $(ALIASES_MD4)\ + $(ALIASES_MD5)\ + $(ALIASES_RIPEMD_128)\ + $(ALIASES_RIPEMD_160)\ + $(ALIASES_RIPEMD_256)\ + $(ALIASES_RIPEMD_320)\ + $(ALIASES_SHA0)\ + $(ALIASES_SHA1)\ + $(ALIASES_SHA2)\ + $(ALIASES_SHA3)\ + $(ALIASES_KECCAK)\ + $(ALIASES_SHAKE)\ + $(ALIASES_RAWSHAKE)\ + $(ALIASES_BLAKE)\ + $(ALIASES_BLAKE224)\ + $(ALIASES_BLAKE256)\ + $(ALIASES_BLAKE384)\ + $(ALIASES_BLAKE512) diff --git a/mk/blake224=yes.mk b/mk/blake224=yes.mk index 765741c..246dda2 100644 --- a/mk/blake224=yes.mk +++ b/mk/blake224=yes.mk @@ -2,3 +2,6 @@ CPPFLAGS_BLAKE224 = -DSUPPORT_BLAKE224 CPPFLAGS_LIBBLAKE_IF_SUPPORTED = $(CPPFLAGS_LIBBLAKE) LDFLAGS_LIBBLAKE_IF_SUPPORTED = $(LDFLAGS_LIBBLAKE) + +ALIASES_BLAKE = bsum +ALIASES_BLAKE224 = b224sum diff --git a/mk/blake256=yes.mk b/mk/blake256=yes.mk index 6098067..9a054dc 100644 --- a/mk/blake256=yes.mk +++ b/mk/blake256=yes.mk @@ -2,3 +2,6 @@ CPPFLAGS_BLAKE256 = -DSUPPORT_BLAKE256 CPPFLAGS_LIBBLAKE_IF_SUPPORTED = $(CPPFLAGS_LIBBLAKE) LDFLAGS_LIBBLAKE_IF_SUPPORTED = $(LDFLAGS_LIBBLAKE) + +ALIASES_BLAKE = bsum +ALIASES_BLAKE256 = b256sum diff --git a/mk/blake384=yes.mk b/mk/blake384=yes.mk index fb66021..82d7e1b 100644 --- a/mk/blake384=yes.mk +++ b/mk/blake384=yes.mk @@ -2,3 +2,6 @@ CPPFLAGS_BLAKE384 = -DSUPPORT_BLAKE384 CPPFLAGS_LIBBLAKE_IF_SUPPORTED = $(CPPFLAGS_LIBBLAKE) LDFLAGS_LIBBLAKE_IF_SUPPORTED = $(LDFLAGS_LIBBLAKE) + +ALIASES_BLAKE = bsum +ALIASES_BLAKE384 = b384sum diff --git a/mk/blake512=yes.mk b/mk/blake512=yes.mk index df46eb7..33d1b6c 100644 --- a/mk/blake512=yes.mk +++ b/mk/blake512=yes.mk @@ -2,3 +2,6 @@ CPPFLAGS_BLAKE512 = -DSUPPORT_BLAKE512 CPPFLAGS_LIBBLAKE_IF_SUPPORTED = $(CPPFLAGS_LIBBLAKE) LDFLAGS_LIBBLAKE_IF_SUPPORTED = $(LDFLAGS_LIBBLAKE) + +ALIASES_BLAKE = bsum +ALIASES_BLAKE512 = b512sum diff --git a/mk/keccak=yes.mk b/mk/keccak=yes.mk index d35f3e2..8219267 100644 --- a/mk/keccak=yes.mk +++ b/mk/keccak=yes.mk @@ -2,3 +2,5 @@ CPPFLAGS_KECCAK = -DSUPPORT_KECCAK CPPFLAGS_LIBKECCAK_IF_SUPPORTED = $(CPPFLAGS_LIBKECCAK) LDFLAGS_LIBKECCAK_IF_SUPPORTED = $(LDFLAGS_LIBKECCAK) + +ALIASES_KECCAK = keccaksum keccak224sum keccak256sum keccak384sum keccak512sum diff --git a/mk/md2=yes.mk b/mk/md2=yes.mk index b387519..a19a5b9 100644 --- a/mk/md2=yes.mk +++ b/mk/md2=yes.mk @@ -1 +1,3 @@ CPPFLAGS_MD2 = -DSUPPORT_MD2 + +ALIASES_MD2 = md2sum diff --git a/mk/md4=yes.mk b/mk/md4=yes.mk index 71ea9db..7aead6b 100644 --- a/mk/md4=yes.mk +++ b/mk/md4=yes.mk @@ -1 +1,3 @@ CPPFLAGS_MD4 = -DSUPPORT_MD4 + +ALIASES_MD4 = md4sum diff --git a/mk/md5=yes.mk b/mk/md5=yes.mk index 4a537e7..4032545 100644 --- a/mk/md5=yes.mk +++ b/mk/md5=yes.mk @@ -1 +1,3 @@ CPPFLAGS_MD5 = -DSUPPORT_MD5 + +ALIASES_MD5 = md5sum diff --git a/mk/rawshake=yes.mk b/mk/rawshake=yes.mk index d41ab71..b863014 100644 --- a/mk/rawshake=yes.mk +++ b/mk/rawshake=yes.mk @@ -2,3 +2,5 @@ CPPFLAGS_RAWSHAKE = -DSUPPORT_RAWSHAKE CPPFLAGS_LIBKECCAK_IF_SUPPORTED = $(CPPFLAGS_LIBKECCAK) LDFLAGS_LIBKECCAK_IF_SUPPORTED = $(LDFLAGS_LIBKECCAK) + +ALIASES_RAWSHAKE = rawshake128sum rawshake256sum rawshake512sum diff --git a/mk/ripemd-128=yes.mk b/mk/ripemd-128=yes.mk index 20ccc01..4e9816d 100644 --- a/mk/ripemd-128=yes.mk +++ b/mk/ripemd-128=yes.mk @@ -1 +1,3 @@ CPPFLAGS_RIPEMD_128 = -DSUPPORT_RIPEMD_128 + +ALIASES_RIPEMD_128 = rmd128sum diff --git a/mk/ripemd-160=yes.mk b/mk/ripemd-160=yes.mk index a7bdaef..142e040 100644 --- a/mk/ripemd-160=yes.mk +++ b/mk/ripemd-160=yes.mk @@ -1 +1,3 @@ CPPFLAGS_RIPEMD_160 = -DSUPPORT_RIPEMD_160 + +ALIASES_RIPEMD_160 = rmd160sum diff --git a/mk/ripemd-256=yes.mk b/mk/ripemd-256=yes.mk index 5ad2c42..720e7f2 100644 --- a/mk/ripemd-256=yes.mk +++ b/mk/ripemd-256=yes.mk @@ -1 +1,3 @@ CPPFLAGS_RIPEMD_256 = -DSUPPORT_RIPEMD_256 + +ALIASES_RIPEMD_256 = rmd256sum diff --git a/mk/ripemd-320=yes.mk b/mk/ripemd-320=yes.mk index fefe259..51b51d5 100644 --- a/mk/ripemd-320=yes.mk +++ b/mk/ripemd-320=yes.mk @@ -1 +1,3 @@ CPPFLAGS_RIPEMD_320 = -DSUPPORT_RIPEMD_320 + +ALIASES_RIPEMD_320 = rmd320sum diff --git a/mk/sha1=yes.mk b/mk/sha1=yes.mk index c15ebc3..88106b6 100644 --- a/mk/sha1=yes.mk +++ b/mk/sha1=yes.mk @@ -1,2 +1,5 @@ CPPFLAGS_SHA1 = $(CPPFLAGS_LIBSHA1) -DSUPPORT_SHA0 -DSUPPORT_SHA1 LDFLAGS_SHA1 = $(LDFLAGS_LIBSHA1) + +ALIASES_SHA0 = sha0sum +ALIASES_SHA1 = sha1sum diff --git a/mk/sha2=yes.mk b/mk/sha2=yes.mk index cb26c08..c7e677b 100644 --- a/mk/sha2=yes.mk +++ b/mk/sha2=yes.mk @@ -1,2 +1,4 @@ CPPFLAGS_SHA2 = $(CPPFLAGS_LIBSHA2) -DSUPPORT_SHA2 LDFLAGS_SHA2 = $(LDFLAGS_LIBSHA2) + +ALIASES_SHA2 = sha224sum sha256sum sha384sum sha512sum sha512-224sum sha512-256sum diff --git a/mk/sha3=yes.mk b/mk/sha3=yes.mk index 3d255f5..c01fade 100644 --- a/mk/sha3=yes.mk +++ b/mk/sha3=yes.mk @@ -2,3 +2,5 @@ CPPFLAGS_SHA3 = -DSUPPORT_SHA3 CPPFLAGS_LIBKECCAK_IF_SUPPORTED = $(CPPFLAGS_LIBKECCAK) LDFLAGS_LIBKECCAK_IF_SUPPORTED = $(LDFLAGS_LIBKECCAK) + +ALIASES_SHA3 = sha3sum sha3-224sum sha3-256sum sha3-384sum sha3-512sum diff --git a/mk/shake=yes.mk b/mk/shake=yes.mk index b3f1fbc..5bea3ff 100644 --- a/mk/shake=yes.mk +++ b/mk/shake=yes.mk @@ -2,3 +2,5 @@ CPPFLAGS_SHAKE = -DSUPPORT_SHAKE CPPFLAGS_LIBKECCAK_IF_SUPPORTED = $(CPPFLAGS_LIBKECCAK) LDFLAGS_LIBKECCAK_IF_SUPPORTED = $(LDFLAGS_LIBKECCAK) + +ALIASES_SHAKE = shake128sum shake256sum shake512sum |