Changeset View
Changeset View
Standalone View
Standalone View
sys/dev/random/unit_test.c
Show All 30 Lines | |||||
cc -g -O0 -pthread -DRANDOM_<alg> -I../.. -lstdthreads -Wall \ | cc -g -O0 -pthread -DRANDOM_<alg> -I../.. -lstdthreads -Wall \ | ||||
unit_test.c \ | unit_test.c \ | ||||
yarrow.c \ | yarrow.c \ | ||||
fortuna.c \ | fortuna.c \ | ||||
hash.c \ | hash.c \ | ||||
../../crypto/rijndael/rijndael-api-fst.c \ | ../../crypto/rijndael/rijndael-api-fst.c \ | ||||
../../crypto/rijndael/rijndael-alg-fst.c \ | ../../crypto/rijndael/rijndael-alg-fst.c \ | ||||
../../crypto/sha2/sha2.c \ | ../../crypto/sha2/sha256c.c \ | ||||
-lz \ | -lz \ | ||||
-o unit_test | -o unit_test | ||||
./unit_test | ./unit_test | ||||
Where <alg> is YARROW or FORTUNA. | Where <alg> is YARROW or FORTUNA. | ||||
*/ | */ | ||||
#include <sys/types.h> | #include <sys/types.h> | ||||
▲ Show 20 Lines • Show All 220 Lines • Show Last 20 Lines |