diff options
author | Lukas Fleischer <calcurse@cryptocrack.de> | 2011-08-01 23:22:41 +0200 |
---|---|---|
committer | Lukas Fleischer <calcurse@cryptocrack.de> | 2011-10-05 12:25:46 +0200 |
commit | 9dcb377a641841d66ed8c9c4b0ac960f609ff65a (patch) | |
tree | 2bea67378d171f3777c0d1e86bdea39efacadb9d /src/Makefile.am | |
parent | 51c6386a05c174b9af04517da76ec725035a57a6 (diff) | |
download | calcurse-9dcb377a641841d66ed8c9c4b0ac960f609ff65a.zip |
Add a SHA1 implementation
Add an implementation of the SHA1 hash algorithm based on a public
domain project by Steve Reid <sreid@sea-to-sky.net>. You can get the
original sources from:
ftp://ftp.funet.fi/pub/crypt/hash/sha/sha1.c
We will need this for several things. File names of note files will be
generated based on a hash their content instead of using a random name.
Items can be uniquely identified using a hash.
In addition to the regular sha1_init(), sha1_update() and sha1_final()
operations, our implementation also contains wrappers for hashing a
string or a stream.
Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de>
Diffstat (limited to 'src/Makefile.am')
-rw-r--r-- | src/Makefile.am | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/Makefile.am b/src/Makefile.am index 12147a5..942e7a2 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -8,6 +8,7 @@ calcurse_SOURCES = \ htable.h \ llist.h \ llist_ts.h \ + sha1.h \ apoint.c \ args.c \ calendar.c \ @@ -22,6 +23,7 @@ calcurse_SOURCES = \ note.c \ notify.c \ recur.c \ + sha1.c \ sigs.c \ todo.c \ utf8.c \ |