README
1This directory contains files copied as-is from the whirlpool.zip[1]
2implementation hosted at
3http://www.larc.usp.br/~pbarreto/WhirlpoolPage.html and retrieved on
42014-10-04.
5
6I've only copied the Whirlpool.c[2] and nessie.h[3] files from that
7zip file. The Whirlpool.c has had some minor patches (sent
8upstream[4]) to fix warnings. That's all in the testing code that
9isn't actually used by this module.
10
11The nessie.h file has had a lot of unused code removed (presumably
12copied from some generic compatibility library) because e.g. the
13ROTL32 macro clashed with hv_func.h in Perl itself. Since it and some
14typedefs weren't being used at all I just removed them.
15
16-- Ævar Arnfjörð Bjarmason <avar@cpan.org>
17
181. sha1sum: 44f26b75ef37145324f4b3c0cd1966f5779a5d11, 632415 bytes in
19 size.
202. sha1sum: 552965a5b88297f7c649778f5a44aa1319a12179, 135357 bytes in
21 size.
223. sha1sum: 33935f3c237f49855dec5579ce6ccb6a533bd0bb, 3884 bytes in
23 size.
244. I got this reply from Paulo S.L.M. Barreto after sending him the
25 patch:
26
27 This problem has been related before, but there's not really
28 much I can do. It was a "feature" of the NESSIE project
29 standard interface and test modules, and since the NESSIE
30 project ended some 11 years ago (the code itself is 14 years
31 old), all that stuff is more of historical interest. Also, that
32 implementation uses large tables; there are better ways to
33 implement Whirlpool (lookup e.g. WhirlBob for some recent
34 ideas).
35