summaryrefslogtreecommitdiffstats
path: root/demos/digest/Makefile
diff options
context:
space:
mode:
authorHugo Landau <hlandau@openssl.org>2022-03-03 08:20:05 +0000
committerTomas Mraz <tomas@openssl.org>2022-03-04 16:12:17 +0100
commit6269e6923f137870ab9a678ae91f10daed517ec5 (patch)
treef67d4e9d58372aea3b25071573f6aea98ebd215d /demos/digest/Makefile
parente0de19409716ec6723d20e31b93cf92df24797fd (diff)
EVP demo for XOF digest using SHAKE256
This demo optionally accepts a single command line argument, allowing the output length to be specified. Fixes #14106. Reviewed-by: Matt Caswell <matt@openssl.org> Reviewed-by: Paul Dale <pauli@openssl.org> Reviewed-by: Tomas Mraz <tomas@openssl.org> (Merged from https://github.com/openssl/openssl/pull/17803) (cherry picked from commit 4c8cdcd1cf74747a80b4f7dd323cd83ea6c985d8)
Diffstat (limited to 'demos/digest/Makefile')
-rw-r--r--demos/digest/Makefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/demos/digest/Makefile b/demos/digest/Makefile
index bcd4c4353b..0bfb6dd5f0 100644
--- a/demos/digest/Makefile
+++ b/demos/digest/Makefile
@@ -3,20 +3,21 @@
#
# LD_LIBRARY_PATH=../.. ./EVP_MD_demo
-CFLAGS = -I../../include -g
+CFLAGS = -I../../include -g -Wall
LDFLAGS = -L../..
LDLIBS = -lcrypto
-all: EVP_MD_demo EVP_MD_stdin BIO_f_md
+all: EVP_MD_demo EVP_MD_stdin EVP_MD_xof BIO_f_md
%.o: %.c
$(CC) $(CFLAGS) -c $<
EVP_MD_demo: EVP_MD_demo.o
EVP_MD_stdin: EVP_MD_stdin.o
+EVP_MD_xof: EVP_MD_xof.o
BIO_f_md: BIO_f_md.o
test: ;
clean:
- $(RM) *.o EVP_MD_demo EVP_MD_stdin BIO_f_md
+ $(RM) *.o EVP_MD_demo EVP_MD_stdin EVP_MD_xof BIO_f_md