block ciphers: added name, perf, fixes, AES alias removed
[rofl0r-kripto.git] / test.sh
blob3ecc3a5c06d763ec0286fed256f0e366dcda4fed
1 #!/bin/sh
3 CFLAGS="lib/libkripto.a -std=c99 -pedantic -Wall -Wextra -Wstrict-prototypes -Wmissing-prototypes -Wcast-qual -Wbad-function-cast -Wshadow -I include/ -D_ANSI_SOURCE -D_ISOC99_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 $CFLAGS"
5 #cc test/authstream/eax.c $CFLAGS -o t
6 #./t
8 #cc test/mac/omac.c $CFLAGS -o t
9 #./t
11 #cc test/mac/hmac.c $CFLAGS -o t
12 #./t
14 #cc test/scrypt.c $CFLAGS -o t
15 #./t
17 #cc test/block/rijndael256.c $CFLAGS -o t
18 #./t
20 cc test/block/safer.c $CFLAGS -o t
21 ./t
23 #cc test/block/xtea.c $CFLAGS -o t
24 #./t
26 #cc test/block/blowfish.c $CFLAGS -o t
27 #./t
29 #cc test/block/serpent.c $CFLAGS -o t
30 #./t
32 #cc test/block/camellia.c $CFLAGS -o t
33 #./t
35 #cc test/block/threefish256.c -DVERBOSE $CFLAGS -o t
36 #./t
38 #echo $?
40 #cc test/hash/skein256.c $CFLAGS -o t
41 #./t
43 #cc test/hash/md5.c $CFLAGS -o t
44 #./t
46 #cc test/hash/blake256.c $CFLAGS -o t
47 #./t
49 #cc test/hash/blake2b.c $CFLAGS -o t
50 #./t
52 #cc test/hash/keccak1600.c $CFLAGS -o t
53 #./t
55 #cc test/stream/chacha.c $CFLAGS -o t
56 #./t
58 #cc test/stream/rc4i.c $CFLAGS -o t
59 #./t
61 #cc test/stream/rc4.c $CFLAGS -o t
62 #./t
64 #cc test/stream/salsa20.c $CFLAGS -o t
65 #./t
67 #cc test/mode/ctr.c $CFLAGS -o t
68 #./t
70 rm t