aboutsummaryrefslogtreecommitdiffstats
path: root/src/randpool.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Avoid C-style casts (as detected by GCC's -Wold-style-cast) and instead use lloyd2007-07-231-1/+1
| | | | static_cast or reinterpret_cast, as needed.
* Write functions to handle loading and saving words a block at a time, taking ↵lloyd2007-05-311-2/+3
| | | | | | | | | | | | | | | | | | into account endian differences. The current code does not take advantage of the knowledge of which endianness we are running on; an optimization suggested by Yves Jerschow is to use (unsafe) casts to speed up the load/store operations. This turns out to provide large performance increases (30% or more) in some cases. Even without the unsafe casts, this version seems to average a few percent faster, probably because the longer loading loops have been partially or fully unrolled. This also makes the code implementing low-level algorithms like ciphers and hashes a bit more succint.
* Bump copyright year to 2007lloyd2007-01-201-1/+1
|
* Initial checkin1.5.6lloyd2006-05-181-0/+189