[PATCH] [lib/Fuzzer] Add SHA1 implementation from public domain.

Kostya Serebryany kcc at google.com
Tue May 12 22:36:37 PDT 2015


Hi chandlerc,

This adds a SHA1 implementation taken from public domain code.
The change is trivial, but as it involves third-party code I'd like
a second pair of eyes before commit.

LibFuzzer can not use SHA1 from openssl because openssl may not be available
and because we may be fuzzing openssl itself.
Using sha1sum via a pipe is too slow.

http://reviews.llvm.org/D9733

Files:
  lib/Fuzzer/CMakeLists.txt
  lib/Fuzzer/FuzzerInternal.h
  lib/Fuzzer/FuzzerSha1.cpp
  lib/Fuzzer/FuzzerUtil.cpp

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D9733.25659.patch
Type: text/x-patch
Size: 12187 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150513/bcfae1e7/attachment.bin>


More information about the llvm-commits mailing list