Commit graph

8 commits

Author SHA1 Message Date
4e0716333d Add clean target to Makefile 2013-11-17 01:14:22 +01:00
6aa289c124 Remove main from libdispass, add test executable
- 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.
2013-11-17 01:13:08 +01:00
19129006d3 Improve Makefile, make shared library 2013-11-17 00:52:32 +01:00
f016198915 Rename sha1.c to dispass.c
This project started out as a test to get SHA1 (actually SHA512)
working, now it's grown up to a DisPass algorithm
implementation (experiment).
2013-11-17 00:42:46 +01:00
e67489c6dd Fix some compiler warnings
- 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.
2013-11-17 00:38:25 +01:00
6e7e8e9ba2 Remove = from generated passphrase 2013-11-17 00:34:14 +01:00
9b4461479e Fix memory leak 2013-11-16 00:52:49 +01:00
f6a9356dc3 Initial commit 2013-11-16 00:30:26 +01:00