X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=lib%2Fsha512.h;h=af8b354ebd0e2eaacb2368e9207a257b3fa953b8;hb=efbbfb91034a125333b7b147bc6a32170b25c890;hp=11ac2706f0b9ec4284a03caa8f1c92743118811e;hpb=37e9d1ae8a836d54df8d3ed79668e0e546e7ce4b;p=gnulib.git diff --git a/lib/sha512.h b/lib/sha512.h index 11ac2706f..af8b354eb 100644 --- a/lib/sha512.h +++ b/lib/sha512.h @@ -1,6 +1,6 @@ /* Declarations of functions and data types used for SHA512 and SHA384 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 @@ -48,14 +48,14 @@ extern void sha384_init_ctx (struct sha512_ctx *ctx); starting at BUFFER. It is necessary that LEN is a multiple of 128!!! */ extern void sha512_process_block (const void *buffer, size_t len, - struct sha512_ctx *ctx); + struct sha512_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 128. */ extern void sha512_process_bytes (const void *buffer, size_t len, - struct sha512_ctx *ctx); + struct sha512_ctx *ctx); /* Process the remaining bytes in the buffer and put result from CTX in first 64 (48) bytes following RESBUF. The result is always in little