Add convenience function to hash a buffer.
authorWerner Koch <wk@gnupg.org>
Thu, 26 Feb 2015 14:35:49 +0000 (15:35 +0100)
committerWerner Koch <wk@gnupg.org>
Thu, 26 Feb 2015 14:35:49 +0000 (15:35 +0100)
commit2e7a3ed39007deb561a9175f7fccd52946c85d28
treebe0c423c5f2ec5049d1480da3c75c7cd7efe3875
parentd2323ce6fdceeba9765f23a1d5b5e4cb127d99ed
Add convenience function to hash a buffer.

* cipher/sha1.c (sha1_hash_buffer): New.

Signed-off-by: Werner Koch <wk@gnupg.org>
cipher/sha1.c
include/cipher.h