tests: add three compare tools using openssl_wrapper
[cryptodev-linux.git] / tests / Makefile
blob87ca3c7b46cb5c0fb23928931130ff9b5e4ebe1f
1 KERNEL_DIR ?= /lib/modules/$(shell uname -r)/build
2 KBUILD_CFLAGS += -I..
3 CFLAGS += -I..
5 comp_progs := cipher_comp hash_comp hmac_comp
7 hostprogs := cipher cipher-aead hmac speed async_cipher async_hmac \
8 async_speed sha_speed hashcrypt_speed fullspeed cipher-gcm \
9 cipher-aead-srtp ${comp_progs}
11 example-cipher-objs := cipher.o
12 example-cipher-aead-objs := cipher-aead.o
13 example-hmac-objs := hmac.o
14 example-speed-objs := speed.c
15 example-fullspeed-objs := fullspeed.c
16 example-sha-speed-objs := sha_speed.c
17 example-async-cipher-objs := async_cipher.o
18 example-async-hmac-objs := async_hmac.o
19 example-async-speed-objs := async_speed.o
20 example-hashcrypt-speed-objs := hashcrypt_speed.c
22 check: $(hostprogs)
23 ./cipher
24 ./hmac
25 ./async_cipher
26 ./async_hmac
27 ./cipher-aead-srtp
28 ./cipher-gcm
29 ./cipher-aead
31 clean:
32 rm -f *.o *~ $(hostprogs)
34 ${comp_progs}: LDFLAGS += -lssl -lcrypto
35 ${comp_progs}: %: %.o openssl_wrapper.o