Update some demos

This commit is contained in:
Zhi Guan
2018-10-31 11:03:21 +08:00
parent 9eadfd4cb6
commit 676076278d
37 changed files with 2277 additions and 141 deletions

11
demos/sm4/Makefile Normal file
View File

@@ -0,0 +1,11 @@
all:
gcc sms4.c -L /usr/local/lib -lcrypto -o sms4
gcc sms4.c -DUSE_RANDOM -L /usr/local/lib -lcrypto -o sms4rnd
test:
./sms4
./sms4rnd
clean:
rm -fr sms4
rm -fr sms4rnd