From e17f71f9f01a429664caf120d9ac159ed9f5283f Mon Sep 17 00:00:00 2001 From: Laurent Bercot Date: Fri, 27 Mar 2015 13:28:03 +0000 Subject: - added sha512 (buggy, need to commit to test somewhere else) - version bump (not a rc yet) - bugfix: buffer_get returned -1 EPIPE on short reads w/o EOF --- src/libstdcrypto/sha512_init.c | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 src/libstdcrypto/sha512_init.c (limited to 'src/libstdcrypto/sha512_init.c') diff --git a/src/libstdcrypto/sha512_init.c b/src/libstdcrypto/sha512_init.c new file mode 100644 index 0000000..33b1d7c --- /dev/null +++ b/src/libstdcrypto/sha512_init.c @@ -0,0 +1,9 @@ +/* ISC license. */ + +#include + +void sha512_init (SHA512Schedule *ctx) +{ + SHA512Schedule empty = SHA512_INIT() ; + *ctx = empty ; +} -- cgit v1.2.3