summaryrefslogtreecommitdiffstats
path: root/Source/cmCryptoHash.h
Commit message (Collapse)AuthorAgeFilesLines
* fix a load of include-what-you-use violationsDaniel Pfeifer2016-09-031-2/+2
|
* make sure to include cmConfigure.h before cmStandardIncludes.hDaniel Pfeifer2016-09-031-0/+2
|
* cmCryptoHash: New ByteHash methods that return a byte vectorSebastian Holtermann2016-08-101-0/+15
|
* cmCryptoHash: Return byte vector from internal Finalize methodSebastian Holtermann2016-08-101-3/+3
| | | | | | Some callers may want the raw byte vector instead of the hex character string. Convert the internal implementation to use this so that we can later add public APIs to get it.
* cmCryptoHash: New byte hash to string functionSebastian Holtermann2016-08-101-0/+7
|
* cmCryptoHash: Documentation commentsSebastian Holtermann2016-08-101-0/+14
|
* Avoid using KWSys auto_ptr by adopting it ourselvesBrad King2016-06-291-2/+2
| | | | | | | | | | | | Replace use of cmsys::auto_ptr with a CM_AUTO_PTR macro that maps to our own implementation adopted from the KWSys auto_ptr implementation. Later we may be able to map CM_AUTO_PTR to std::auto_ptr on compilers that do not warn about it. Automate the client site conversions: git grep -l auto_ptr -- Source/ | grep -v Source/kwsys/ | xargs sed -i \ 's|cmsys::auto_ptr|CM_AUTO_PTR|;s|cmsys/auto_ptr.hxx|cm_auto_ptr.hxx|'
* mark functions with CM_OVERRIDEDaniel Pfeifer2016-06-271-4/+4
|
* Revise C++ coding style using clang-formatKitware Robot2016-05-161-15/+20
| | | | | | | | | | | | | Run the `Utilities/Scripts/clang-format.bash` script to update all our C++ code to a new style defined by `.clang-format`. Use `clang-format` version 3.8. * If you reached this commit for a line in `git blame`, re-run the blame operation starting at the parent of this commit to see older history for the content. * See the parent commit for instructions to rebase a change across this style transition commit.
* stringapi: Accept strings when MD5 hashing dataBen Boeckel2014-03-081-2/+2
|
* cmCryptoHash: Add virtual destructorBrad King2011-11-161-0/+1
| | | | | Instances of this class are always subclasses. Use a virtual destructor to ensure the subclasses cleanup correctly.
* cmCryptoHash: Provide factory "New" methodBrad King2011-11-161-0/+3
| | | | | Construct a cmCryptoHash subclass instance based on the name of the desired hash algorithm.
* Add file(SHA*) commands to compute cryptographic hashesBrad King2011-11-161-0/+21
| | | | Add a file() command API for SHA1, SHA224, SHA256, SHA384, and SHA512.
* Factor Compute(File|String)MD5 into cmCryptoHash helperBrad King2011-11-161-0/+40
Define an abstract API around the backend hash algorithm. Expose ifstream errors to HashFile callers. Always try opening the file. Succeed only if the end of file is reached without error.