diff options
author | DongHun Kwak <dh0128.kwak@samsung.com> | 2021-03-05 10:08:21 +0900 |
---|---|---|
committer | DongHun Kwak <dh0128.kwak@samsung.com> | 2021-03-05 10:08:21 +0900 |
commit | 8abe09f3b00fd31d1af24d3038f881034506d651 (patch) | |
tree | 057549dc80e468dce35223ddb305aa362968ed53 /lib/sha1.h | |
parent | afd456999b076e5e6505dd5ca6942a5e7471c70c (diff) | |
download | wget-8abe09f3b00fd31d1af24d3038f881034506d651.tar.gz wget-8abe09f3b00fd31d1af24d3038f881034506d651.tar.bz2 wget-8abe09f3b00fd31d1af24d3038f881034506d651.zip |
Imported Upstream version 1.19.3upstream/1.19.3
Diffstat (limited to 'lib/sha1.h')
-rw-r--r-- | lib/sha1.h | 15 |
1 files changed, 11 insertions, 4 deletions
@@ -1,6 +1,6 @@ /* Declarations of functions and data types used for SHA1 sum library functions. - Copyright (C) 2000-2001, 2003, 2005-2006, 2008-2017 Free Software + Copyright (C) 2000-2001, 2003, 2005-2006, 2008-2018 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it @@ -14,7 +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, see <http://www.gnu.org/licenses/>. */ + along with this program; if not, see <https://www.gnu.org/licenses/>. */ #ifndef SHA1_H # define SHA1_H 1 @@ -46,8 +46,8 @@ struct sha1_ctx uint32_t E; uint32_t total[2]; - uint32_t buflen; - uint32_t buffer[32]; + uint32_t buflen; /* ≥ 0, ≤ 128 */ + uint32_t buffer[32]; /* 128 bytes; the first buflen bytes are in use */ }; /* Initialize structure containing state of computation. */ @@ -98,3 +98,10 @@ extern int sha1_stream (FILE *stream, void *resblock); # endif #endif + +/* + * Hey Emacs! + * Local Variables: + * coding: utf-8 + * End: + */ |