X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;ds=sidebyside;f=lib%2Fsha256.h;h=9f6bf14bf0c7f806f89edd969194bd148611039c;hb=620ece7758e453efebf7f52a1ab9fc1c49a5020c;hp=6a9aed41adc8acb7ec40e1b737297c89b04c4824;hpb=37e9d1ae8a836d54df8d3ed79668e0e546e7ce4b;p=gnulib.git diff --git a/lib/sha256.h b/lib/sha256.h index 6a9aed41a..9f6bf14bf 100644 --- a/lib/sha256.h +++ b/lib/sha256.h @@ -1,6 +1,6 @@ /* Declarations of functions and data types used for SHA256 and SHA224 sum library functions. - Copyright (C) 2005, 2006, 2008, 2009 Free Software Foundation, Inc. + Copyright (C) 2005-2006, 2008-2011 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -47,14 +47,14 @@ extern void sha224_init_ctx (struct sha256_ctx *ctx); starting at BUFFER. It is necessary that LEN is a multiple of 64!!! */ extern void sha256_process_block (const void *buffer, size_t len, - struct sha256_ctx *ctx); + struct sha256_ctx *ctx); /* Starting with the result of former calls of this function (or the initialization function update the context for the next LEN bytes starting at BUFFER. It is NOT required that LEN is a multiple of 64. */ extern void sha256_process_bytes (const void *buffer, size_t len, - struct sha256_ctx *ctx); + struct sha256_ctx *ctx); /* Process the remaining bytes in the buffer and put result from CTX in first 32 (28) bytes following RESBUF. The result is always in little