Looks like I cut the average execution time of SHA256Transform down from 64.6ns to 43.7ns just by changing the ByteReverse() function in util.h from the C code to the bswap instruction in assembly. However, I'm apparently not computing hashes much faster. Going to have to make small functions to call the library routines for SHA256 so the profiler shows me how much time is spent in them.
last updated 2013-04-10 04:40:02. served from tektonic.jcomeau.com