1 KERNEL_DIR ?
= /lib
/modules
/$(shell uname
-r
)/build
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
32 rm -f
*.o
*~
$(hostprogs
)
34 ${comp_progs}: LDFLAGS
+= -lssl
-lcrypto
35 ${comp_progs}: %: %.o openssl_wrapper.o