mirror of
https://github.com/guanzhi/GmSSL.git
synced 2026-05-07 08:56:17 +08:00
15 lines
271 B
Makefile
15 lines
271 B
Makefile
all:
|
|
gcc sms4.c -L /usr/local/lib -lcrypto -o sms4
|
|
gcc sms4.c -DUSE_RANDOM -L /usr/local/lib -lcrypto -o sms4rnd
|
|
gcc sms4evp.c -DMSG_LEN=20 -L /usr/local/lib -lcrypto -o sms4evp
|
|
|
|
test:
|
|
./sms4
|
|
./sms4rnd
|
|
./sms4evp
|
|
|
|
clean:
|
|
rm -fr sms4
|
|
rm -fr sms4rnd
|
|
rm -fr sms4evp
|