-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Converted line endings to LF - Optimized otp_byte_secret for ='s - main.c test for padding now uses sha1 - main.cpp test now does everything main.c does - bump license year
- Loading branch information
Showing
9 changed files
with
1,675 additions
and
1,602 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,17 @@ | ||
@echo off | ||
|
||
echo Compiling | ||
gcc -O2 -Wall -shared -c cotp.c otpuri.c | ||
|
||
echo Building DLL | ||
gcc -O2 -Wall -shared -o libcotp.dll cotp.o otpuri.o -lcrypto | ||
|
||
echo Building static library | ||
ar rcs -o libcotp.a cotp.o otpuri.o | ||
|
||
echo Building test C application | ||
gcc -O2 -Wall -L . -I . -o test_c.exe test/main.c libcotp.a -lcrypto | ||
|
||
echo Building test C++ application | ||
g++ -O2 -Wall -L . -I . -o test_cpp.exe test/main.cpp libcotp.a -lcrypto | ||
|
||
@echo off | ||
|
||
echo Compiling | ||
gcc -O2 -Wall -shared -c cotp.c otpuri.c | ||
|
||
echo Building DLL | ||
gcc -O2 -Wall -shared -o libcotp.dll cotp.o otpuri.o -lcrypto | ||
|
||
echo Building static library | ||
ar rcs -o libcotp.a cotp.o otpuri.o | ||
|
||
echo Building test C application | ||
gcc -O2 -Wall -L . -I . -o test_c.exe test/main.c libcotp.a -lcrypto | ||
|
||
echo Building test C++ application | ||
g++ -O2 -Wall -L . -I . -o test_cpp.exe test/main.cpp libcotp.a -lcrypto | ||
|
Oops, something went wrong.