Archived
1
0
Fork 0
Commit graph

2 commits

Author SHA1 Message Date
Henrik Hautakoski
569d0167d8 sha1_io: inline functions 2012-08-22 14:26:58 +02:00
Henrik Hautakoski
0b2b159b2d Adding sha1_io.c/h: A wrapper interface for performing posix file I/O
with SHA1 as a CRC mechanism.

When writing file formats using SHA1 as CRC, its is handy to
have SHA1_Update() to be applied to every write(). so that an
SHA1 hash can be calculated for that data and used as an CRC check.

Therefor this interface is created to wrap the code used to do this.
2012-02-17 22:37:24 +01:00