"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "littleutils/sha1.h" between
littleutils-1.2.4.tar.lz and littleutils-1.2.5.tar.lz

About: littleutils are a collection of small and simple utilities (rename files, search for duplicate files, ...).

sha1.h  (littleutils-1.2.4.tar.lz):sha1.h  (littleutils-1.2.5.tar.lz)
skipping to change at line 19 skipping to change at line 19
later version. later version.
This program is distributed in the hope that it will be useful, This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details. GNU General Public License for more details.
You should have received a copy of the GNU General Public License You should have received a copy of the GNU General Public License
along with this program; if not, see <https://www.gnu.org/licenses/>. */ along with this program; if not, see <https://www.gnu.org/licenses/>. */
/* Modifications for partial file reads by Brian Lindholm, 2004-2020. */ /* Modifications for partial file reads by Brian Lindholm, 2004-2021. */
#ifndef SHA1_H #ifndef SHA1_H
#define SHA1_H 1 #define SHA1_H 1
#include <config.h> #include <config.h>
#include <stdio.h>
#if HAVE_INTTYPES_H #if HAVE_INTTYPES_H
# include <inttypes.h> # include <inttypes.h>
#endif #endif
#if HAVE_STDINT_H || _LIBC #if HAVE_STDINT_H || _LIBC
# include <stdint.h> # include <stdint.h>
#endif #endif
#ifdef HAVE_STDIO_H
# include <stdio.h>
#endif
#define SHA1_DIGEST_SIZE 20 #define SHA1_DIGEST_SIZE 20
/* Structure to save state of computation between the single steps. */ /* Structure to save state of computation between the single steps. */
struct sha1_ctx struct sha1_ctx
{ {
uint32_t A; uint32_t A;
uint32_t B; uint32_t B;
uint32_t C; uint32_t C;
uint32_t D; uint32_t D;
 End of changes. 3 change blocks. 
2 lines changed or deleted 4 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)