Use libcrypto's checksum implementations if available, for speed.