sha1 hash using libgcrypt different from what returns sha1sum

Werner Koch wk at gnupg.org
Wed Nov 13 20:00:20 CET 2013


On Wed, 13 Nov 2013 15:57, dkg at fifthhorseman.net said:

> If you don't mind burning a lot of CPU, it's pretty easy to generate a
> test vector from /dev/zero ("pee" is from the moreutils package, but

That is not the problem.  The hashing of 256GB takes alone 14 minutes on
my box - using the latest optimized code.  Nothing you want to do
everytime in a regression suite.

tools/mk-tdata can easily be changed to emit large non-compressable
blocks.

Shalom-Salam,

   Werner


-- 
Die Gedanken sind frei.  Ausnahmen regelt ein Bundesgesetz.




More information about the Gnupg-devel mailing list