Benjamin Kramer
8a3c49897f
[MD5] Use write32le instead of spelling it out with shifts.
...
No functionality change intended.
llvm-svn: 287757
2016-11-23 11:49:28 +00:00
Rui Ueyama
877c26c844
Add convenient functions to compute hashes of byte vectors.
...
In many sitautions, you just want to compute a hash for one chunk
of data. This patch adds convenient functions for that purpose.
Differential Revision: https://reviews.llvm.org/D26988
llvm-svn: 287726
2016-11-23 00:46:09 +00:00
Alexander Kornienko
f00654e31b
Revert r240137 (Fixed/added namespace ending comments using clang-tidy. NFC)
...
Apparently, the style needs to be agreed upon first.
llvm-svn: 240390
2015-06-23 09:49:53 +00:00
Alexander Kornienko
70bc5f1398
Fixed/added namespace ending comments using clang-tidy. NFC
...
The patch is generated using this command:
tools/clang/tools/extra/clang-tidy/tool/run-clang-tidy.py -fix \
-checks=-*,llvm-namespace-comment -header-filter='llvm/.*|clang/.*' \
llvm/lib/
Thanks to Eugene Kosov for the original patch!
llvm-svn: 240137
2015-06-19 15:57:42 +00:00
Yaron Keren
c8514a3421
Make the MD5 result name consistent between functions, header and source.
...
llvm-svn: 219121
2014-10-06 13:48:07 +00:00
Craig Topper
e1d1294853
Simplify creation of a bunch of ArrayRefs by using None, makeArrayRef or just letting them be implicitly created.
...
llvm-svn: 216525
2014-08-27 05:25:25 +00:00
Eric Christopher
1ec87e8bb0
Add support for adding the contents of a StringRef to the MD5 hash.
...
llvm-svn: 183054
2013-05-31 22:34:56 +00:00
Eric Christopher
85bd745e77
Convert more unsigned char -> uint8_t.
...
llvm-svn: 183053
2013-05-31 22:34:52 +00:00
Eric Christopher
d0910436e7
Fix comment.
...
llvm-svn: 183052
2013-05-31 22:34:48 +00:00
Eric Christopher
606ecda4a1
Move "unsigned char" -> "uint8_t".
...
llvm-svn: 183051
2013-05-31 22:34:34 +00:00
Eric Christopher
fcee6f0abc
ArrayRef-ize MD5 and clean up a few variable names.
...
Add a stringize method to make dumping a bit easier, and add a testcase
exercising a few different paths.
llvm-svn: 182692
2013-05-24 23:08:17 +00:00
Eric Christopher
e1dc3c45e6
Add an md5 library derived from a public domain implementation for dwarf4
...
type signature computation.
llvm-svn: 182348
2013-05-21 01:28:35 +00:00