aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Add clean target to MakefileHEADmasterGravatar Tom Willemse2013-11-171-0/+7
|
* Remove main from libdispass, add test executableGravatar Tom Willemse2013-11-176-27/+44
| | | | | | | | | - Add ~dispasstest~ which is used to test the DisPass algorithms. - Remove =main= from libdispass since shared libraries shouldn't have main functions - Add ~dispass.h~ which defines and exports the DisPass algorithms. - Make some functions in ~dispass.c~ static to make clear they're not exported anywhere.
* Improve Makefile, make shared libraryGravatar Tom Willemse2013-11-172-3/+6
|
* Rename sha1.c to dispass.cGravatar Tom Willemse2013-11-172-2/+2
| | | | | | This project started out as a test to get SHA1 (actually SHA512) working, now it's grown up to a DisPass algorithm implementation (experiment).
* Fix some compiler warningsGravatar Tom Willemse2013-11-171-7/+5
| | | | | | | | | | - Remove some unused variables - Explicitly cast =tbuff= to a pointer to =unsigned char= when using =SHA512=. - Use =long long unsigned= as =seqno=, since there is no theoretical limit to it. - Use =size_t= for the =tbufflen= variable in =dispass1= since technically that is what =strlen= returns.
* Remove = from generated passphraseGravatar Tom Willemse2013-11-171-0/+26
|
* Fix memory leakGravatar Tom Willemse2013-11-161-5/+22
|
* Initial commitGravatar Tom Willemse2013-11-164-0/+111