X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=lib%2Fsha1.h;h=d3fedbf0cd56721c8f4c3e58fa1a628cc692332f;hb=65fb20d6b5eb7308276da1a421bfcd253faff703;hp=2beaa66c583ed5a961f9b1f04332895601660b8b;hpb=37e9d1ae8a836d54df8d3ed79668e0e546e7ce4b;p=gnulib.git diff --git a/lib/sha1.h b/lib/sha1.h index 2beaa66c5..d3fedbf0c 100644 --- a/lib/sha1.h +++ b/lib/sha1.h @@ -1,7 +1,7 @@ /* Declarations of functions and data types used for SHA1 sum library functions. - Copyright (C) 2000, 2001, 2003, 2005, 2006, 2008, 2009 - Free Software Foundation, Inc. + Copyright (C) 2000-2001, 2003, 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 the @@ -52,14 +52,14 @@ extern void sha1_init_ctx (struct sha1_ctx *ctx); starting at BUFFER. It is necessary that LEN is a multiple of 64!!! */ extern void sha1_process_block (const void *buffer, size_t len, - struct sha1_ctx *ctx); + struct sha1_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 sha1_process_bytes (const void *buffer, size_t len, - struct sha1_ctx *ctx); + struct sha1_ctx *ctx); /* Process the remaining bytes in the buffer and put result from CTX in first 20 bytes following RESBUF. The result is always in little