mirror of
https://github.com/guanzhi/GmSSL.git
synced 2026-08-08 23:13:38 +08:00
Update some demos
This commit is contained in:
14
demos/sm3/Makefile
Normal file
14
demos/sm3/Makefile
Normal file
@@ -0,0 +1,14 @@
|
||||
all:
|
||||
gcc sm3.c -L /usr/local/lib -lcrypto -o sm3
|
||||
gcc sm3evp.c -L /usr/local/lib -lcrypto -o sm3evp
|
||||
gcc sm3hmac.c -L /usr/local/lib -lcrypto -o sm3hmac
|
||||
|
||||
test:
|
||||
echo "hello" | ./sm3
|
||||
echo "hello" | ./sm3evp
|
||||
echo "hello" | ./sm3hmac
|
||||
|
||||
clean:
|
||||
rm -fr sm3
|
||||
rm -fr sm3evp
|
||||
rm -fr sm3hmac
|
||||
Reference in New Issue
Block a user