Update CPK sub-lib

Use simple NID as arguments, and fix some bugs
This commit is contained in:
Zhi Guan
2018-10-21 19:43:40 +08:00
parent ce1763c9ea
commit 9eadfd4cb6
19 changed files with 5849 additions and 5740 deletions

View File

@@ -1,8 +1,8 @@
all:
gcc cpk-setup.c -lcrypto -o cpk-setup
gcc cpk-keygen.c -lcrypto -o cpk-keygen
gcc cpk-sign.c -lcrypto -o cpk-sign
gcc cpk-verify.c -lcrypto -o cpk-verify
gcc cpk-setup.c -L/usr/local/lib -lcrypto -o cpk-setup
gcc cpk-keygen.c -L/usr/local/lib -lcrypto -o cpk-keygen
gcc cpk-sign.c -L/usr/local/lib -lcrypto -o cpk-sign
gcc cpk-verify.c -L/usr/local/lib -lcrypto -o cpk-verify
test:
./cpk-setup sign.mpk sign.msk