X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=lib%2Fsha1.h;h=4e554305b91d458dfb49e032f5bc71c8001d2574;hb=573dad2ce496fa87dac2e79f37bae62e0be1d2c6;hp=93babd2eed45e36e98c79ee8534a681fae2e9331;hpb=e89d33fe93612a3e0024c5d2d3751c3f722de939;p=gnulib.git diff --git a/lib/sha1.h b/lib/sha1.h index 93babd2ee..4e554305b 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 - Free Software Foundation, Inc. + Copyright (C) 2000-2001, 2003, 2005-2006, 2008-2012 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 @@ -14,8 +14,7 @@ GNU General Public License for more details. You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software Foundation, - Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ + along with this program; if not, see . */ #ifndef SHA1_H # define SHA1_H 1 @@ -52,14 +51,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