path: root/paludis/util/sha1.cc
AgeCommit message (Collapse)AuthorLines
2011-10-14Move to/from_bigendian to byte_swap.hhAvatar David Leverton -27/+3
2011-10-14Define a PALUDIS_ constant for big-endiannessAvatar David Leverton -1/+1
This allows it to be referenced from headers, as we don't install config.h
2011-10-14Add DigestRegistryAvatar David Leverton -0/+6
This allows a digest function to be computed given its name, rather than hard-coding the specific digest class.
2010-01-01Speed up SHA1 somewhatAvatar David Leverton -10/+16
On a ~300 megabyte file, g++ 4.3.4: Old version, -march=core2 -O2: ~5.0 seconds New version, -march=core2 -O2: ~3.95 seconds Old version, -march=core2 -O3: ~4.4 seconds New version, -march=core2 -O3: ~3.3 seconds For comparison: sha1sum, coreutils 7.5, -march=core2 -O2: ~2.75 seconds OpenSSL 0.9.8l, -march=core2 -O2: ~2.15 seconds so there's still some way to go yet
2008-02-28Fix 3.4, 4.3, icc compilesAvatar Ciaran McCreesh -0/+1
2008-02-08Tweeeaaak.Avatar David Leverton -53/+55
2008-02-05Tweak more.Avatar David Leverton -13/+13
2008-02-05Tweak.Avatar David Leverton -51/+46
2008-02-04Add a SHA1 implementation.Avatar David Leverton -0/+207