author | Pierre-Yves David <pierre-yves.david@octobus.net> |
Tue, 20 Apr 2021 04:27:03 +0200 | |
changeset 46990 | 0b569c75d180 |
parent 44057 | 7dddc2251365 |
child 50448 | a0e39f5bb7cd |
permissions | -rw-r--r-- |
44057
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1 |
/*** |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
2 |
* Copyright 2017 Marc Stevens <marc@marc-stevens.nl>, Dan Shumow (danshu@microsoft.com) |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
3 |
* Distributed under the MIT Software License. |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
4 |
* See accompanying file LICENSE.txt or copy at |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
5 |
* https://opensource.org/licenses/MIT |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
6 |
***/ |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
7 |
|
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
8 |
#ifndef SHA1DC_NO_STANDARD_INCLUDES |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
9 |
#include <string.h> |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
10 |
#include <memory.h> |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
11 |
#include <stdio.h> |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
12 |
#include <stdlib.h> |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
13 |
#ifdef __unix__ |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
14 |
#include <sys/types.h> /* make sure macros like _BIG_ENDIAN visible */ |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
15 |
#endif |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
16 |
#endif |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
17 |
|
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
18 |
#ifdef SHA1DC_CUSTOM_INCLUDE_SHA1_C |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
19 |
#include SHA1DC_CUSTOM_INCLUDE_SHA1_C |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
20 |
#endif |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
21 |
|
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
22 |
#ifndef SHA1DC_INIT_SAFE_HASH_DEFAULT |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
23 |
#define SHA1DC_INIT_SAFE_HASH_DEFAULT 1 |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
24 |
#endif |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
25 |
|
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
26 |
#include "sha1.h" |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
27 |
#include "ubc_check.h" |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
28 |
|
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
29 |
#if (defined(__amd64__) || defined(__amd64) || defined(__x86_64__) || defined(__x86_64) || \ |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
30 |
defined(i386) || defined(__i386) || defined(__i386__) || defined(__i486__) || \ |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
31 |
defined(__i586__) || defined(__i686__) || defined(_M_IX86) || defined(__X86__) || \ |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
32 |
defined(_X86_) || defined(__THW_INTEL__) || defined(__I86__) || defined(__INTEL__) || \ |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
33 |
defined(__386) || defined(_M_X64) || defined(_M_AMD64)) |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
34 |
#define SHA1DC_ON_INTEL_LIKE_PROCESSOR |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
35 |
#endif |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
36 |
|
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
37 |
/* |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
38 |
Because Little-Endian architectures are most common, |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
39 |
we only set SHA1DC_BIGENDIAN if one of these conditions is met. |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
40 |
Note that all MSFT platforms are little endian, |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
41 |
so none of these will be defined under the MSC compiler. |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
42 |
If you are compiling on a big endian platform and your compiler does not define one of these, |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
43 |
you will have to add whatever macros your tool chain defines to indicate Big-Endianness. |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
44 |
*/ |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
45 |
|
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
46 |
#if defined(__BYTE_ORDER__) && defined(__ORDER_BIG_ENDIAN__) |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
47 |
/* |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
48 |
* Should detect Big Endian under GCC since at least 4.6.0 (gcc svn |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
49 |
* rev #165881). See |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
50 |
* https://gcc.gnu.org/onlinedocs/cpp/Common-Predefined-Macros.html |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
51 |
* |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
52 |
* This also works under clang since 3.2, it copied the GCC-ism. See |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
53 |
* clang.git's 3b198a97d2 ("Preprocessor: add __BYTE_ORDER__ |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
54 |
* predefined macro", 2012-07-27) |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
55 |
*/ |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
56 |
#if __BYTE_ORDER__ == __ORDER_BIG_ENDIAN__ |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
57 |
#define SHA1DC_BIGENDIAN |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
58 |
#endif |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
59 |
|
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
60 |
/* Not under GCC-alike */ |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
61 |
#elif defined(__BYTE_ORDER) && defined(__BIG_ENDIAN) |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
62 |
/* |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
63 |
* Should detect Big Endian under glibc.git since 14245eb70e ("entered |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
64 |
* into RCS", 1992-11-25). Defined in <endian.h> which will have been |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
65 |
* brought in by standard headers. See glibc.git and |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
66 |
* https://sourceforge.net/p/predef/wiki/Endianness/ |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
67 |
*/ |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
68 |
#if __BYTE_ORDER == __BIG_ENDIAN |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
69 |
#define SHA1DC_BIGENDIAN |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
70 |
#endif |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
71 |
|
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
72 |
/* Not under GCC-alike or glibc */ |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
73 |
#elif defined(_BYTE_ORDER) && defined(_BIG_ENDIAN) && defined(_LITTLE_ENDIAN) |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
74 |
/* |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
75 |
* *BSD and newlib (embeded linux, cygwin, etc). |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
76 |
* the defined(_BIG_ENDIAN) && defined(_LITTLE_ENDIAN) part prevents |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
77 |
* this condition from matching with Solaris/sparc. |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
78 |
* (Solaris defines only one endian macro) |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
79 |
*/ |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
80 |
#if _BYTE_ORDER == _BIG_ENDIAN |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
81 |
#define SHA1DC_BIGENDIAN |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
82 |
#endif |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
83 |
|
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
84 |
/* Not under GCC-alike or glibc or *BSD or newlib */ |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
85 |
#elif (defined(__ARMEB__) || defined(__THUMBEB__) || defined(__AARCH64EB__) || \ |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
86 |
defined(__MIPSEB__) || defined(__MIPSEB) || defined(_MIPSEB) || \ |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
87 |
defined(__sparc)) |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
88 |
/* |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
89 |
* Should define Big Endian for a whitelist of known processors. See |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
90 |
* https://sourceforge.net/p/predef/wiki/Endianness/ and |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
91 |
* http://www.oracle.com/technetwork/server-storage/solaris/portingtosolaris-138514.html |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
92 |
*/ |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
93 |
#define SHA1DC_BIGENDIAN |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
94 |
|
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
95 |
/* Not under GCC-alike or glibc or *BSD or newlib or <processor whitelist> */ |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
96 |
#elif (defined(_AIX) || defined(__hpux)) |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
97 |
|
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
98 |
/* |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
99 |
* Defines Big Endian on a whitelist of OSs that are known to be Big |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
100 |
* Endian-only. See |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
101 |
* https://public-inbox.org/git/93056823-2740-d072-1ebd-46b440b33d7e@felt.demon.nl/ |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
102 |
*/ |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
103 |
#define SHA1DC_BIGENDIAN |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
104 |
|
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
105 |
/* Not under GCC-alike or glibc or *BSD or newlib or <processor whitelist> or <os whitelist> */ |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
106 |
#elif defined(SHA1DC_ON_INTEL_LIKE_PROCESSOR) |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
107 |
/* |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
108 |
* As a last resort before we do anything else we're not 100% sure |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
109 |
* about below, we blacklist specific processors here. We could add |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
110 |
* more, see e.g. https://wiki.debian.org/ArchitectureSpecificsMemo |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
111 |
*/ |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
112 |
#else /* Not under GCC-alike or glibc or *BSD or newlib or <processor whitelist> or <os whitelist> or <processor blacklist> */ |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
113 |
|
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
114 |
/* We do nothing more here for now */ |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
115 |
/*#error "Uncomment this to see if you fall through all the detection"*/ |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
116 |
|
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
117 |
#endif /* Big Endian detection */ |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
118 |
|
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
119 |
#if (defined(SHA1DC_FORCE_LITTLEENDIAN) && defined(SHA1DC_BIGENDIAN)) |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
120 |
#undef SHA1DC_BIGENDIAN |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
121 |
#endif |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
122 |
#if (defined(SHA1DC_FORCE_BIGENDIAN) && !defined(SHA1DC_BIGENDIAN)) |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
123 |
#define SHA1DC_BIGENDIAN |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
124 |
#endif |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
125 |
/*ENDIANNESS SELECTION*/ |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
126 |
|
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
127 |
#ifndef SHA1DC_FORCE_ALIGNED_ACCESS |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
128 |
#if defined(SHA1DC_FORCE_UNALIGNED_ACCESS) || defined(SHA1DC_ON_INTEL_LIKE_PROCESSOR) |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
129 |
#define SHA1DC_ALLOW_UNALIGNED_ACCESS |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
130 |
#endif /*UNALIGNED ACCESS DETECTION*/ |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
131 |
#endif /*FORCE ALIGNED ACCESS*/ |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
132 |
|
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
133 |
#define rotate_right(x,n) (((x)>>(n))|((x)<<(32-(n)))) |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
134 |
#define rotate_left(x,n) (((x)<<(n))|((x)>>(32-(n)))) |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
135 |
|
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
136 |
#define sha1_bswap32(x) \ |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
137 |
{x = ((x << 8) & 0xFF00FF00) | ((x >> 8) & 0xFF00FF); x = (x << 16) | (x >> 16);} |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
138 |
|
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
139 |
#define sha1_mix(W, t) (rotate_left(W[t - 3] ^ W[t - 8] ^ W[t - 14] ^ W[t - 16], 1)) |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
140 |
|
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
141 |
#ifdef SHA1DC_BIGENDIAN |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
142 |
#define sha1_load(m, t, temp) { temp = m[t]; } |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
143 |
#else |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
144 |
#define sha1_load(m, t, temp) { temp = m[t]; sha1_bswap32(temp); } |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
145 |
#endif |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
146 |
|
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
147 |
#define sha1_store(W, t, x) *(volatile uint32_t *)&W[t] = x |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
148 |
|
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
149 |
#define sha1_f1(b,c,d) ((d)^((b)&((c)^(d)))) |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
150 |
#define sha1_f2(b,c,d) ((b)^(c)^(d)) |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
151 |
#define sha1_f3(b,c,d) (((b)&(c))+((d)&((b)^(c)))) |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
152 |
#define sha1_f4(b,c,d) ((b)^(c)^(d)) |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
153 |
|
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
154 |
#define HASHCLASH_SHA1COMPRESS_ROUND1_STEP(a, b, c, d, e, m, t) \ |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
155 |
{ e += rotate_left(a, 5) + sha1_f1(b,c,d) + 0x5A827999 + m[t]; b = rotate_left(b, 30); } |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
156 |
#define HASHCLASH_SHA1COMPRESS_ROUND2_STEP(a, b, c, d, e, m, t) \ |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
157 |
{ e += rotate_left(a, 5) + sha1_f2(b,c,d) + 0x6ED9EBA1 + m[t]; b = rotate_left(b, 30); } |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
158 |
#define HASHCLASH_SHA1COMPRESS_ROUND3_STEP(a, b, c, d, e, m, t) \ |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
159 |
{ e += rotate_left(a, 5) + sha1_f3(b,c,d) + 0x8F1BBCDC + m[t]; b = rotate_left(b, 30); } |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
160 |
#define HASHCLASH_SHA1COMPRESS_ROUND4_STEP(a, b, c, d, e, m, t) \ |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
161 |
{ e += rotate_left(a, 5) + sha1_f4(b,c,d) + 0xCA62C1D6 + m[t]; b = rotate_left(b, 30); } |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
162 |
|
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
163 |
#define HASHCLASH_SHA1COMPRESS_ROUND1_STEP_BW(a, b, c, d, e, m, t) \ |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
164 |
{ b = rotate_right(b, 30); e -= rotate_left(a, 5) + sha1_f1(b,c,d) + 0x5A827999 + m[t]; } |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
165 |
#define HASHCLASH_SHA1COMPRESS_ROUND2_STEP_BW(a, b, c, d, e, m, t) \ |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
166 |
{ b = rotate_right(b, 30); e -= rotate_left(a, 5) + sha1_f2(b,c,d) + 0x6ED9EBA1 + m[t]; } |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
167 |
#define HASHCLASH_SHA1COMPRESS_ROUND3_STEP_BW(a, b, c, d, e, m, t) \ |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
168 |
{ b = rotate_right(b, 30); e -= rotate_left(a, 5) + sha1_f3(b,c,d) + 0x8F1BBCDC + m[t]; } |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
169 |
#define HASHCLASH_SHA1COMPRESS_ROUND4_STEP_BW(a, b, c, d, e, m, t) \ |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
170 |
{ b = rotate_right(b, 30); e -= rotate_left(a, 5) + sha1_f4(b,c,d) + 0xCA62C1D6 + m[t]; } |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
171 |
|
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
172 |
#define SHA1COMPRESS_FULL_ROUND1_STEP_LOAD(a, b, c, d, e, m, W, t, temp) \ |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
173 |
{sha1_load(m, t, temp); sha1_store(W, t, temp); e += temp + rotate_left(a, 5) + sha1_f1(b,c,d) + 0x5A827999; b = rotate_left(b, 30);} |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
174 |
|
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
175 |
#define SHA1COMPRESS_FULL_ROUND1_STEP_EXPAND(a, b, c, d, e, W, t, temp) \ |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
176 |
{temp = sha1_mix(W, t); sha1_store(W, t, temp); e += temp + rotate_left(a, 5) + sha1_f1(b,c,d) + 0x5A827999; b = rotate_left(b, 30); } |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
177 |
|
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
178 |
#define SHA1COMPRESS_FULL_ROUND2_STEP(a, b, c, d, e, W, t, temp) \ |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
179 |
{temp = sha1_mix(W, t); sha1_store(W, t, temp); e += temp + rotate_left(a, 5) + sha1_f2(b,c,d) + 0x6ED9EBA1; b = rotate_left(b, 30); } |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
180 |
|
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
181 |
#define SHA1COMPRESS_FULL_ROUND3_STEP(a, b, c, d, e, W, t, temp) \ |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
182 |
{temp = sha1_mix(W, t); sha1_store(W, t, temp); e += temp + rotate_left(a, 5) + sha1_f3(b,c,d) + 0x8F1BBCDC; b = rotate_left(b, 30); } |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
183 |
|
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
184 |
#define SHA1COMPRESS_FULL_ROUND4_STEP(a, b, c, d, e, W, t, temp) \ |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
185 |
{temp = sha1_mix(W, t); sha1_store(W, t, temp); e += temp + rotate_left(a, 5) + sha1_f4(b,c,d) + 0xCA62C1D6; b = rotate_left(b, 30); } |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
186 |
|
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
187 |
|
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
188 |
#define SHA1_STORE_STATE(i) states[i][0] = a; states[i][1] = b; states[i][2] = c; states[i][3] = d; states[i][4] = e; |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
189 |
|
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
190 |
#ifdef BUILDNOCOLLDETECTSHA1COMPRESSION |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
191 |
void sha1_compression(uint32_t ihv[5], const uint32_t m[16]) |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
192 |
{ |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
193 |
uint32_t W[80]; |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
194 |
uint32_t a,b,c,d,e; |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
195 |
unsigned i; |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
196 |
|
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
197 |
memcpy(W, m, 16 * 4); |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
198 |
for (i = 16; i < 80; ++i) |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
199 |
W[i] = sha1_mix(W, i); |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
200 |
|
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
201 |
a = ihv[0]; b = ihv[1]; c = ihv[2]; d = ihv[3]; e = ihv[4]; |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
202 |
|
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
203 |
HASHCLASH_SHA1COMPRESS_ROUND1_STEP(a, b, c, d, e, W, 0); |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
204 |
HASHCLASH_SHA1COMPRESS_ROUND1_STEP(e, a, b, c, d, W, 1); |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
205 |
HASHCLASH_SHA1COMPRESS_ROUND1_STEP(d, e, a, b, c, W, 2); |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
206 |
HASHCLASH_SHA1COMPRESS_ROUND1_STEP(c, d, e, a, b, W, 3); |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
207 |
HASHCLASH_SHA1COMPRESS_ROUND1_STEP(b, c, d, e, a, W, 4); |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
208 |
HASHCLASH_SHA1COMPRESS_ROUND1_STEP(a, b, c, d, e, W, 5); |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
209 |
HASHCLASH_SHA1COMPRESS_ROUND1_STEP(e, a, b, c, d, W, 6); |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
210 |
HASHCLASH_SHA1COMPRESS_ROUND1_STEP(d, e, a, b, c, W, 7); |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
211 |
HASHCLASH_SHA1COMPRESS_ROUND1_STEP(c, d, e, a, b, W, 8); |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
212 |
HASHCLASH_SHA1COMPRESS_ROUND1_STEP(b, c, d, e, a, W, 9); |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
213 |
HASHCLASH_SHA1COMPRESS_ROUND1_STEP(a, b, c, d, e, W, 10); |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
214 |
HASHCLASH_SHA1COMPRESS_ROUND1_STEP(e, a, b, c, d, W, 11); |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
215 |
HASHCLASH_SHA1COMPRESS_ROUND1_STEP(d, e, a, b, c, W, 12); |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
216 |
HASHCLASH_SHA1COMPRESS_ROUND1_STEP(c, d, e, a, b, W, 13); |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
217 |
HASHCLASH_SHA1COMPRESS_ROUND1_STEP(b, c, d, e, a, W, 14); |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
218 |
HASHCLASH_SHA1COMPRESS_ROUND1_STEP(a, b, c, d, e, W, 15); |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
219 |
HASHCLASH_SHA1COMPRESS_ROUND1_STEP(e, a, b, c, d, W, 16); |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
220 |
HASHCLASH_SHA1COMPRESS_ROUND1_STEP(d, e, a, b, c, W, 17); |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
221 |
HASHCLASH_SHA1COMPRESS_ROUND1_STEP(c, d, e, a, b, W, 18); |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
222 |
HASHCLASH_SHA1COMPRESS_ROUND1_STEP(b, c, d, e, a, W, 19); |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
223 |
|
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
224 |
HASHCLASH_SHA1COMPRESS_ROUND2_STEP(a, b, c, d, e, W, 20); |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
225 |
HASHCLASH_SHA1COMPRESS_ROUND2_STEP(e, a, b, c, d, W, 21); |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
226 |
HASHCLASH_SHA1COMPRESS_ROUND2_STEP(d, e, a, b, c, W, 22); |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
227 |
HASHCLASH_SHA1COMPRESS_ROUND2_STEP(c, d, e, a, b, W, 23); |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
228 |
HASHCLASH_SHA1COMPRESS_ROUND2_STEP(b, c, d, e, a, W, 24); |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
229 |
HASHCLASH_SHA1COMPRESS_ROUND2_STEP(a, b, c, d, e, W, 25); |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
230 |
HASHCLASH_SHA1COMPRESS_ROUND2_STEP(e, a, b, c, d, W, 26); |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
231 |
HASHCLASH_SHA1COMPRESS_ROUND2_STEP(d, e, a, b, c, W, 27); |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
232 |
HASHCLASH_SHA1COMPRESS_ROUND2_STEP(c, d, e, a, b, W, 28); |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
233 |
HASHCLASH_SHA1COMPRESS_ROUND2_STEP(b, c, d, e, a, W, 29); |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
234 |
HASHCLASH_SHA1COMPRESS_ROUND2_STEP(a, b, c, d, e, W, 30); |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
235 |
HASHCLASH_SHA1COMPRESS_ROUND2_STEP(e, a, b, c, d, W, 31); |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
236 |
HASHCLASH_SHA1COMPRESS_ROUND2_STEP(d, e, a, b, c, W, 32); |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
237 |
HASHCLASH_SHA1COMPRESS_ROUND2_STEP(c, d, e, a, b, W, 33); |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
238 |
HASHCLASH_SHA1COMPRESS_ROUND2_STEP(b, c, d, e, a, W, 34); |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
239 |
HASHCLASH_SHA1COMPRESS_ROUND2_STEP(a, b, c, d, e, W, 35); |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
240 |
HASHCLASH_SHA1COMPRESS_ROUND2_STEP(e, a, b, c, d, W, 36); |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
241 |
HASHCLASH_SHA1COMPRESS_ROUND2_STEP(d, e, a, b, c, W, 37); |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
242 |
HASHCLASH_SHA1COMPRESS_ROUND2_STEP(c, d, e, a, b, W, 38); |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
243 |
HASHCLASH_SHA1COMPRESS_ROUND2_STEP(b, c, d, e, a, W, 39); |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
244 |
|
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
245 |
HASHCLASH_SHA1COMPRESS_ROUND3_STEP(a, b, c, d, e, W, 40); |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
246 |
HASHCLASH_SHA1COMPRESS_ROUND3_STEP(e, a, b, c, d, W, 41); |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
247 |
HASHCLASH_SHA1COMPRESS_ROUND3_STEP(d, e, a, b, c, W, 42); |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
248 |
HASHCLASH_SHA1COMPRESS_ROUND3_STEP(c, d, e, a, b, W, 43); |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
249 |
HASHCLASH_SHA1COMPRESS_ROUND3_STEP(b, c, d, e, a, W, 44); |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
250 |
HASHCLASH_SHA1COMPRESS_ROUND3_STEP(a, b, c, d, e, W, 45); |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
251 |
HASHCLASH_SHA1COMPRESS_ROUND3_STEP(e, a, b, c, d, W, 46); |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
252 |
HASHCLASH_SHA1COMPRESS_ROUND3_STEP(d, e, a, b, c, W, 47); |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
253 |
HASHCLASH_SHA1COMPRESS_ROUND3_STEP(c, d, e, a, b, W, 48); |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
254 |
HASHCLASH_SHA1COMPRESS_ROUND3_STEP(b, c, d, e, a, W, 49); |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
255 |
HASHCLASH_SHA1COMPRESS_ROUND3_STEP(a, b, c, d, e, W, 50); |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
256 |
HASHCLASH_SHA1COMPRESS_ROUND3_STEP(e, a, b, c, d, W, 51); |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
257 |
HASHCLASH_SHA1COMPRESS_ROUND3_STEP(d, e, a, b, c, W, 52); |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
258 |
HASHCLASH_SHA1COMPRESS_ROUND3_STEP(c, d, e, a, b, W, 53); |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
259 |
HASHCLASH_SHA1COMPRESS_ROUND3_STEP(b, c, d, e, a, W, 54); |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
260 |
HASHCLASH_SHA1COMPRESS_ROUND3_STEP(a, b, c, d, e, W, 55); |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
261 |
HASHCLASH_SHA1COMPRESS_ROUND3_STEP(e, a, b, c, d, W, 56); |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
262 |
HASHCLASH_SHA1COMPRESS_ROUND3_STEP(d, e, a, b, c, W, 57); |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
263 |
HASHCLASH_SHA1COMPRESS_ROUND3_STEP(c, d, e, a, b, W, 58); |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
264 |
HASHCLASH_SHA1COMPRESS_ROUND3_STEP(b, c, d, e, a, W, 59); |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
265 |
|
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
266 |
HASHCLASH_SHA1COMPRESS_ROUND4_STEP(a, b, c, d, e, W, 60); |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
267 |
HASHCLASH_SHA1COMPRESS_ROUND4_STEP(e, a, b, c, d, W, 61); |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
268 |
HASHCLASH_SHA1COMPRESS_ROUND4_STEP(d, e, a, b, c, W, 62); |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
269 |
HASHCLASH_SHA1COMPRESS_ROUND4_STEP(c, d, e, a, b, W, 63); |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
270 |
HASHCLASH_SHA1COMPRESS_ROUND4_STEP(b, c, d, e, a, W, 64); |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
271 |
HASHCLASH_SHA1COMPRESS_ROUND4_STEP(a, b, c, d, e, W, 65); |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
272 |
HASHCLASH_SHA1COMPRESS_ROUND4_STEP(e, a, b, c, d, W, 66); |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
273 |
HASHCLASH_SHA1COMPRESS_ROUND4_STEP(d, e, a, b, c, W, 67); |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
274 |
HASHCLASH_SHA1COMPRESS_ROUND4_STEP(c, d, e, a, b, W, 68); |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
275 |
HASHCLASH_SHA1COMPRESS_ROUND4_STEP(b, c, d, e, a, W, 69); |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
276 |
HASHCLASH_SHA1COMPRESS_ROUND4_STEP(a, b, c, d, e, W, 70); |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
277 |
HASHCLASH_SHA1COMPRESS_ROUND4_STEP(e, a, b, c, d, W, 71); |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
278 |
HASHCLASH_SHA1COMPRESS_ROUND4_STEP(d, e, a, b, c, W, 72); |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
279 |
HASHCLASH_SHA1COMPRESS_ROUND4_STEP(c, d, e, a, b, W, 73); |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
280 |
HASHCLASH_SHA1COMPRESS_ROUND4_STEP(b, c, d, e, a, W, 74); |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
281 |
HASHCLASH_SHA1COMPRESS_ROUND4_STEP(a, b, c, d, e, W, 75); |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
282 |
HASHCLASH_SHA1COMPRESS_ROUND4_STEP(e, a, b, c, d, W, 76); |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
283 |
HASHCLASH_SHA1COMPRESS_ROUND4_STEP(d, e, a, b, c, W, 77); |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
284 |
HASHCLASH_SHA1COMPRESS_ROUND4_STEP(c, d, e, a, b, W, 78); |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
285 |
HASHCLASH_SHA1COMPRESS_ROUND4_STEP(b, c, d, e, a, W, 79); |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
286 |
|
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
287 |
ihv[0] += a; ihv[1] += b; ihv[2] += c; ihv[3] += d; ihv[4] += e; |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
288 |
} |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
289 |
#endif /*BUILDNOCOLLDETECTSHA1COMPRESSION*/ |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
290 |
|
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
291 |
|
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
292 |
static void sha1_compression_W(uint32_t ihv[5], const uint32_t W[80]) |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
293 |
{ |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
294 |
uint32_t a = ihv[0], b = ihv[1], c = ihv[2], d = ihv[3], e = ihv[4]; |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
295 |
|
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
296 |
HASHCLASH_SHA1COMPRESS_ROUND1_STEP(a, b, c, d, e, W, 0); |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
297 |
HASHCLASH_SHA1COMPRESS_ROUND1_STEP(e, a, b, c, d, W, 1); |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
298 |
HASHCLASH_SHA1COMPRESS_ROUND1_STEP(d, e, a, b, c, W, 2); |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
299 |
HASHCLASH_SHA1COMPRESS_ROUND1_STEP(c, d, e, a, b, W, 3); |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
300 |
HASHCLASH_SHA1COMPRESS_ROUND1_STEP(b, c, d, e, a, W, 4); |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
301 |
HASHCLASH_SHA1COMPRESS_ROUND1_STEP(a, b, c, d, e, W, 5); |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
302 |
HASHCLASH_SHA1COMPRESS_ROUND1_STEP(e, a, b, c, d, W, 6); |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
303 |
HASHCLASH_SHA1COMPRESS_ROUND1_STEP(d, e, a, b, c, W, 7); |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
304 |
HASHCLASH_SHA1COMPRESS_ROUND1_STEP(c, d, e, a, b, W, 8); |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
305 |
HASHCLASH_SHA1COMPRESS_ROUND1_STEP(b, c, d, e, a, W, 9); |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
306 |
HASHCLASH_SHA1COMPRESS_ROUND1_STEP(a, b, c, d, e, W, 10); |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
307 |
HASHCLASH_SHA1COMPRESS_ROUND1_STEP(e, a, b, c, d, W, 11); |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
308 |
HASHCLASH_SHA1COMPRESS_ROUND1_STEP(d, e, a, b, c, W, 12); |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
309 |
HASHCLASH_SHA1COMPRESS_ROUND1_STEP(c, d, e, a, b, W, 13); |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
310 |
HASHCLASH_SHA1COMPRESS_ROUND1_STEP(b, c, d, e, a, W, 14); |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
311 |
HASHCLASH_SHA1COMPRESS_ROUND1_STEP(a, b, c, d, e, W, 15); |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
312 |
HASHCLASH_SHA1COMPRESS_ROUND1_STEP(e, a, b, c, d, W, 16); |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
313 |
HASHCLASH_SHA1COMPRESS_ROUND1_STEP(d, e, a, b, c, W, 17); |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
314 |
HASHCLASH_SHA1COMPRESS_ROUND1_STEP(c, d, e, a, b, W, 18); |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
315 |
HASHCLASH_SHA1COMPRESS_ROUND1_STEP(b, c, d, e, a, W, 19); |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
316 |
|
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
317 |
HASHCLASH_SHA1COMPRESS_ROUND2_STEP(a, b, c, d, e, W, 20); |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
318 |
HASHCLASH_SHA1COMPRESS_ROUND2_STEP(e, a, b, c, d, W, 21); |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
319 |
HASHCLASH_SHA1COMPRESS_ROUND2_STEP(d, e, a, b, c, W, 22); |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
320 |
HASHCLASH_SHA1COMPRESS_ROUND2_STEP(c, d, e, a, b, W, 23); |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
321 |
HASHCLASH_SHA1COMPRESS_ROUND2_STEP(b, c, d, e, a, W, 24); |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
322 |
HASHCLASH_SHA1COMPRESS_ROUND2_STEP(a, b, c, d, e, W, 25); |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
323 |
HASHCLASH_SHA1COMPRESS_ROUND2_STEP(e, a, b, c, d, W, 26); |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
324 |
HASHCLASH_SHA1COMPRESS_ROUND2_STEP(d, e, a, b, c, W, 27); |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
325 |
HASHCLASH_SHA1COMPRESS_ROUND2_STEP(c, d, e, a, b, W, 28); |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
326 |
HASHCLASH_SHA1COMPRESS_ROUND2_STEP(b, c, d, e, a, W, 29); |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
327 |
HASHCLASH_SHA1COMPRESS_ROUND2_STEP(a, b, c, d, e, W, 30); |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
328 |
HASHCLASH_SHA1COMPRESS_ROUND2_STEP(e, a, b, c, d, W, 31); |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
329 |
HASHCLASH_SHA1COMPRESS_ROUND2_STEP(d, e, a, b, c, W, 32); |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
330 |
HASHCLASH_SHA1COMPRESS_ROUND2_STEP(c, d, e, a, b, W, 33); |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
331 |
HASHCLASH_SHA1COMPRESS_ROUND2_STEP(b, c, d, e, a, W, 34); |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
332 |
HASHCLASH_SHA1COMPRESS_ROUND2_STEP(a, b, c, d, e, W, 35); |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
333 |
HASHCLASH_SHA1COMPRESS_ROUND2_STEP(e, a, b, c, d, W, 36); |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
334 |
HASHCLASH_SHA1COMPRESS_ROUND2_STEP(d, e, a, b, c, W, 37); |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
335 |
HASHCLASH_SHA1COMPRESS_ROUND2_STEP(c, d, e, a, b, W, 38); |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
336 |
HASHCLASH_SHA1COMPRESS_ROUND2_STEP(b, c, d, e, a, W, 39); |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
337 |
|
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
338 |
HASHCLASH_SHA1COMPRESS_ROUND3_STEP(a, b, c, d, e, W, 40); |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
339 |
HASHCLASH_SHA1COMPRESS_ROUND3_STEP(e, a, b, c, d, W, 41); |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
340 |
HASHCLASH_SHA1COMPRESS_ROUND3_STEP(d, e, a, b, c, W, 42); |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
341 |
HASHCLASH_SHA1COMPRESS_ROUND3_STEP(c, d, e, a, b, W, 43); |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
342 |
HASHCLASH_SHA1COMPRESS_ROUND3_STEP(b, c, d, e, a, W, 44); |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
343 |
HASHCLASH_SHA1COMPRESS_ROUND3_STEP(a, b, c, d, e, W, 45); |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
344 |
HASHCLASH_SHA1COMPRESS_ROUND3_STEP(e, a, b, c, d, W, 46); |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
345 |
HASHCLASH_SHA1COMPRESS_ROUND3_STEP(d, e, a, b, c, W, 47); |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
346 |
HASHCLASH_SHA1COMPRESS_ROUND3_STEP(c, d, e, a, b, W, 48); |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
347 |
HASHCLASH_SHA1COMPRESS_ROUND3_STEP(b, c, d, e, a, W, 49); |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
348 |
HASHCLASH_SHA1COMPRESS_ROUND3_STEP(a, b, c, d, e, W, 50); |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
349 |
HASHCLASH_SHA1COMPRESS_ROUND3_STEP(e, a, b, c, d, W, 51); |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
350 |
HASHCLASH_SHA1COMPRESS_ROUND3_STEP(d, e, a, b, c, W, 52); |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
351 |
HASHCLASH_SHA1COMPRESS_ROUND3_STEP(c, d, e, a, b, W, 53); |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
352 |
HASHCLASH_SHA1COMPRESS_ROUND3_STEP(b, c, d, e, a, W, 54); |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
353 |
HASHCLASH_SHA1COMPRESS_ROUND3_STEP(a, b, c, d, e, W, 55); |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
354 |
HASHCLASH_SHA1COMPRESS_ROUND3_STEP(e, a, b, c, d, W, 56); |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
355 |
HASHCLASH_SHA1COMPRESS_ROUND3_STEP(d, e, a, b, c, W, 57); |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
356 |
HASHCLASH_SHA1COMPRESS_ROUND3_STEP(c, d, e, a, b, W, 58); |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
357 |
HASHCLASH_SHA1COMPRESS_ROUND3_STEP(b, c, d, e, a, W, 59); |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
358 |
|
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
359 |
HASHCLASH_SHA1COMPRESS_ROUND4_STEP(a, b, c, d, e, W, 60); |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
360 |
HASHCLASH_SHA1COMPRESS_ROUND4_STEP(e, a, b, c, d, W, 61); |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
361 |
HASHCLASH_SHA1COMPRESS_ROUND4_STEP(d, e, a, b, c, W, 62); |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
362 |
HASHCLASH_SHA1COMPRESS_ROUND4_STEP(c, d, e, a, b, W, 63); |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
363 |
HASHCLASH_SHA1COMPRESS_ROUND4_STEP(b, c, d, e, a, W, 64); |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
364 |
HASHCLASH_SHA1COMPRESS_ROUND4_STEP(a, b, c, d, e, W, 65); |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
365 |
HASHCLASH_SHA1COMPRESS_ROUND4_STEP(e, a, b, c, d, W, 66); |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
366 |
HASHCLASH_SHA1COMPRESS_ROUND4_STEP(d, e, a, b, c, W, 67); |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
367 |
HASHCLASH_SHA1COMPRESS_ROUND4_STEP(c, d, e, a, b, W, 68); |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
368 |
HASHCLASH_SHA1COMPRESS_ROUND4_STEP(b, c, d, e, a, W, 69); |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
369 |
HASHCLASH_SHA1COMPRESS_ROUND4_STEP(a, b, c, d, e, W, 70); |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
370 |
HASHCLASH_SHA1COMPRESS_ROUND4_STEP(e, a, b, c, d, W, 71); |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
371 |
HASHCLASH_SHA1COMPRESS_ROUND4_STEP(d, e, a, b, c, W, 72); |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
372 |
HASHCLASH_SHA1COMPRESS_ROUND4_STEP(c, d, e, a, b, W, 73); |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
373 |
HASHCLASH_SHA1COMPRESS_ROUND4_STEP(b, c, d, e, a, W, 74); |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
374 |
HASHCLASH_SHA1COMPRESS_ROUND4_STEP(a, b, c, d, e, W, 75); |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
375 |
HASHCLASH_SHA1COMPRESS_ROUND4_STEP(e, a, b, c, d, W, 76); |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
376 |
HASHCLASH_SHA1COMPRESS_ROUND4_STEP(d, e, a, b, c, W, 77); |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
377 |
HASHCLASH_SHA1COMPRESS_ROUND4_STEP(c, d, e, a, b, W, 78); |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
378 |
HASHCLASH_SHA1COMPRESS_ROUND4_STEP(b, c, d, e, a, W, 79); |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
379 |
|
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
380 |
ihv[0] += a; ihv[1] += b; ihv[2] += c; ihv[3] += d; ihv[4] += e; |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
381 |
} |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
382 |
|
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
383 |
|
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
384 |
|
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
385 |
void sha1_compression_states(uint32_t ihv[5], const uint32_t m[16], uint32_t W[80], uint32_t states[80][5]) |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
386 |
{ |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
387 |
uint32_t a = ihv[0], b = ihv[1], c = ihv[2], d = ihv[3], e = ihv[4]; |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
388 |
uint32_t temp; |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
389 |
|
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
390 |
#ifdef DOSTORESTATE00 |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
391 |
SHA1_STORE_STATE(0) |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
392 |
#endif |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
393 |
SHA1COMPRESS_FULL_ROUND1_STEP_LOAD(a, b, c, d, e, m, W, 0, temp); |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
394 |
|
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
395 |
#ifdef DOSTORESTATE01 |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
396 |
SHA1_STORE_STATE(1) |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
397 |
#endif |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
398 |
SHA1COMPRESS_FULL_ROUND1_STEP_LOAD(e, a, b, c, d, m, W, 1, temp); |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
399 |
|
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
400 |
#ifdef DOSTORESTATE02 |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
401 |
SHA1_STORE_STATE(2) |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
402 |
#endif |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
403 |
SHA1COMPRESS_FULL_ROUND1_STEP_LOAD(d, e, a, b, c, m, W, 2, temp); |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
404 |
|
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
405 |
#ifdef DOSTORESTATE03 |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
406 |
SHA1_STORE_STATE(3) |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
407 |
#endif |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
408 |
SHA1COMPRESS_FULL_ROUND1_STEP_LOAD(c, d, e, a, b, m, W, 3, temp); |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
409 |
|
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
410 |
#ifdef DOSTORESTATE04 |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
411 |
SHA1_STORE_STATE(4) |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
412 |
#endif |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
413 |
SHA1COMPRESS_FULL_ROUND1_STEP_LOAD(b, c, d, e, a, m, W, 4, temp); |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
414 |
|
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
415 |
#ifdef DOSTORESTATE05 |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
416 |
SHA1_STORE_STATE(5) |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
417 |
#endif |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
418 |
SHA1COMPRESS_FULL_ROUND1_STEP_LOAD(a, b, c, d, e, m, W, 5, temp); |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
419 |
|
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
420 |
#ifdef DOSTORESTATE06 |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
421 |
SHA1_STORE_STATE(6) |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
422 |
#endif |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
423 |
SHA1COMPRESS_FULL_ROUND1_STEP_LOAD(e, a, b, c, d, m, W, 6, temp); |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
424 |
|
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
425 |
#ifdef DOSTORESTATE07 |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
426 |
SHA1_STORE_STATE(7) |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
427 |
#endif |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
428 |
SHA1COMPRESS_FULL_ROUND1_STEP_LOAD(d, e, a, b, c, m, W, 7, temp); |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
429 |
|
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
430 |
#ifdef DOSTORESTATE08 |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
431 |
SHA1_STORE_STATE(8) |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
432 |
#endif |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
433 |
SHA1COMPRESS_FULL_ROUND1_STEP_LOAD(c, d, e, a, b, m, W, 8, temp); |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
434 |
|
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
435 |
#ifdef DOSTORESTATE09 |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
436 |
SHA1_STORE_STATE(9) |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
437 |
#endif |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
438 |
SHA1COMPRESS_FULL_ROUND1_STEP_LOAD(b, c, d, e, a, m, W, 9, temp); |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
439 |
|
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
440 |
#ifdef DOSTORESTATE10 |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
441 |
SHA1_STORE_STATE(10) |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
442 |
#endif |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
443 |
SHA1COMPRESS_FULL_ROUND1_STEP_LOAD(a, b, c, d, e, m, W, 10, temp); |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
444 |
|
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
445 |
#ifdef DOSTORESTATE11 |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
446 |
SHA1_STORE_STATE(11) |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
447 |
#endif |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
448 |
SHA1COMPRESS_FULL_ROUND1_STEP_LOAD(e, a, b, c, d, m, W, 11, temp); |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
449 |
|
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
450 |
#ifdef DOSTORESTATE12 |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
451 |
SHA1_STORE_STATE(12) |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
452 |
#endif |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
453 |
SHA1COMPRESS_FULL_ROUND1_STEP_LOAD(d, e, a, b, c, m, W, 12, temp); |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
454 |
|
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
455 |
#ifdef DOSTORESTATE13 |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
456 |
SHA1_STORE_STATE(13) |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
457 |
#endif |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
458 |
SHA1COMPRESS_FULL_ROUND1_STEP_LOAD(c, d, e, a, b, m, W, 13, temp); |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
459 |
|
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
460 |
#ifdef DOSTORESTATE14 |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
461 |
SHA1_STORE_STATE(14) |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
462 |
#endif |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
463 |
SHA1COMPRESS_FULL_ROUND1_STEP_LOAD(b, c, d, e, a, m, W, 14, temp); |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
464 |
|
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
465 |
#ifdef DOSTORESTATE15 |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
466 |
SHA1_STORE_STATE(15) |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
467 |
#endif |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
468 |
SHA1COMPRESS_FULL_ROUND1_STEP_LOAD(a, b, c, d, e, m, W, 15, temp); |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
469 |
|
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
470 |
#ifdef DOSTORESTATE16 |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
471 |
SHA1_STORE_STATE(16) |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
472 |
#endif |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
473 |
SHA1COMPRESS_FULL_ROUND1_STEP_EXPAND(e, a, b, c, d, W, 16, temp); |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
474 |
|
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
475 |
#ifdef DOSTORESTATE17 |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
476 |
SHA1_STORE_STATE(17) |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
477 |
#endif |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
478 |
SHA1COMPRESS_FULL_ROUND1_STEP_EXPAND(d, e, a, b, c, W, 17, temp); |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
479 |
|
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
480 |
#ifdef DOSTORESTATE18 |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
481 |
SHA1_STORE_STATE(18) |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
482 |
#endif |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
483 |
SHA1COMPRESS_FULL_ROUND1_STEP_EXPAND(c, d, e, a, b, W, 18, temp); |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
484 |
|
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
485 |
#ifdef DOSTORESTATE19 |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
486 |
SHA1_STORE_STATE(19) |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
487 |
#endif |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
488 |
SHA1COMPRESS_FULL_ROUND1_STEP_EXPAND(b, c, d, e, a, W, 19, temp); |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
489 |
|
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
490 |
|
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
491 |
|
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
492 |
#ifdef DOSTORESTATE20 |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
493 |
SHA1_STORE_STATE(20) |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
494 |
#endif |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
495 |
SHA1COMPRESS_FULL_ROUND2_STEP(a, b, c, d, e, W, 20, temp); |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
496 |
|
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
497 |
#ifdef DOSTORESTATE21 |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
498 |
SHA1_STORE_STATE(21) |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
499 |
#endif |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
500 |
SHA1COMPRESS_FULL_ROUND2_STEP(e, a, b, c, d, W, 21, temp); |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
501 |
|
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
502 |
#ifdef DOSTORESTATE22 |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
503 |
SHA1_STORE_STATE(22) |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
504 |
#endif |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
505 |
SHA1COMPRESS_FULL_ROUND2_STEP(d, e, a, b, c, W, 22, temp); |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
506 |
|
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
507 |
#ifdef DOSTORESTATE23 |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
508 |
SHA1_STORE_STATE(23) |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
509 |
#endif |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
510 |
SHA1COMPRESS_FULL_ROUND2_STEP(c, d, e, a, b, W, 23, temp); |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
511 |
|
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
512 |
#ifdef DOSTORESTATE24 |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
513 |
SHA1_STORE_STATE(24) |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
514 |
#endif |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
515 |
SHA1COMPRESS_FULL_ROUND2_STEP(b, c, d, e, a, W, 24, temp); |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
516 |
|
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
517 |
#ifdef DOSTORESTATE25 |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
518 |
SHA1_STORE_STATE(25) |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
519 |
#endif |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
520 |
SHA1COMPRESS_FULL_ROUND2_STEP(a, b, c, d, e, W, 25, temp); |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
521 |
|
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
522 |
#ifdef DOSTORESTATE26 |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
523 |
SHA1_STORE_STATE(26) |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
524 |
#endif |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
525 |
SHA1COMPRESS_FULL_ROUND2_STEP(e, a, b, c, d, W, 26, temp); |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
526 |
|
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
527 |
#ifdef DOSTORESTATE27 |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
528 |
SHA1_STORE_STATE(27) |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
529 |
#endif |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
530 |
SHA1COMPRESS_FULL_ROUND2_STEP(d, e, a, b, c, W, 27, temp); |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
531 |
|
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
532 |
#ifdef DOSTORESTATE28 |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
533 |
SHA1_STORE_STATE(28) |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
534 |
#endif |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
535 |
SHA1COMPRESS_FULL_ROUND2_STEP(c, d, e, a, b, W, 28, temp); |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
536 |
|
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
537 |
#ifdef DOSTORESTATE29 |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
538 |
SHA1_STORE_STATE(29) |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
539 |
#endif |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
540 |
SHA1COMPRESS_FULL_ROUND2_STEP(b, c, d, e, a, W, 29, temp); |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
541 |
|
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
542 |
#ifdef DOSTORESTATE30 |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
543 |
SHA1_STORE_STATE(30) |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
544 |
#endif |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
545 |
SHA1COMPRESS_FULL_ROUND2_STEP(a, b, c, d, e, W, 30, temp); |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
546 |
|
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
547 |
#ifdef DOSTORESTATE31 |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
548 |
SHA1_STORE_STATE(31) |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
549 |
#endif |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
550 |
SHA1COMPRESS_FULL_ROUND2_STEP(e, a, b, c, d, W, 31, temp); |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
551 |
|
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
552 |
#ifdef DOSTORESTATE32 |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
553 |
SHA1_STORE_STATE(32) |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
554 |
#endif |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
555 |
SHA1COMPRESS_FULL_ROUND2_STEP(d, e, a, b, c, W, 32, temp); |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
556 |
|
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
557 |
#ifdef DOSTORESTATE33 |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
558 |
SHA1_STORE_STATE(33) |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
559 |
#endif |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
560 |
SHA1COMPRESS_FULL_ROUND2_STEP(c, d, e, a, b, W, 33, temp); |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
561 |
|
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
562 |
#ifdef DOSTORESTATE34 |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
563 |
SHA1_STORE_STATE(34) |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
564 |
#endif |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
565 |
SHA1COMPRESS_FULL_ROUND2_STEP(b, c, d, e, a, W, 34, temp); |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
566 |
|
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
567 |
#ifdef DOSTORESTATE35 |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
568 |
SHA1_STORE_STATE(35) |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
569 |
#endif |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
570 |
SHA1COMPRESS_FULL_ROUND2_STEP(a, b, c, d, e, W, 35, temp); |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
571 |
|
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
572 |
#ifdef DOSTORESTATE36 |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
573 |
SHA1_STORE_STATE(36) |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
574 |
#endif |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
575 |
SHA1COMPRESS_FULL_ROUND2_STEP(e, a, b, c, d, W, 36, temp); |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
576 |
|
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
577 |
#ifdef DOSTORESTATE37 |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
578 |
SHA1_STORE_STATE(37) |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
579 |
#endif |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
580 |
SHA1COMPRESS_FULL_ROUND2_STEP(d, e, a, b, c, W, 37, temp); |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
581 |
|
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
582 |
#ifdef DOSTORESTATE38 |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
583 |
SHA1_STORE_STATE(38) |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
584 |
#endif |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
585 |
SHA1COMPRESS_FULL_ROUND2_STEP(c, d, e, a, b, W, 38, temp); |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
586 |
|
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
587 |
#ifdef DOSTORESTATE39 |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
588 |
SHA1_STORE_STATE(39) |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
589 |
#endif |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
590 |
SHA1COMPRESS_FULL_ROUND2_STEP(b, c, d, e, a, W, 39, temp); |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
591 |
|
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
592 |
|
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
593 |
|
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
594 |
#ifdef DOSTORESTATE40 |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
595 |
SHA1_STORE_STATE(40) |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
596 |
#endif |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
597 |
SHA1COMPRESS_FULL_ROUND3_STEP(a, b, c, d, e, W, 40, temp); |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
598 |
|
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
599 |
#ifdef DOSTORESTATE41 |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
600 |
SHA1_STORE_STATE(41) |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
601 |
#endif |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
602 |
SHA1COMPRESS_FULL_ROUND3_STEP(e, a, b, c, d, W, 41, temp); |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
603 |
|
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
604 |
#ifdef DOSTORESTATE42 |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
605 |
SHA1_STORE_STATE(42) |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
606 |
#endif |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
607 |
SHA1COMPRESS_FULL_ROUND3_STEP(d, e, a, b, c, W, 42, temp); |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
608 |
|
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
609 |
#ifdef DOSTORESTATE43 |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
610 |
SHA1_STORE_STATE(43) |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
611 |
#endif |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
612 |
SHA1COMPRESS_FULL_ROUND3_STEP(c, d, e, a, b, W, 43, temp); |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
613 |
|
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
614 |
#ifdef DOSTORESTATE44 |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
615 |
SHA1_STORE_STATE(44) |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
616 |
#endif |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
617 |
SHA1COMPRESS_FULL_ROUND3_STEP(b, c, d, e, a, W, 44, temp); |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
618 |
|
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
619 |
#ifdef DOSTORESTATE45 |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
620 |
SHA1_STORE_STATE(45) |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
621 |
#endif |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
622 |
SHA1COMPRESS_FULL_ROUND3_STEP(a, b, c, d, e, W, 45, temp); |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
623 |
|
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
624 |
#ifdef DOSTORESTATE46 |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
625 |
SHA1_STORE_STATE(46) |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
626 |
#endif |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
627 |
SHA1COMPRESS_FULL_ROUND3_STEP(e, a, b, c, d, W, 46, temp); |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
628 |
|
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
629 |
#ifdef DOSTORESTATE47 |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
630 |
SHA1_STORE_STATE(47) |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
631 |
#endif |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
632 |
SHA1COMPRESS_FULL_ROUND3_STEP(d, e, a, b, c, W, 47, temp); |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
633 |
|
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
634 |
#ifdef DOSTORESTATE48 |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
635 |
SHA1_STORE_STATE(48) |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
636 |
#endif |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
637 |
SHA1COMPRESS_FULL_ROUND3_STEP(c, d, e, a, b, W, 48, temp); |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
638 |
|
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
639 |
#ifdef DOSTORESTATE49 |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
640 |
SHA1_STORE_STATE(49) |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
641 |
#endif |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
642 |
SHA1COMPRESS_FULL_ROUND3_STEP(b, c, d, e, a, W, 49, temp); |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
643 |
|
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
644 |
#ifdef DOSTORESTATE50 |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
645 |
SHA1_STORE_STATE(50) |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
646 |
#endif |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
647 |
SHA1COMPRESS_FULL_ROUND3_STEP(a, b, c, d, e, W, 50, temp); |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
648 |
|
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
649 |
#ifdef DOSTORESTATE51 |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
650 |
SHA1_STORE_STATE(51) |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
651 |
#endif |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
652 |
SHA1COMPRESS_FULL_ROUND3_STEP(e, a, b, c, d, W, 51, temp); |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
653 |
|
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
654 |
#ifdef DOSTORESTATE52 |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
655 |
SHA1_STORE_STATE(52) |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
656 |
#endif |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
657 |
SHA1COMPRESS_FULL_ROUND3_STEP(d, e, a, b, c, W, 52, temp); |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
658 |
|
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
659 |
#ifdef DOSTORESTATE53 |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
660 |
SHA1_STORE_STATE(53) |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
661 |
#endif |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
662 |
SHA1COMPRESS_FULL_ROUND3_STEP(c, d, e, a, b, W, 53, temp); |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
663 |
|
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
664 |
#ifdef DOSTORESTATE54 |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
665 |
SHA1_STORE_STATE(54) |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
666 |
#endif |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
667 |
SHA1COMPRESS_FULL_ROUND3_STEP(b, c, d, e, a, W, 54, temp); |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
668 |
|
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
669 |
#ifdef DOSTORESTATE55 |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
670 |
SHA1_STORE_STATE(55) |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
671 |
#endif |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
672 |
SHA1COMPRESS_FULL_ROUND3_STEP(a, b, c, d, e, W, 55, temp); |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
673 |
|
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
674 |
#ifdef DOSTORESTATE56 |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
675 |
SHA1_STORE_STATE(56) |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
676 |
#endif |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
677 |
SHA1COMPRESS_FULL_ROUND3_STEP(e, a, b, c, d, W, 56, temp); |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
678 |
|
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
679 |
#ifdef DOSTORESTATE57 |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
680 |
SHA1_STORE_STATE(57) |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
681 |
#endif |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
682 |
SHA1COMPRESS_FULL_ROUND3_STEP(d, e, a, b, c, W, 57, temp); |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
683 |
|
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
684 |
#ifdef DOSTORESTATE58 |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
685 |
SHA1_STORE_STATE(58) |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
686 |
#endif |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
687 |
SHA1COMPRESS_FULL_ROUND3_STEP(c, d, e, a, b, W, 58, temp); |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
688 |
|
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
689 |
#ifdef DOSTORESTATE59 |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
690 |
SHA1_STORE_STATE(59) |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
691 |
#endif |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
692 |
SHA1COMPRESS_FULL_ROUND3_STEP(b, c, d, e, a, W, 59, temp); |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
693 |
|
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
694 |
|
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
695 |
|
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
696 |
|
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
697 |
#ifdef DOSTORESTATE60 |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
698 |
SHA1_STORE_STATE(60) |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
699 |
#endif |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
700 |
SHA1COMPRESS_FULL_ROUND4_STEP(a, b, c, d, e, W, 60, temp); |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
701 |
|
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
702 |
#ifdef DOSTORESTATE61 |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
703 |
SHA1_STORE_STATE(61) |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
704 |
#endif |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
705 |
SHA1COMPRESS_FULL_ROUND4_STEP(e, a, b, c, d, W, 61, temp); |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
706 |
|
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
707 |
#ifdef DOSTORESTATE62 |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
708 |
SHA1_STORE_STATE(62) |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
709 |
#endif |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
710 |
SHA1COMPRESS_FULL_ROUND4_STEP(d, e, a, b, c, W, 62, temp); |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
711 |
|
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
712 |
#ifdef DOSTORESTATE63 |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
713 |
SHA1_STORE_STATE(63) |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
714 |
#endif |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
715 |
SHA1COMPRESS_FULL_ROUND4_STEP(c, d, e, a, b, W, 63, temp); |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
716 |
|
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
717 |
#ifdef DOSTORESTATE64 |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
718 |
SHA1_STORE_STATE(64) |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
719 |
#endif |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
720 |
SHA1COMPRESS_FULL_ROUND4_STEP(b, c, d, e, a, W, 64, temp); |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
721 |
|
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
722 |
#ifdef DOSTORESTATE65 |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
723 |
SHA1_STORE_STATE(65) |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
724 |
#endif |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
725 |
SHA1COMPRESS_FULL_ROUND4_STEP(a, b, c, d, e, W, 65, temp); |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
726 |
|
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
727 |
#ifdef DOSTORESTATE66 |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
728 |
SHA1_STORE_STATE(66) |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
729 |
#endif |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
730 |
SHA1COMPRESS_FULL_ROUND4_STEP(e, a, b, c, d, W, 66, temp); |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
731 |
|
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
732 |
#ifdef DOSTORESTATE67 |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
733 |
SHA1_STORE_STATE(67) |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
734 |
#endif |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
735 |
SHA1COMPRESS_FULL_ROUND4_STEP(d, e, a, b, c, W, 67, temp); |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
736 |
|
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
737 |
#ifdef DOSTORESTATE68 |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
738 |
SHA1_STORE_STATE(68) |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
739 |
#endif |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
740 |
SHA1COMPRESS_FULL_ROUND4_STEP(c, d, e, a, b, W, 68, temp); |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
741 |
|
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
742 |
#ifdef DOSTORESTATE69 |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
743 |
SHA1_STORE_STATE(69) |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
744 |
#endif |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
745 |
SHA1COMPRESS_FULL_ROUND4_STEP(b, c, d, e, a, W, 69, temp); |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
746 |
|
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
747 |
#ifdef DOSTORESTATE70 |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
748 |
SHA1_STORE_STATE(70) |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
749 |
#endif |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
750 |
SHA1COMPRESS_FULL_ROUND4_STEP(a, b, c, d, e, W, 70, temp); |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
751 |
|
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
752 |
#ifdef DOSTORESTATE71 |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
753 |
SHA1_STORE_STATE(71) |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
754 |
#endif |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
755 |
SHA1COMPRESS_FULL_ROUND4_STEP(e, a, b, c, d, W, 71, temp); |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
756 |
|
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
757 |
#ifdef DOSTORESTATE72 |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
758 |
SHA1_STORE_STATE(72) |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
759 |
#endif |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
760 |
SHA1COMPRESS_FULL_ROUND4_STEP(d, e, a, b, c, W, 72, temp); |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
761 |
|
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
762 |
#ifdef DOSTORESTATE73 |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
763 |
SHA1_STORE_STATE(73) |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
764 |
#endif |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
765 |
SHA1COMPRESS_FULL_ROUND4_STEP(c, d, e, a, b, W, 73, temp); |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
766 |
|
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
767 |
#ifdef DOSTORESTATE74 |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
768 |
SHA1_STORE_STATE(74) |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
769 |
#endif |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
770 |
SHA1COMPRESS_FULL_ROUND4_STEP(b, c, d, e, a, W, 74, temp); |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
771 |
|
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
772 |
#ifdef DOSTORESTATE75 |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
773 |
SHA1_STORE_STATE(75) |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
774 |
#endif |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
775 |
SHA1COMPRESS_FULL_ROUND4_STEP(a, b, c, d, e, W, 75, temp); |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
776 |
|
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
777 |
#ifdef DOSTORESTATE76 |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
778 |
SHA1_STORE_STATE(76) |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
779 |
#endif |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
780 |
SHA1COMPRESS_FULL_ROUND4_STEP(e, a, b, c, d, W, 76, temp); |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
781 |
|
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
782 |
#ifdef DOSTORESTATE77 |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
783 |
SHA1_STORE_STATE(77) |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
784 |
#endif |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
785 |
SHA1COMPRESS_FULL_ROUND4_STEP(d, e, a, b, c, W, 77, temp); |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
786 |
|
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
787 |
#ifdef DOSTORESTATE78 |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
788 |
SHA1_STORE_STATE(78) |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
789 |
#endif |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
790 |
SHA1COMPRESS_FULL_ROUND4_STEP(c, d, e, a, b, W, 78, temp); |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
791 |
|
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
792 |
#ifdef DOSTORESTATE79 |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
793 |
SHA1_STORE_STATE(79) |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
794 |
#endif |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
795 |
SHA1COMPRESS_FULL_ROUND4_STEP(b, c, d, e, a, W, 79, temp); |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
796 |
|
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
797 |
|
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
798 |
|
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
799 |
ihv[0] += a; ihv[1] += b; ihv[2] += c; ihv[3] += d; ihv[4] += e; |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
800 |
} |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
801 |
|
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
802 |
|
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
803 |
|
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
804 |
|
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
805 |
#define SHA1_RECOMPRESS(t) \ |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
806 |
static void sha1recompress_fast_ ## t (uint32_t ihvin[5], uint32_t ihvout[5], const uint32_t me2[80], const uint32_t state[5]) \ |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
807 |
{ \ |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
808 |
uint32_t a = state[0], b = state[1], c = state[2], d = state[3], e = state[4]; \ |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
809 |
if (t > 79) HASHCLASH_SHA1COMPRESS_ROUND4_STEP_BW(b, c, d, e, a, me2, 79); \ |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
810 |
if (t > 78) HASHCLASH_SHA1COMPRESS_ROUND4_STEP_BW(c, d, e, a, b, me2, 78); \ |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
811 |
if (t > 77) HASHCLASH_SHA1COMPRESS_ROUND4_STEP_BW(d, e, a, b, c, me2, 77); \ |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
812 |
if (t > 76) HASHCLASH_SHA1COMPRESS_ROUND4_STEP_BW(e, a, b, c, d, me2, 76); \ |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
813 |
if (t > 75) HASHCLASH_SHA1COMPRESS_ROUND4_STEP_BW(a, b, c, d, e, me2, 75); \ |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
814 |
if (t > 74) HASHCLASH_SHA1COMPRESS_ROUND4_STEP_BW(b, c, d, e, a, me2, 74); \ |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
815 |
if (t > 73) HASHCLASH_SHA1COMPRESS_ROUND4_STEP_BW(c, d, e, a, b, me2, 73); \ |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
816 |
if (t > 72) HASHCLASH_SHA1COMPRESS_ROUND4_STEP_BW(d, e, a, b, c, me2, 72); \ |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
817 |
if (t > 71) HASHCLASH_SHA1COMPRESS_ROUND4_STEP_BW(e, a, b, c, d, me2, 71); \ |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
818 |
if (t > 70) HASHCLASH_SHA1COMPRESS_ROUND4_STEP_BW(a, b, c, d, e, me2, 70); \ |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
819 |
if (t > 69) HASHCLASH_SHA1COMPRESS_ROUND4_STEP_BW(b, c, d, e, a, me2, 69); \ |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
820 |
if (t > 68) HASHCLASH_SHA1COMPRESS_ROUND4_STEP_BW(c, d, e, a, b, me2, 68); \ |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
821 |
if (t > 67) HASHCLASH_SHA1COMPRESS_ROUND4_STEP_BW(d, e, a, b, c, me2, 67); \ |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
822 |
if (t > 66) HASHCLASH_SHA1COMPRESS_ROUND4_STEP_BW(e, a, b, c, d, me2, 66); \ |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
823 |
if (t > 65) HASHCLASH_SHA1COMPRESS_ROUND4_STEP_BW(a, b, c, d, e, me2, 65); \ |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
824 |
if (t > 64) HASHCLASH_SHA1COMPRESS_ROUND4_STEP_BW(b, c, d, e, a, me2, 64); \ |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
825 |
if (t > 63) HASHCLASH_SHA1COMPRESS_ROUND4_STEP_BW(c, d, e, a, b, me2, 63); \ |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
826 |
if (t > 62) HASHCLASH_SHA1COMPRESS_ROUND4_STEP_BW(d, e, a, b, c, me2, 62); \ |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
827 |
if (t > 61) HASHCLASH_SHA1COMPRESS_ROUND4_STEP_BW(e, a, b, c, d, me2, 61); \ |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
828 |
if (t > 60) HASHCLASH_SHA1COMPRESS_ROUND4_STEP_BW(a, b, c, d, e, me2, 60); \ |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
829 |
if (t > 59) HASHCLASH_SHA1COMPRESS_ROUND3_STEP_BW(b, c, d, e, a, me2, 59); \ |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
830 |
if (t > 58) HASHCLASH_SHA1COMPRESS_ROUND3_STEP_BW(c, d, e, a, b, me2, 58); \ |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
831 |
if (t > 57) HASHCLASH_SHA1COMPRESS_ROUND3_STEP_BW(d, e, a, b, c, me2, 57); \ |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
832 |
if (t > 56) HASHCLASH_SHA1COMPRESS_ROUND3_STEP_BW(e, a, b, c, d, me2, 56); \ |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
833 |
if (t > 55) HASHCLASH_SHA1COMPRESS_ROUND3_STEP_BW(a, b, c, d, e, me2, 55); \ |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
834 |
if (t > 54) HASHCLASH_SHA1COMPRESS_ROUND3_STEP_BW(b, c, d, e, a, me2, 54); \ |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
835 |
if (t > 53) HASHCLASH_SHA1COMPRESS_ROUND3_STEP_BW(c, d, e, a, b, me2, 53); \ |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
836 |
if (t > 52) HASHCLASH_SHA1COMPRESS_ROUND3_STEP_BW(d, e, a, b, c, me2, 52); \ |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
837 |
if (t > 51) HASHCLASH_SHA1COMPRESS_ROUND3_STEP_BW(e, a, b, c, d, me2, 51); \ |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
838 |
if (t > 50) HASHCLASH_SHA1COMPRESS_ROUND3_STEP_BW(a, b, c, d, e, me2, 50); \ |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
839 |
if (t > 49) HASHCLASH_SHA1COMPRESS_ROUND3_STEP_BW(b, c, d, e, a, me2, 49); \ |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
840 |
if (t > 48) HASHCLASH_SHA1COMPRESS_ROUND3_STEP_BW(c, d, e, a, b, me2, 48); \ |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
841 |
if (t > 47) HASHCLASH_SHA1COMPRESS_ROUND3_STEP_BW(d, e, a, b, c, me2, 47); \ |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
842 |
if (t > 46) HASHCLASH_SHA1COMPRESS_ROUND3_STEP_BW(e, a, b, c, d, me2, 46); \ |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
843 |
if (t > 45) HASHCLASH_SHA1COMPRESS_ROUND3_STEP_BW(a, b, c, d, e, me2, 45); \ |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
844 |
if (t > 44) HASHCLASH_SHA1COMPRESS_ROUND3_STEP_BW(b, c, d, e, a, me2, 44); \ |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
845 |
if (t > 43) HASHCLASH_SHA1COMPRESS_ROUND3_STEP_BW(c, d, e, a, b, me2, 43); \ |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
846 |
if (t > 42) HASHCLASH_SHA1COMPRESS_ROUND3_STEP_BW(d, e, a, b, c, me2, 42); \ |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
847 |
if (t > 41) HASHCLASH_SHA1COMPRESS_ROUND3_STEP_BW(e, a, b, c, d, me2, 41); \ |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
848 |
if (t > 40) HASHCLASH_SHA1COMPRESS_ROUND3_STEP_BW(a, b, c, d, e, me2, 40); \ |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
849 |
if (t > 39) HASHCLASH_SHA1COMPRESS_ROUND2_STEP_BW(b, c, d, e, a, me2, 39); \ |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
850 |
if (t > 38) HASHCLASH_SHA1COMPRESS_ROUND2_STEP_BW(c, d, e, a, b, me2, 38); \ |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
851 |
if (t > 37) HASHCLASH_SHA1COMPRESS_ROUND2_STEP_BW(d, e, a, b, c, me2, 37); \ |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
852 |
if (t > 36) HASHCLASH_SHA1COMPRESS_ROUND2_STEP_BW(e, a, b, c, d, me2, 36); \ |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
853 |
if (t > 35) HASHCLASH_SHA1COMPRESS_ROUND2_STEP_BW(a, b, c, d, e, me2, 35); \ |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
854 |
if (t > 34) HASHCLASH_SHA1COMPRESS_ROUND2_STEP_BW(b, c, d, e, a, me2, 34); \ |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
855 |
if (t > 33) HASHCLASH_SHA1COMPRESS_ROUND2_STEP_BW(c, d, e, a, b, me2, 33); \ |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
856 |
if (t > 32) HASHCLASH_SHA1COMPRESS_ROUND2_STEP_BW(d, e, a, b, c, me2, 32); \ |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
857 |
if (t > 31) HASHCLASH_SHA1COMPRESS_ROUND2_STEP_BW(e, a, b, c, d, me2, 31); \ |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
858 |
if (t > 30) HASHCLASH_SHA1COMPRESS_ROUND2_STEP_BW(a, b, c, d, e, me2, 30); \ |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
859 |
if (t > 29) HASHCLASH_SHA1COMPRESS_ROUND2_STEP_BW(b, c, d, e, a, me2, 29); \ |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
860 |
if (t > 28) HASHCLASH_SHA1COMPRESS_ROUND2_STEP_BW(c, d, e, a, b, me2, 28); \ |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
861 |
if (t > 27) HASHCLASH_SHA1COMPRESS_ROUND2_STEP_BW(d, e, a, b, c, me2, 27); \ |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
862 |
if (t > 26) HASHCLASH_SHA1COMPRESS_ROUND2_STEP_BW(e, a, b, c, d, me2, 26); \ |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
863 |
if (t > 25) HASHCLASH_SHA1COMPRESS_ROUND2_STEP_BW(a, b, c, d, e, me2, 25); \ |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
864 |
if (t > 24) HASHCLASH_SHA1COMPRESS_ROUND2_STEP_BW(b, c, d, e, a, me2, 24); \ |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
865 |
if (t > 23) HASHCLASH_SHA1COMPRESS_ROUND2_STEP_BW(c, d, e, a, b, me2, 23); \ |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
866 |
if (t > 22) HASHCLASH_SHA1COMPRESS_ROUND2_STEP_BW(d, e, a, b, c, me2, 22); \ |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
867 |
if (t > 21) HASHCLASH_SHA1COMPRESS_ROUND2_STEP_BW(e, a, b, c, d, me2, 21); \ |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
868 |
if (t > 20) HASHCLASH_SHA1COMPRESS_ROUND2_STEP_BW(a, b, c, d, e, me2, 20); \ |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
869 |
if (t > 19) HASHCLASH_SHA1COMPRESS_ROUND1_STEP_BW(b, c, d, e, a, me2, 19); \ |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
870 |
if (t > 18) HASHCLASH_SHA1COMPRESS_ROUND1_STEP_BW(c, d, e, a, b, me2, 18); \ |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
871 |
if (t > 17) HASHCLASH_SHA1COMPRESS_ROUND1_STEP_BW(d, e, a, b, c, me2, 17); \ |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
872 |
if (t > 16) HASHCLASH_SHA1COMPRESS_ROUND1_STEP_BW(e, a, b, c, d, me2, 16); \ |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
873 |
if (t > 15) HASHCLASH_SHA1COMPRESS_ROUND1_STEP_BW(a, b, c, d, e, me2, 15); \ |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
874 |
if (t > 14) HASHCLASH_SHA1COMPRESS_ROUND1_STEP_BW(b, c, d, e, a, me2, 14); \ |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
875 |
if (t > 13) HASHCLASH_SHA1COMPRESS_ROUND1_STEP_BW(c, d, e, a, b, me2, 13); \ |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
876 |
if (t > 12) HASHCLASH_SHA1COMPRESS_ROUND1_STEP_BW(d, e, a, b, c, me2, 12); \ |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
877 |
if (t > 11) HASHCLASH_SHA1COMPRESS_ROUND1_STEP_BW(e, a, b, c, d, me2, 11); \ |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
878 |
if (t > 10) HASHCLASH_SHA1COMPRESS_ROUND1_STEP_BW(a, b, c, d, e, me2, 10); \ |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
879 |
if (t > 9) HASHCLASH_SHA1COMPRESS_ROUND1_STEP_BW(b, c, d, e, a, me2, 9); \ |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
880 |
if (t > 8) HASHCLASH_SHA1COMPRESS_ROUND1_STEP_BW(c, d, e, a, b, me2, 8); \ |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
881 |
if (t > 7) HASHCLASH_SHA1COMPRESS_ROUND1_STEP_BW(d, e, a, b, c, me2, 7); \ |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
882 |
if (t > 6) HASHCLASH_SHA1COMPRESS_ROUND1_STEP_BW(e, a, b, c, d, me2, 6); \ |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
883 |
if (t > 5) HASHCLASH_SHA1COMPRESS_ROUND1_STEP_BW(a, b, c, d, e, me2, 5); \ |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
884 |
if (t > 4) HASHCLASH_SHA1COMPRESS_ROUND1_STEP_BW(b, c, d, e, a, me2, 4); \ |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
885 |
if (t > 3) HASHCLASH_SHA1COMPRESS_ROUND1_STEP_BW(c, d, e, a, b, me2, 3); \ |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
886 |
if (t > 2) HASHCLASH_SHA1COMPRESS_ROUND1_STEP_BW(d, e, a, b, c, me2, 2); \ |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
887 |
if (t > 1) HASHCLASH_SHA1COMPRESS_ROUND1_STEP_BW(e, a, b, c, d, me2, 1); \ |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
888 |
if (t > 0) HASHCLASH_SHA1COMPRESS_ROUND1_STEP_BW(a, b, c, d, e, me2, 0); \ |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
889 |
ihvin[0] = a; ihvin[1] = b; ihvin[2] = c; ihvin[3] = d; ihvin[4] = e; \ |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
890 |
a = state[0]; b = state[1]; c = state[2]; d = state[3]; e = state[4]; \ |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
891 |
if (t <= 0) HASHCLASH_SHA1COMPRESS_ROUND1_STEP(a, b, c, d, e, me2, 0); \ |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
892 |
if (t <= 1) HASHCLASH_SHA1COMPRESS_ROUND1_STEP(e, a, b, c, d, me2, 1); \ |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
893 |
if (t <= 2) HASHCLASH_SHA1COMPRESS_ROUND1_STEP(d, e, a, b, c, me2, 2); \ |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
894 |
if (t <= 3) HASHCLASH_SHA1COMPRESS_ROUND1_STEP(c, d, e, a, b, me2, 3); \ |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
895 |
if (t <= 4) HASHCLASH_SHA1COMPRESS_ROUND1_STEP(b, c, d, e, a, me2, 4); \ |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
896 |
if (t <= 5) HASHCLASH_SHA1COMPRESS_ROUND1_STEP(a, b, c, d, e, me2, 5); \ |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
897 |
if (t <= 6) HASHCLASH_SHA1COMPRESS_ROUND1_STEP(e, a, b, c, d, me2, 6); \ |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
898 |
if (t <= 7) HASHCLASH_SHA1COMPRESS_ROUND1_STEP(d, e, a, b, c, me2, 7); \ |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
899 |
if (t <= 8) HASHCLASH_SHA1COMPRESS_ROUND1_STEP(c, d, e, a, b, me2, 8); \ |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
900 |
if (t <= 9) HASHCLASH_SHA1COMPRESS_ROUND1_STEP(b, c, d, e, a, me2, 9); \ |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
901 |
if (t <= 10) HASHCLASH_SHA1COMPRESS_ROUND1_STEP(a, b, c, d, e, me2, 10); \ |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
902 |
if (t <= 11) HASHCLASH_SHA1COMPRESS_ROUND1_STEP(e, a, b, c, d, me2, 11); \ |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
903 |
if (t <= 12) HASHCLASH_SHA1COMPRESS_ROUND1_STEP(d, e, a, b, c, me2, 12); \ |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
904 |
if (t <= 13) HASHCLASH_SHA1COMPRESS_ROUND1_STEP(c, d, e, a, b, me2, 13); \ |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
905 |
if (t <= 14) HASHCLASH_SHA1COMPRESS_ROUND1_STEP(b, c, d, e, a, me2, 14); \ |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
906 |
if (t <= 15) HASHCLASH_SHA1COMPRESS_ROUND1_STEP(a, b, c, d, e, me2, 15); \ |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
907 |
if (t <= 16) HASHCLASH_SHA1COMPRESS_ROUND1_STEP(e, a, b, c, d, me2, 16); \ |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
908 |
if (t <= 17) HASHCLASH_SHA1COMPRESS_ROUND1_STEP(d, e, a, b, c, me2, 17); \ |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
909 |
if (t <= 18) HASHCLASH_SHA1COMPRESS_ROUND1_STEP(c, d, e, a, b, me2, 18); \ |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
910 |
if (t <= 19) HASHCLASH_SHA1COMPRESS_ROUND1_STEP(b, c, d, e, a, me2, 19); \ |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
911 |
if (t <= 20) HASHCLASH_SHA1COMPRESS_ROUND2_STEP(a, b, c, d, e, me2, 20); \ |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
912 |
if (t <= 21) HASHCLASH_SHA1COMPRESS_ROUND2_STEP(e, a, b, c, d, me2, 21); \ |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
913 |
if (t <= 22) HASHCLASH_SHA1COMPRESS_ROUND2_STEP(d, e, a, b, c, me2, 22); \ |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
914 |
if (t <= 23) HASHCLASH_SHA1COMPRESS_ROUND2_STEP(c, d, e, a, b, me2, 23); \ |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
915 |
if (t <= 24) HASHCLASH_SHA1COMPRESS_ROUND2_STEP(b, c, d, e, a, me2, 24); \ |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
916 |
if (t <= 25) HASHCLASH_SHA1COMPRESS_ROUND2_STEP(a, b, c, d, e, me2, 25); \ |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
917 |
if (t <= 26) HASHCLASH_SHA1COMPRESS_ROUND2_STEP(e, a, b, c, d, me2, 26); \ |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
918 |
if (t <= 27) HASHCLASH_SHA1COMPRESS_ROUND2_STEP(d, e, a, b, c, me2, 27); \ |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
919 |
if (t <= 28) HASHCLASH_SHA1COMPRESS_ROUND2_STEP(c, d, e, a, b, me2, 28); \ |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
920 |
if (t <= 29) HASHCLASH_SHA1COMPRESS_ROUND2_STEP(b, c, d, e, a, me2, 29); \ |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
921 |
if (t <= 30) HASHCLASH_SHA1COMPRESS_ROUND2_STEP(a, b, c, d, e, me2, 30); \ |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
922 |
if (t <= 31) HASHCLASH_SHA1COMPRESS_ROUND2_STEP(e, a, b, c, d, me2, 31); \ |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
923 |
if (t <= 32) HASHCLASH_SHA1COMPRESS_ROUND2_STEP(d, e, a, b, c, me2, 32); \ |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
924 |
if (t <= 33) HASHCLASH_SHA1COMPRESS_ROUND2_STEP(c, d, e, a, b, me2, 33); \ |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
925 |
if (t <= 34) HASHCLASH_SHA1COMPRESS_ROUND2_STEP(b, c, d, e, a, me2, 34); \ |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
926 |
if (t <= 35) HASHCLASH_SHA1COMPRESS_ROUND2_STEP(a, b, c, d, e, me2, 35); \ |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
927 |
if (t <= 36) HASHCLASH_SHA1COMPRESS_ROUND2_STEP(e, a, b, c, d, me2, 36); \ |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
928 |
if (t <= 37) HASHCLASH_SHA1COMPRESS_ROUND2_STEP(d, e, a, b, c, me2, 37); \ |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
929 |
if (t <= 38) HASHCLASH_SHA1COMPRESS_ROUND2_STEP(c, d, e, a, b, me2, 38); \ |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
930 |
if (t <= 39) HASHCLASH_SHA1COMPRESS_ROUND2_STEP(b, c, d, e, a, me2, 39); \ |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
931 |
if (t <= 40) HASHCLASH_SHA1COMPRESS_ROUND3_STEP(a, b, c, d, e, me2, 40); \ |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
932 |
if (t <= 41) HASHCLASH_SHA1COMPRESS_ROUND3_STEP(e, a, b, c, d, me2, 41); \ |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
933 |
if (t <= 42) HASHCLASH_SHA1COMPRESS_ROUND3_STEP(d, e, a, b, c, me2, 42); \ |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
934 |
if (t <= 43) HASHCLASH_SHA1COMPRESS_ROUND3_STEP(c, d, e, a, b, me2, 43); \ |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
935 |
if (t <= 44) HASHCLASH_SHA1COMPRESS_ROUND3_STEP(b, c, d, e, a, me2, 44); \ |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
936 |
if (t <= 45) HASHCLASH_SHA1COMPRESS_ROUND3_STEP(a, b, c, d, e, me2, 45); \ |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
937 |
if (t <= 46) HASHCLASH_SHA1COMPRESS_ROUND3_STEP(e, a, b, c, d, me2, 46); \ |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
938 |
if (t <= 47) HASHCLASH_SHA1COMPRESS_ROUND3_STEP(d, e, a, b, c, me2, 47); \ |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
939 |
if (t <= 48) HASHCLASH_SHA1COMPRESS_ROUND3_STEP(c, d, e, a, b, me2, 48); \ |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
940 |
if (t <= 49) HASHCLASH_SHA1COMPRESS_ROUND3_STEP(b, c, d, e, a, me2, 49); \ |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
941 |
if (t <= 50) HASHCLASH_SHA1COMPRESS_ROUND3_STEP(a, b, c, d, e, me2, 50); \ |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
942 |
if (t <= 51) HASHCLASH_SHA1COMPRESS_ROUND3_STEP(e, a, b, c, d, me2, 51); \ |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
943 |
if (t <= 52) HASHCLASH_SHA1COMPRESS_ROUND3_STEP(d, e, a, b, c, me2, 52); \ |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
944 |
if (t <= 53) HASHCLASH_SHA1COMPRESS_ROUND3_STEP(c, d, e, a, b, me2, 53); \ |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
945 |
if (t <= 54) HASHCLASH_SHA1COMPRESS_ROUND3_STEP(b, c, d, e, a, me2, 54); \ |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
946 |
if (t <= 55) HASHCLASH_SHA1COMPRESS_ROUND3_STEP(a, b, c, d, e, me2, 55); \ |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
947 |
if (t <= 56) HASHCLASH_SHA1COMPRESS_ROUND3_STEP(e, a, b, c, d, me2, 56); \ |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
948 |
if (t <= 57) HASHCLASH_SHA1COMPRESS_ROUND3_STEP(d, e, a, b, c, me2, 57); \ |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
949 |
if (t <= 58) HASHCLASH_SHA1COMPRESS_ROUND3_STEP(c, d, e, a, b, me2, 58); \ |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
950 |
if (t <= 59) HASHCLASH_SHA1COMPRESS_ROUND3_STEP(b, c, d, e, a, me2, 59); \ |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
951 |
if (t <= 60) HASHCLASH_SHA1COMPRESS_ROUND4_STEP(a, b, c, d, e, me2, 60); \ |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
952 |
if (t <= 61) HASHCLASH_SHA1COMPRESS_ROUND4_STEP(e, a, b, c, d, me2, 61); \ |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
953 |
if (t <= 62) HASHCLASH_SHA1COMPRESS_ROUND4_STEP(d, e, a, b, c, me2, 62); \ |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
954 |
if (t <= 63) HASHCLASH_SHA1COMPRESS_ROUND4_STEP(c, d, e, a, b, me2, 63); \ |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
955 |
if (t <= 64) HASHCLASH_SHA1COMPRESS_ROUND4_STEP(b, c, d, e, a, me2, 64); \ |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
956 |
if (t <= 65) HASHCLASH_SHA1COMPRESS_ROUND4_STEP(a, b, c, d, e, me2, 65); \ |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
957 |
if (t <= 66) HASHCLASH_SHA1COMPRESS_ROUND4_STEP(e, a, b, c, d, me2, 66); \ |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
958 |
if (t <= 67) HASHCLASH_SHA1COMPRESS_ROUND4_STEP(d, e, a, b, c, me2, 67); \ |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
959 |
if (t <= 68) HASHCLASH_SHA1COMPRESS_ROUND4_STEP(c, d, e, a, b, me2, 68); \ |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
960 |
if (t <= 69) HASHCLASH_SHA1COMPRESS_ROUND4_STEP(b, c, d, e, a, me2, 69); \ |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
961 |
if (t <= 70) HASHCLASH_SHA1COMPRESS_ROUND4_STEP(a, b, c, d, e, me2, 70); \ |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
962 |
if (t <= 71) HASHCLASH_SHA1COMPRESS_ROUND4_STEP(e, a, b, c, d, me2, 71); \ |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
963 |
if (t <= 72) HASHCLASH_SHA1COMPRESS_ROUND4_STEP(d, e, a, b, c, me2, 72); \ |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
964 |
if (t <= 73) HASHCLASH_SHA1COMPRESS_ROUND4_STEP(c, d, e, a, b, me2, 73); \ |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
965 |
if (t <= 74) HASHCLASH_SHA1COMPRESS_ROUND4_STEP(b, c, d, e, a, me2, 74); \ |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
966 |
if (t <= 75) HASHCLASH_SHA1COMPRESS_ROUND4_STEP(a, b, c, d, e, me2, 75); \ |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
967 |
if (t <= 76) HASHCLASH_SHA1COMPRESS_ROUND4_STEP(e, a, b, c, d, me2, 76); \ |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
968 |
if (t <= 77) HASHCLASH_SHA1COMPRESS_ROUND4_STEP(d, e, a, b, c, me2, 77); \ |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
969 |
if (t <= 78) HASHCLASH_SHA1COMPRESS_ROUND4_STEP(c, d, e, a, b, me2, 78); \ |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
970 |
if (t <= 79) HASHCLASH_SHA1COMPRESS_ROUND4_STEP(b, c, d, e, a, me2, 79); \ |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
971 |
ihvout[0] = ihvin[0] + a; ihvout[1] = ihvin[1] + b; ihvout[2] = ihvin[2] + c; ihvout[3] = ihvin[3] + d; ihvout[4] = ihvin[4] + e; \ |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
972 |
} |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
973 |
|
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
974 |
#ifdef _MSC_VER |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
975 |
#pragma warning(push) |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
976 |
#pragma warning(disable: 4127) /* Compiler complains about the checks in the above macro being constant. */ |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
977 |
#endif |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
978 |
|
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
979 |
#ifdef DOSTORESTATE0 |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
980 |
SHA1_RECOMPRESS(0) |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
981 |
#endif |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
982 |
|
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
983 |
#ifdef DOSTORESTATE1 |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
984 |
SHA1_RECOMPRESS(1) |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
985 |
#endif |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
986 |
|
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
987 |
#ifdef DOSTORESTATE2 |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
988 |
SHA1_RECOMPRESS(2) |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
989 |
#endif |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
990 |
|
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
991 |
#ifdef DOSTORESTATE3 |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
992 |
SHA1_RECOMPRESS(3) |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
993 |
#endif |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
994 |
|
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
995 |
#ifdef DOSTORESTATE4 |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
996 |
SHA1_RECOMPRESS(4) |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
997 |
#endif |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
998 |
|
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
999 |
#ifdef DOSTORESTATE5 |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1000 |
SHA1_RECOMPRESS(5) |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1001 |
#endif |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1002 |
|
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1003 |
#ifdef DOSTORESTATE6 |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1004 |
SHA1_RECOMPRESS(6) |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1005 |
#endif |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1006 |
|
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1007 |
#ifdef DOSTORESTATE7 |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1008 |
SHA1_RECOMPRESS(7) |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1009 |
#endif |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1010 |
|
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1011 |
#ifdef DOSTORESTATE8 |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1012 |
SHA1_RECOMPRESS(8) |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1013 |
#endif |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1014 |
|
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1015 |
#ifdef DOSTORESTATE9 |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1016 |
SHA1_RECOMPRESS(9) |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1017 |
#endif |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1018 |
|
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1019 |
#ifdef DOSTORESTATE10 |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1020 |
SHA1_RECOMPRESS(10) |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1021 |
#endif |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1022 |
|
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1023 |
#ifdef DOSTORESTATE11 |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1024 |
SHA1_RECOMPRESS(11) |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1025 |
#endif |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1026 |
|
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1027 |
#ifdef DOSTORESTATE12 |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1028 |
SHA1_RECOMPRESS(12) |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1029 |
#endif |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1030 |
|
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1031 |
#ifdef DOSTORESTATE13 |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1032 |
SHA1_RECOMPRESS(13) |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1033 |
#endif |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1034 |
|
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1035 |
#ifdef DOSTORESTATE14 |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1036 |
SHA1_RECOMPRESS(14) |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1037 |
#endif |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1038 |
|
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1039 |
#ifdef DOSTORESTATE15 |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1040 |
SHA1_RECOMPRESS(15) |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1041 |
#endif |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1042 |
|
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1043 |
#ifdef DOSTORESTATE16 |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1044 |
SHA1_RECOMPRESS(16) |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1045 |
#endif |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1046 |
|
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1047 |
#ifdef DOSTORESTATE17 |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1048 |
SHA1_RECOMPRESS(17) |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1049 |
#endif |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1050 |
|
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1051 |
#ifdef DOSTORESTATE18 |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1052 |
SHA1_RECOMPRESS(18) |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1053 |
#endif |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1054 |
|
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1055 |
#ifdef DOSTORESTATE19 |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1056 |
SHA1_RECOMPRESS(19) |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1057 |
#endif |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1058 |
|
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1059 |
#ifdef DOSTORESTATE20 |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1060 |
SHA1_RECOMPRESS(20) |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1061 |
#endif |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1062 |
|
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1063 |
#ifdef DOSTORESTATE21 |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1064 |
SHA1_RECOMPRESS(21) |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1065 |
#endif |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1066 |
|
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1067 |
#ifdef DOSTORESTATE22 |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1068 |
SHA1_RECOMPRESS(22) |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1069 |
#endif |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1070 |
|
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1071 |
#ifdef DOSTORESTATE23 |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1072 |
SHA1_RECOMPRESS(23) |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1073 |
#endif |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1074 |
|
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1075 |
#ifdef DOSTORESTATE24 |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1076 |
SHA1_RECOMPRESS(24) |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1077 |
#endif |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1078 |
|
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1079 |
#ifdef DOSTORESTATE25 |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1080 |
SHA1_RECOMPRESS(25) |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1081 |
#endif |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1082 |
|
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1083 |
#ifdef DOSTORESTATE26 |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1084 |
SHA1_RECOMPRESS(26) |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1085 |
#endif |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1086 |
|
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1087 |
#ifdef DOSTORESTATE27 |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1088 |
SHA1_RECOMPRESS(27) |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1089 |
#endif |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1090 |
|
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1091 |
#ifdef DOSTORESTATE28 |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1092 |
SHA1_RECOMPRESS(28) |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1093 |
#endif |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1094 |
|
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1095 |
#ifdef DOSTORESTATE29 |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1096 |
SHA1_RECOMPRESS(29) |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1097 |
#endif |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1098 |
|
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1099 |
#ifdef DOSTORESTATE30 |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1100 |
SHA1_RECOMPRESS(30) |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1101 |
#endif |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1102 |
|
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1103 |
#ifdef DOSTORESTATE31 |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1104 |
SHA1_RECOMPRESS(31) |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1105 |
#endif |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1106 |
|
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1107 |
#ifdef DOSTORESTATE32 |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1108 |
SHA1_RECOMPRESS(32) |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1109 |
#endif |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1110 |
|
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1111 |
#ifdef DOSTORESTATE33 |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1112 |
SHA1_RECOMPRESS(33) |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1113 |
#endif |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1114 |
|
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1115 |
#ifdef DOSTORESTATE34 |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1116 |
SHA1_RECOMPRESS(34) |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1117 |
#endif |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1118 |
|
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1119 |
#ifdef DOSTORESTATE35 |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1120 |
SHA1_RECOMPRESS(35) |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1121 |
#endif |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1122 |
|
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1123 |
#ifdef DOSTORESTATE36 |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1124 |
SHA1_RECOMPRESS(36) |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1125 |
#endif |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1126 |
|
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1127 |
#ifdef DOSTORESTATE37 |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1128 |
SHA1_RECOMPRESS(37) |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1129 |
#endif |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1130 |
|
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1131 |
#ifdef DOSTORESTATE38 |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1132 |
SHA1_RECOMPRESS(38) |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1133 |
#endif |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1134 |
|
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1135 |
#ifdef DOSTORESTATE39 |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1136 |
SHA1_RECOMPRESS(39) |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1137 |
#endif |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1138 |
|
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1139 |
#ifdef DOSTORESTATE40 |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1140 |
SHA1_RECOMPRESS(40) |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1141 |
#endif |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1142 |
|
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1143 |
#ifdef DOSTORESTATE41 |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1144 |
SHA1_RECOMPRESS(41) |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1145 |
#endif |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1146 |
|
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1147 |
#ifdef DOSTORESTATE42 |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1148 |
SHA1_RECOMPRESS(42) |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1149 |
#endif |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1150 |
|
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1151 |
#ifdef DOSTORESTATE43 |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1152 |
SHA1_RECOMPRESS(43) |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1153 |
#endif |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1154 |
|
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1155 |
#ifdef DOSTORESTATE44 |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1156 |
SHA1_RECOMPRESS(44) |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1157 |
#endif |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1158 |
|
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1159 |
#ifdef DOSTORESTATE45 |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1160 |
SHA1_RECOMPRESS(45) |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1161 |
#endif |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1162 |
|
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1163 |
#ifdef DOSTORESTATE46 |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1164 |
SHA1_RECOMPRESS(46) |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1165 |
#endif |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1166 |
|
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1167 |
#ifdef DOSTORESTATE47 |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1168 |
SHA1_RECOMPRESS(47) |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1169 |
#endif |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1170 |
|
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1171 |
#ifdef DOSTORESTATE48 |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1172 |
SHA1_RECOMPRESS(48) |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1173 |
#endif |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1174 |
|
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1175 |
#ifdef DOSTORESTATE49 |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1176 |
SHA1_RECOMPRESS(49) |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1177 |
#endif |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1178 |
|
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1179 |
#ifdef DOSTORESTATE50 |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1180 |
SHA1_RECOMPRESS(50) |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1181 |
#endif |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1182 |
|
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1183 |
#ifdef DOSTORESTATE51 |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1184 |
SHA1_RECOMPRESS(51) |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1185 |
#endif |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1186 |
|
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1187 |
#ifdef DOSTORESTATE52 |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1188 |
SHA1_RECOMPRESS(52) |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1189 |
#endif |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1190 |
|
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1191 |
#ifdef DOSTORESTATE53 |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1192 |
SHA1_RECOMPRESS(53) |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1193 |
#endif |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1194 |
|
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1195 |
#ifdef DOSTORESTATE54 |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1196 |
SHA1_RECOMPRESS(54) |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1197 |
#endif |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1198 |
|
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1199 |
#ifdef DOSTORESTATE55 |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1200 |
SHA1_RECOMPRESS(55) |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1201 |
#endif |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1202 |
|
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1203 |
#ifdef DOSTORESTATE56 |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1204 |
SHA1_RECOMPRESS(56) |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1205 |
#endif |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1206 |
|
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1207 |
#ifdef DOSTORESTATE57 |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1208 |
SHA1_RECOMPRESS(57) |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1209 |
#endif |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1210 |
|
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1211 |
#ifdef DOSTORESTATE58 |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1212 |
SHA1_RECOMPRESS(58) |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1213 |
#endif |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1214 |
|
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1215 |
#ifdef DOSTORESTATE59 |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1216 |
SHA1_RECOMPRESS(59) |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1217 |
#endif |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1218 |
|
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1219 |
#ifdef DOSTORESTATE60 |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1220 |
SHA1_RECOMPRESS(60) |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1221 |
#endif |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1222 |
|
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1223 |
#ifdef DOSTORESTATE61 |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1224 |
SHA1_RECOMPRESS(61) |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1225 |
#endif |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1226 |
|
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1227 |
#ifdef DOSTORESTATE62 |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1228 |
SHA1_RECOMPRESS(62) |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1229 |
#endif |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1230 |
|
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1231 |
#ifdef DOSTORESTATE63 |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1232 |
SHA1_RECOMPRESS(63) |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1233 |
#endif |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1234 |
|
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1235 |
#ifdef DOSTORESTATE64 |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1236 |
SHA1_RECOMPRESS(64) |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1237 |
#endif |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1238 |
|
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1239 |
#ifdef DOSTORESTATE65 |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1240 |
SHA1_RECOMPRESS(65) |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1241 |
#endif |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1242 |
|
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1243 |
#ifdef DOSTORESTATE66 |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1244 |
SHA1_RECOMPRESS(66) |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1245 |
#endif |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1246 |
|
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1247 |
#ifdef DOSTORESTATE67 |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1248 |
SHA1_RECOMPRESS(67) |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1249 |
#endif |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1250 |
|
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1251 |
#ifdef DOSTORESTATE68 |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1252 |
SHA1_RECOMPRESS(68) |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1253 |
#endif |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1254 |
|
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1255 |
#ifdef DOSTORESTATE69 |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1256 |
SHA1_RECOMPRESS(69) |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1257 |
#endif |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1258 |
|
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1259 |
#ifdef DOSTORESTATE70 |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1260 |
SHA1_RECOMPRESS(70) |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1261 |
#endif |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1262 |
|
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1263 |
#ifdef DOSTORESTATE71 |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1264 |
SHA1_RECOMPRESS(71) |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1265 |
#endif |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1266 |
|
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1267 |
#ifdef DOSTORESTATE72 |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1268 |
SHA1_RECOMPRESS(72) |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1269 |
#endif |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1270 |
|
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1271 |
#ifdef DOSTORESTATE73 |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1272 |
SHA1_RECOMPRESS(73) |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1273 |
#endif |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1274 |
|
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1275 |
#ifdef DOSTORESTATE74 |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1276 |
SHA1_RECOMPRESS(74) |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1277 |
#endif |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1278 |
|
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1279 |
#ifdef DOSTORESTATE75 |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1280 |
SHA1_RECOMPRESS(75) |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1281 |
#endif |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1282 |
|
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1283 |
#ifdef DOSTORESTATE76 |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1284 |
SHA1_RECOMPRESS(76) |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1285 |
#endif |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1286 |
|
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1287 |
#ifdef DOSTORESTATE77 |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1288 |
SHA1_RECOMPRESS(77) |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1289 |
#endif |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1290 |
|
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1291 |
#ifdef DOSTORESTATE78 |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1292 |
SHA1_RECOMPRESS(78) |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1293 |
#endif |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1294 |
|
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1295 |
#ifdef DOSTORESTATE79 |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1296 |
SHA1_RECOMPRESS(79) |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1297 |
#endif |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1298 |
|
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1299 |
#ifdef _MSC_VER |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1300 |
#pragma warning(pop) |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1301 |
#endif |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1302 |
|
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1303 |
static void sha1_recompression_step(uint32_t step, uint32_t ihvin[5], uint32_t ihvout[5], const uint32_t me2[80], const uint32_t state[5]) |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1304 |
{ |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1305 |
switch (step) |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1306 |
{ |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1307 |
#ifdef DOSTORESTATE0 |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1308 |
case 0: |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1309 |
sha1recompress_fast_0(ihvin, ihvout, me2, state); |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1310 |
break; |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1311 |
#endif |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1312 |
#ifdef DOSTORESTATE1 |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1313 |
case 1: |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1314 |
sha1recompress_fast_1(ihvin, ihvout, me2, state); |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1315 |
break; |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1316 |
#endif |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1317 |
#ifdef DOSTORESTATE2 |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1318 |
case 2: |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1319 |
sha1recompress_fast_2(ihvin, ihvout, me2, state); |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1320 |
break; |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1321 |
#endif |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1322 |
#ifdef DOSTORESTATE3 |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1323 |
case 3: |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1324 |
sha1recompress_fast_3(ihvin, ihvout, me2, state); |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1325 |
break; |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1326 |
#endif |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1327 |
#ifdef DOSTORESTATE4 |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1328 |
case 4: |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1329 |
sha1recompress_fast_4(ihvin, ihvout, me2, state); |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1330 |
break; |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1331 |
#endif |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1332 |
#ifdef DOSTORESTATE5 |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1333 |
case 5: |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1334 |
sha1recompress_fast_5(ihvin, ihvout, me2, state); |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1335 |
break; |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1336 |
#endif |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1337 |
#ifdef DOSTORESTATE6 |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1338 |
case 6: |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1339 |
sha1recompress_fast_6(ihvin, ihvout, me2, state); |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1340 |
break; |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1341 |
#endif |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1342 |
#ifdef DOSTORESTATE7 |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1343 |
case 7: |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1344 |
sha1recompress_fast_7(ihvin, ihvout, me2, state); |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1345 |
break; |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1346 |
#endif |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1347 |
#ifdef DOSTORESTATE8 |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1348 |
case 8: |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1349 |
sha1recompress_fast_8(ihvin, ihvout, me2, state); |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1350 |
break; |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1351 |
#endif |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1352 |
#ifdef DOSTORESTATE9 |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1353 |
case 9: |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1354 |
sha1recompress_fast_9(ihvin, ihvout, me2, state); |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1355 |
break; |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1356 |
#endif |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1357 |
#ifdef DOSTORESTATE10 |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1358 |
case 10: |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1359 |
sha1recompress_fast_10(ihvin, ihvout, me2, state); |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1360 |
break; |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1361 |
#endif |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1362 |
#ifdef DOSTORESTATE11 |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1363 |
case 11: |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1364 |
sha1recompress_fast_11(ihvin, ihvout, me2, state); |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1365 |
break; |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1366 |
#endif |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1367 |
#ifdef DOSTORESTATE12 |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1368 |
case 12: |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1369 |
sha1recompress_fast_12(ihvin, ihvout, me2, state); |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1370 |
break; |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1371 |
#endif |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1372 |
#ifdef DOSTORESTATE13 |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1373 |
case 13: |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1374 |
sha1recompress_fast_13(ihvin, ihvout, me2, state); |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1375 |
break; |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1376 |
#endif |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1377 |
#ifdef DOSTORESTATE14 |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1378 |
case 14: |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1379 |
sha1recompress_fast_14(ihvin, ihvout, me2, state); |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1380 |
break; |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1381 |
#endif |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1382 |
#ifdef DOSTORESTATE15 |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1383 |
case 15: |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1384 |
sha1recompress_fast_15(ihvin, ihvout, me2, state); |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1385 |
break; |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1386 |
#endif |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1387 |
#ifdef DOSTORESTATE16 |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1388 |
case 16: |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1389 |
sha1recompress_fast_16(ihvin, ihvout, me2, state); |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1390 |
break; |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1391 |
#endif |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1392 |
#ifdef DOSTORESTATE17 |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1393 |
case 17: |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1394 |
sha1recompress_fast_17(ihvin, ihvout, me2, state); |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1395 |
break; |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1396 |
#endif |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1397 |
#ifdef DOSTORESTATE18 |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1398 |
case 18: |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1399 |
sha1recompress_fast_18(ihvin, ihvout, me2, state); |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1400 |
break; |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1401 |
#endif |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1402 |
#ifdef DOSTORESTATE19 |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1403 |
case 19: |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1404 |
sha1recompress_fast_19(ihvin, ihvout, me2, state); |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1405 |
break; |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1406 |
#endif |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1407 |
#ifdef DOSTORESTATE20 |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1408 |
case 20: |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1409 |
sha1recompress_fast_20(ihvin, ihvout, me2, state); |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1410 |
break; |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1411 |
#endif |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1412 |
#ifdef DOSTORESTATE21 |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1413 |
case 21: |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1414 |
sha1recompress_fast_21(ihvin, ihvout, me2, state); |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1415 |
break; |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1416 |
#endif |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1417 |
#ifdef DOSTORESTATE22 |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1418 |
case 22: |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1419 |
sha1recompress_fast_22(ihvin, ihvout, me2, state); |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1420 |
break; |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1421 |
#endif |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1422 |
#ifdef DOSTORESTATE23 |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1423 |
case 23: |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1424 |
sha1recompress_fast_23(ihvin, ihvout, me2, state); |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1425 |
break; |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1426 |
#endif |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1427 |
#ifdef DOSTORESTATE24 |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1428 |
case 24: |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1429 |
sha1recompress_fast_24(ihvin, ihvout, me2, state); |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1430 |
break; |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1431 |
#endif |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1432 |
#ifdef DOSTORESTATE25 |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1433 |
case 25: |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1434 |
sha1recompress_fast_25(ihvin, ihvout, me2, state); |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1435 |
break; |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1436 |
#endif |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1437 |
#ifdef DOSTORESTATE26 |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1438 |
case 26: |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1439 |
sha1recompress_fast_26(ihvin, ihvout, me2, state); |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1440 |
break; |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1441 |
#endif |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1442 |
#ifdef DOSTORESTATE27 |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1443 |
case 27: |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1444 |
sha1recompress_fast_27(ihvin, ihvout, me2, state); |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1445 |
break; |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1446 |
#endif |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1447 |
#ifdef DOSTORESTATE28 |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1448 |
case 28: |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1449 |
sha1recompress_fast_28(ihvin, ihvout, me2, state); |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1450 |
break; |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1451 |
#endif |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1452 |
#ifdef DOSTORESTATE29 |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1453 |
case 29: |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1454 |
sha1recompress_fast_29(ihvin, ihvout, me2, state); |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1455 |
break; |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1456 |
#endif |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1457 |
#ifdef DOSTORESTATE30 |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1458 |
case 30: |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1459 |
sha1recompress_fast_30(ihvin, ihvout, me2, state); |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1460 |
break; |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1461 |
#endif |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1462 |
#ifdef DOSTORESTATE31 |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1463 |
case 31: |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1464 |
sha1recompress_fast_31(ihvin, ihvout, me2, state); |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1465 |
break; |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1466 |
#endif |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1467 |
#ifdef DOSTORESTATE32 |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1468 |
case 32: |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1469 |
sha1recompress_fast_32(ihvin, ihvout, me2, state); |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1470 |
break; |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1471 |
#endif |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1472 |
#ifdef DOSTORESTATE33 |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1473 |
case 33: |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1474 |
sha1recompress_fast_33(ihvin, ihvout, me2, state); |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1475 |
break; |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1476 |
#endif |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1477 |
#ifdef DOSTORESTATE34 |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1478 |
case 34: |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1479 |
sha1recompress_fast_34(ihvin, ihvout, me2, state); |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1480 |
break; |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1481 |
#endif |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1482 |
#ifdef DOSTORESTATE35 |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1483 |
case 35: |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1484 |
sha1recompress_fast_35(ihvin, ihvout, me2, state); |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1485 |
break; |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1486 |
#endif |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1487 |
#ifdef DOSTORESTATE36 |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1488 |
case 36: |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1489 |
sha1recompress_fast_36(ihvin, ihvout, me2, state); |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1490 |
break; |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1491 |
#endif |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1492 |
#ifdef DOSTORESTATE37 |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1493 |
case 37: |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1494 |
sha1recompress_fast_37(ihvin, ihvout, me2, state); |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1495 |
break; |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1496 |
#endif |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1497 |
#ifdef DOSTORESTATE38 |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1498 |
case 38: |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1499 |
sha1recompress_fast_38(ihvin, ihvout, me2, state); |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1500 |
break; |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1501 |
#endif |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1502 |
#ifdef DOSTORESTATE39 |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1503 |
case 39: |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1504 |
sha1recompress_fast_39(ihvin, ihvout, me2, state); |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1505 |
break; |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1506 |
#endif |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1507 |
#ifdef DOSTORESTATE40 |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1508 |
case 40: |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1509 |
sha1recompress_fast_40(ihvin, ihvout, me2, state); |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1510 |
break; |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1511 |
#endif |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1512 |
#ifdef DOSTORESTATE41 |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1513 |
case 41: |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1514 |
sha1recompress_fast_41(ihvin, ihvout, me2, state); |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1515 |
break; |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1516 |
#endif |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1517 |
#ifdef DOSTORESTATE42 |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1518 |
case 42: |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1519 |
sha1recompress_fast_42(ihvin, ihvout, me2, state); |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1520 |
break; |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1521 |
#endif |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1522 |
#ifdef DOSTORESTATE43 |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1523 |
case 43: |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1524 |
sha1recompress_fast_43(ihvin, ihvout, me2, state); |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1525 |
break; |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1526 |
#endif |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1527 |
#ifdef DOSTORESTATE44 |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1528 |
case 44: |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1529 |
sha1recompress_fast_44(ihvin, ihvout, me2, state); |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1530 |
break; |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1531 |
#endif |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1532 |
#ifdef DOSTORESTATE45 |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1533 |
case 45: |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1534 |
sha1recompress_fast_45(ihvin, ihvout, me2, state); |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1535 |
break; |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1536 |
#endif |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1537 |
#ifdef DOSTORESTATE46 |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1538 |
case 46: |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1539 |
sha1recompress_fast_46(ihvin, ihvout, me2, state); |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1540 |
break; |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1541 |
#endif |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1542 |
#ifdef DOSTORESTATE47 |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1543 |
case 47: |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1544 |
sha1recompress_fast_47(ihvin, ihvout, me2, state); |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1545 |
break; |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1546 |
#endif |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1547 |
#ifdef DOSTORESTATE48 |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1548 |
case 48: |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1549 |
sha1recompress_fast_48(ihvin, ihvout, me2, state); |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1550 |
break; |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1551 |
#endif |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1552 |
#ifdef DOSTORESTATE49 |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1553 |
case 49: |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1554 |
sha1recompress_fast_49(ihvin, ihvout, me2, state); |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1555 |
break; |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1556 |
#endif |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1557 |
#ifdef DOSTORESTATE50 |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1558 |
case 50: |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1559 |
sha1recompress_fast_50(ihvin, ihvout, me2, state); |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1560 |
break; |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1561 |
#endif |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1562 |
#ifdef DOSTORESTATE51 |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1563 |
case 51: |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1564 |
sha1recompress_fast_51(ihvin, ihvout, me2, state); |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1565 |
break; |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1566 |
#endif |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1567 |
#ifdef DOSTORESTATE52 |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1568 |
case 52: |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1569 |
sha1recompress_fast_52(ihvin, ihvout, me2, state); |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1570 |
break; |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1571 |
#endif |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1572 |
#ifdef DOSTORESTATE53 |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1573 |
case 53: |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1574 |
sha1recompress_fast_53(ihvin, ihvout, me2, state); |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1575 |
break; |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1576 |
#endif |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1577 |
#ifdef DOSTORESTATE54 |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1578 |
case 54: |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1579 |
sha1recompress_fast_54(ihvin, ihvout, me2, state); |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1580 |
break; |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1581 |
#endif |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1582 |
#ifdef DOSTORESTATE55 |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1583 |
case 55: |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1584 |
sha1recompress_fast_55(ihvin, ihvout, me2, state); |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1585 |
break; |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1586 |
#endif |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1587 |
#ifdef DOSTORESTATE56 |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1588 |
case 56: |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1589 |
sha1recompress_fast_56(ihvin, ihvout, me2, state); |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1590 |
break; |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1591 |
#endif |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1592 |
#ifdef DOSTORESTATE57 |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1593 |
case 57: |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1594 |
sha1recompress_fast_57(ihvin, ihvout, me2, state); |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1595 |
break; |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1596 |
#endif |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1597 |
#ifdef DOSTORESTATE58 |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1598 |
case 58: |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1599 |
sha1recompress_fast_58(ihvin, ihvout, me2, state); |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1600 |
break; |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1601 |
#endif |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1602 |
#ifdef DOSTORESTATE59 |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1603 |
case 59: |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1604 |
sha1recompress_fast_59(ihvin, ihvout, me2, state); |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1605 |
break; |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1606 |
#endif |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1607 |
#ifdef DOSTORESTATE60 |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1608 |
case 60: |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1609 |
sha1recompress_fast_60(ihvin, ihvout, me2, state); |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1610 |
break; |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1611 |
#endif |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1612 |
#ifdef DOSTORESTATE61 |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1613 |
case 61: |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1614 |
sha1recompress_fast_61(ihvin, ihvout, me2, state); |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1615 |
break; |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1616 |
#endif |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1617 |
#ifdef DOSTORESTATE62 |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1618 |
case 62: |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1619 |
sha1recompress_fast_62(ihvin, ihvout, me2, state); |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1620 |
break; |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1621 |
#endif |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1622 |
#ifdef DOSTORESTATE63 |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1623 |
case 63: |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1624 |
sha1recompress_fast_63(ihvin, ihvout, me2, state); |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1625 |
break; |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1626 |
#endif |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1627 |
#ifdef DOSTORESTATE64 |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1628 |
case 64: |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1629 |
sha1recompress_fast_64(ihvin, ihvout, me2, state); |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1630 |
break; |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1631 |
#endif |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1632 |
#ifdef DOSTORESTATE65 |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1633 |
case 65: |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1634 |
sha1recompress_fast_65(ihvin, ihvout, me2, state); |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1635 |
break; |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1636 |
#endif |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1637 |
#ifdef DOSTORESTATE66 |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1638 |
case 66: |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1639 |
sha1recompress_fast_66(ihvin, ihvout, me2, state); |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1640 |
break; |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1641 |
#endif |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1642 |
#ifdef DOSTORESTATE67 |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1643 |
case 67: |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1644 |
sha1recompress_fast_67(ihvin, ihvout, me2, state); |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1645 |
break; |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1646 |
#endif |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1647 |
#ifdef DOSTORESTATE68 |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1648 |
case 68: |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1649 |
sha1recompress_fast_68(ihvin, ihvout, me2, state); |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1650 |
break; |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1651 |
#endif |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1652 |
#ifdef DOSTORESTATE69 |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1653 |
case 69: |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1654 |
sha1recompress_fast_69(ihvin, ihvout, me2, state); |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1655 |
break; |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1656 |
#endif |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1657 |
#ifdef DOSTORESTATE70 |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1658 |
case 70: |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1659 |
sha1recompress_fast_70(ihvin, ihvout, me2, state); |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1660 |
break; |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1661 |
#endif |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1662 |
#ifdef DOSTORESTATE71 |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1663 |
case 71: |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1664 |
sha1recompress_fast_71(ihvin, ihvout, me2, state); |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1665 |
break; |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1666 |
#endif |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1667 |
#ifdef DOSTORESTATE72 |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1668 |
case 72: |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1669 |
sha1recompress_fast_72(ihvin, ihvout, me2, state); |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1670 |
break; |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1671 |
#endif |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1672 |
#ifdef DOSTORESTATE73 |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1673 |
case 73: |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1674 |
sha1recompress_fast_73(ihvin, ihvout, me2, state); |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1675 |
break; |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1676 |
#endif |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1677 |
#ifdef DOSTORESTATE74 |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1678 |
case 74: |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1679 |
sha1recompress_fast_74(ihvin, ihvout, me2, state); |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1680 |
break; |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1681 |
#endif |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1682 |
#ifdef DOSTORESTATE75 |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1683 |
case 75: |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1684 |
sha1recompress_fast_75(ihvin, ihvout, me2, state); |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1685 |
break; |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1686 |
#endif |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1687 |
#ifdef DOSTORESTATE76 |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1688 |
case 76: |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1689 |
sha1recompress_fast_76(ihvin, ihvout, me2, state); |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1690 |
break; |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1691 |
#endif |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1692 |
#ifdef DOSTORESTATE77 |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1693 |
case 77: |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1694 |
sha1recompress_fast_77(ihvin, ihvout, me2, state); |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1695 |
break; |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1696 |
#endif |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1697 |
#ifdef DOSTORESTATE78 |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1698 |
case 78: |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1699 |
sha1recompress_fast_78(ihvin, ihvout, me2, state); |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1700 |
break; |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1701 |
#endif |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1702 |
#ifdef DOSTORESTATE79 |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1703 |
case 79: |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1704 |
sha1recompress_fast_79(ihvin, ihvout, me2, state); |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1705 |
break; |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1706 |
#endif |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1707 |
default: |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1708 |
abort(); |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1709 |
} |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1710 |
|
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1711 |
} |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1712 |
|
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1713 |
|
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1714 |
|
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1715 |
static void sha1_process(SHA1_CTX* ctx, const uint32_t block[16]) |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1716 |
{ |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1717 |
unsigned i, j; |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1718 |
uint32_t ubc_dv_mask[DVMASKSIZE] = { 0xFFFFFFFF }; |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1719 |
uint32_t ihvtmp[5]; |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1720 |
|
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1721 |
ctx->ihv1[0] = ctx->ihv[0]; |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1722 |
ctx->ihv1[1] = ctx->ihv[1]; |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1723 |
ctx->ihv1[2] = ctx->ihv[2]; |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1724 |
ctx->ihv1[3] = ctx->ihv[3]; |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1725 |
ctx->ihv1[4] = ctx->ihv[4]; |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1726 |
|
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1727 |
sha1_compression_states(ctx->ihv, block, ctx->m1, ctx->states); |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1728 |
|
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1729 |
if (ctx->detect_coll) |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1730 |
{ |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1731 |
if (ctx->ubc_check) |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1732 |
{ |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1733 |
ubc_check(ctx->m1, ubc_dv_mask); |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1734 |
} |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1735 |
|
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1736 |
if (ubc_dv_mask[0] != 0) |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1737 |
{ |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1738 |
for (i = 0; sha1_dvs[i].dvType != 0; ++i) |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1739 |
{ |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1740 |
if (ubc_dv_mask[0] & ((uint32_t)(1) << sha1_dvs[i].maskb)) |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1741 |
{ |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1742 |
for (j = 0; j < 80; ++j) |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1743 |
ctx->m2[j] = ctx->m1[j] ^ sha1_dvs[i].dm[j]; |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1744 |
|
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1745 |
sha1_recompression_step(sha1_dvs[i].testt, ctx->ihv2, ihvtmp, ctx->m2, ctx->states[sha1_dvs[i].testt]); |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1746 |
|
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1747 |
/* to verify SHA-1 collision detection code with collisions for reduced-step SHA-1 */ |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1748 |
if ((0 == ((ihvtmp[0] ^ ctx->ihv[0]) | (ihvtmp[1] ^ ctx->ihv[1]) | (ihvtmp[2] ^ ctx->ihv[2]) | (ihvtmp[3] ^ ctx->ihv[3]) | (ihvtmp[4] ^ ctx->ihv[4]))) |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1749 |
|| (ctx->reduced_round_coll && 0==((ctx->ihv1[0] ^ ctx->ihv2[0]) | (ctx->ihv1[1] ^ ctx->ihv2[1]) | (ctx->ihv1[2] ^ ctx->ihv2[2]) | (ctx->ihv1[3] ^ ctx->ihv2[3]) | (ctx->ihv1[4] ^ ctx->ihv2[4])))) |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1750 |
{ |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1751 |
ctx->found_collision = 1; |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1752 |
|
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1753 |
if (ctx->safe_hash) |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1754 |
{ |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1755 |
sha1_compression_W(ctx->ihv, ctx->m1); |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1756 |
sha1_compression_W(ctx->ihv, ctx->m1); |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1757 |
} |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1758 |
|
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1759 |
break; |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1760 |
} |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1761 |
} |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1762 |
} |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1763 |
} |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1764 |
} |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1765 |
} |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1766 |
|
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1767 |
void SHA1DCInit(SHA1_CTX* ctx) |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1768 |
{ |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1769 |
ctx->total = 0; |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1770 |
ctx->ihv[0] = 0x67452301; |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1771 |
ctx->ihv[1] = 0xEFCDAB89; |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1772 |
ctx->ihv[2] = 0x98BADCFE; |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1773 |
ctx->ihv[3] = 0x10325476; |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1774 |
ctx->ihv[4] = 0xC3D2E1F0; |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1775 |
ctx->found_collision = 0; |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1776 |
ctx->safe_hash = SHA1DC_INIT_SAFE_HASH_DEFAULT; |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1777 |
ctx->ubc_check = 1; |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1778 |
ctx->detect_coll = 1; |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1779 |
ctx->reduced_round_coll = 0; |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1780 |
ctx->callback = NULL; |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1781 |
} |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1782 |
|
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1783 |
void SHA1DCSetSafeHash(SHA1_CTX* ctx, int safehash) |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1784 |
{ |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1785 |
if (safehash) |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1786 |
ctx->safe_hash = 1; |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1787 |
else |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1788 |
ctx->safe_hash = 0; |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1789 |
} |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1790 |
|
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1791 |
|
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1792 |
void SHA1DCSetUseUBC(SHA1_CTX* ctx, int ubc_check) |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1793 |
{ |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1794 |
if (ubc_check) |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1795 |
ctx->ubc_check = 1; |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1796 |
else |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1797 |
ctx->ubc_check = 0; |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1798 |
} |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1799 |
|
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1800 |
void SHA1DCSetUseDetectColl(SHA1_CTX* ctx, int detect_coll) |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1801 |
{ |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1802 |
if (detect_coll) |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1803 |
ctx->detect_coll = 1; |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1804 |
else |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1805 |
ctx->detect_coll = 0; |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1806 |
} |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1807 |
|
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1808 |
void SHA1DCSetDetectReducedRoundCollision(SHA1_CTX* ctx, int reduced_round_coll) |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1809 |
{ |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1810 |
if (reduced_round_coll) |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1811 |
ctx->reduced_round_coll = 1; |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1812 |
else |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1813 |
ctx->reduced_round_coll = 0; |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1814 |
} |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1815 |
|
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1816 |
void SHA1DCSetCallback(SHA1_CTX* ctx, collision_block_callback callback) |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1817 |
{ |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1818 |
ctx->callback = callback; |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1819 |
} |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1820 |
|
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1821 |
void SHA1DCUpdate(SHA1_CTX* ctx, const char* buf, size_t len) |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1822 |
{ |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1823 |
unsigned left, fill; |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1824 |
|
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1825 |
if (len == 0) |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1826 |
return; |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1827 |
|
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1828 |
left = ctx->total & 63; |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1829 |
fill = 64 - left; |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1830 |
|
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1831 |
if (left && len >= fill) |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1832 |
{ |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1833 |
ctx->total += fill; |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1834 |
memcpy(ctx->buffer + left, buf, fill); |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1835 |
sha1_process(ctx, (uint32_t*)(ctx->buffer)); |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1836 |
buf += fill; |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1837 |
len -= fill; |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1838 |
left = 0; |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1839 |
} |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1840 |
while (len >= 64) |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1841 |
{ |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1842 |
ctx->total += 64; |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1843 |
|
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1844 |
#if defined(SHA1DC_ALLOW_UNALIGNED_ACCESS) |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1845 |
sha1_process(ctx, (uint32_t*)(buf)); |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1846 |
#else |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1847 |
memcpy(ctx->buffer, buf, 64); |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1848 |
sha1_process(ctx, (uint32_t*)(ctx->buffer)); |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1849 |
#endif /* defined(SHA1DC_ALLOW_UNALIGNED_ACCESS) */ |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1850 |
buf += 64; |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1851 |
len -= 64; |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1852 |
} |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1853 |
if (len > 0) |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1854 |
{ |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1855 |
ctx->total += len; |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1856 |
memcpy(ctx->buffer + left, buf, len); |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1857 |
} |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1858 |
} |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1859 |
|
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1860 |
static const unsigned char sha1_padding[64] = |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1861 |
{ |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1862 |
0x80, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1863 |
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1864 |
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1865 |
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1866 |
}; |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1867 |
|
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1868 |
int SHA1DCFinal(unsigned char output[20], SHA1_CTX *ctx) |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1869 |
{ |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1870 |
uint32_t last = ctx->total & 63; |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1871 |
uint32_t padn = (last < 56) ? (56 - last) : (120 - last); |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1872 |
uint64_t total; |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1873 |
SHA1DCUpdate(ctx, (const char*)(sha1_padding), padn); |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1874 |
|
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1875 |
total = ctx->total - padn; |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1876 |
total <<= 3; |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1877 |
ctx->buffer[56] = (unsigned char)(total >> 56); |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1878 |
ctx->buffer[57] = (unsigned char)(total >> 48); |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1879 |
ctx->buffer[58] = (unsigned char)(total >> 40); |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1880 |
ctx->buffer[59] = (unsigned char)(total >> 32); |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1881 |
ctx->buffer[60] = (unsigned char)(total >> 24); |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1882 |
ctx->buffer[61] = (unsigned char)(total >> 16); |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1883 |
ctx->buffer[62] = (unsigned char)(total >> 8); |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1884 |
ctx->buffer[63] = (unsigned char)(total); |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1885 |
sha1_process(ctx, (uint32_t*)(ctx->buffer)); |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1886 |
output[0] = (unsigned char)(ctx->ihv[0] >> 24); |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1887 |
output[1] = (unsigned char)(ctx->ihv[0] >> 16); |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1888 |
output[2] = (unsigned char)(ctx->ihv[0] >> 8); |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1889 |
output[3] = (unsigned char)(ctx->ihv[0]); |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1890 |
output[4] = (unsigned char)(ctx->ihv[1] >> 24); |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1891 |
output[5] = (unsigned char)(ctx->ihv[1] >> 16); |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1892 |
output[6] = (unsigned char)(ctx->ihv[1] >> 8); |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1893 |
output[7] = (unsigned char)(ctx->ihv[1]); |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1894 |
output[8] = (unsigned char)(ctx->ihv[2] >> 24); |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1895 |
output[9] = (unsigned char)(ctx->ihv[2] >> 16); |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1896 |
output[10] = (unsigned char)(ctx->ihv[2] >> 8); |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1897 |
output[11] = (unsigned char)(ctx->ihv[2]); |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1898 |
output[12] = (unsigned char)(ctx->ihv[3] >> 24); |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1899 |
output[13] = (unsigned char)(ctx->ihv[3] >> 16); |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1900 |
output[14] = (unsigned char)(ctx->ihv[3] >> 8); |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1901 |
output[15] = (unsigned char)(ctx->ihv[3]); |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1902 |
output[16] = (unsigned char)(ctx->ihv[4] >> 24); |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1903 |
output[17] = (unsigned char)(ctx->ihv[4] >> 16); |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1904 |
output[18] = (unsigned char)(ctx->ihv[4] >> 8); |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1905 |
output[19] = (unsigned char)(ctx->ihv[4]); |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1906 |
return ctx->found_collision; |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1907 |
} |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1908 |
|
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1909 |
#ifdef SHA1DC_CUSTOM_TRAILING_INCLUDE_SHA1_C |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1910 |
#include SHA1DC_CUSTOM_TRAILING_INCLUDE_SHA1_C |
7dddc2251365
sha1dc: import latest version from github
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1911 |
#endif |