aboutsummaryrefslogtreecommitdiff
path: root/src/libutil/hash.cc
AgeCommit message (Expand)Author
2020-06-23Fix and clean up hash parserJohn Ericson
2020-06-23Merge remote-tracking branch 'upstream/master' into hash-always-has-typeJohn Ericson
2020-06-19WIP: Make Hash always store a valid hash typeJohn Ericson
2020-06-19Merge remote-tracking branch 'upstream/master' into validPathInfo-ca-proper-d...John Ericson
2020-06-19tabs -> spacesJohn Ericson
2020-06-19Remove some `Base::` that crept inJohn Ericson
2020-06-18Revert the `enum struct` changeJohn Ericson
2020-06-18Merge branch 'enum-class' into no-hash-type-unknownJohn Ericson
2020-06-18Merge remote-tracking branch 'upstream/master' into enum-classJohn Ericson
2020-06-17Merge remote-tracking branch 'origin/master' into flakesEelco Dolstra
2020-06-12Use `std::string_view` in a few more placesJohn Ericson
2020-06-12Fix buildEelco Dolstra
2020-06-12Provide base argument to to_stringMatthew Bauer
2020-06-12Add newHashAllowEmpty helper functionMatthew Bauer
2020-06-02Fix hashesJohn Ericson
2020-06-02Remove `HashType::Unknown`John Ericson
2020-05-10nix: Implement basic bash completionEelco Dolstra
2020-03-29Use `enum struct` and drop prefixesJohn Ericson
2019-10-21Allow content-addressable paths to have referencesEelco Dolstra
2018-12-13Support SRI hashesEelco Dolstra
2018-05-02Fix some random -Wconversion warningsEelco Dolstra
2018-03-22Merge branch 'fix/avoid-large-stack-buffers' of https://github.com/dtzWill/nixEelco Dolstra
2018-03-14Catch more possible instances of passing NULL to memcpy.Shea Levy
2018-03-02don't allocate large buffers on the stackWill Dietz
2018-02-19libutil: Fix invalid assert on decoding base64 hashesTuomas Tynkkynen
2017-07-30Replace Unicode quotes in user-facing strings by ASCIIJörg Thalheim
2017-07-28nix-prefetch-url: Fix regression in hash printingEelco Dolstra
2017-07-10Merge pull request #1422 from nh2/fix-potential-hash-comparison-crashEelco Dolstra
2017-07-04Support base-64 hashesEelco Dolstra
2017-06-24Fix potential crash/wrong result two hashes of unequal length are comparedNiklas Hambüchen
2017-04-28Fix hash computation when importing NARs greater than 4 GiBEelco Dolstra
2017-03-21Move istringstream_nocopy to a separate fileEelco Dolstra
2017-03-06istringstream_nocopy: Implement in a standards-compliant way.Shea Levy
2017-02-08Include config.h implicitly with '-include config.h' in CFLAGSTuomas Tynkkynen
2016-11-06Detect and disallow base32 hash overflowVladimír Čunát
2016-07-21Fix assertion failureEelco Dolstra
2016-07-21NarInfo::NarInfo(): Ensure that we get a NAR size/hashEelco Dolstra
2016-07-11Modernize AutoCloseFDShea Levy
2016-06-09Use O_CLOEXEC in most placesEelco Dolstra
2016-04-20Cache path info lookups in SQLiteEelco Dolstra
2016-01-27Make hashLength32() a method of HashEelco Dolstra
2015-11-04Support SHA-512 hashesEelco Dolstra
2015-11-04Require OpenSSLEelco Dolstra
2015-09-18Shut up clang warningsEelco Dolstra
2015-02-03Simplify parseHash32Eelco Dolstra
2015-02-03Simplify printHash32Eelco Dolstra
2014-08-20Use proper quotes everywhereEelco Dolstra
2012-10-23If hashes do not match, print them in base-32 for SHA-1/SHA-256Eelco Dolstra
2012-02-09Use data() instead of c_str() where appropriateEelco Dolstra
2011-12-15* Refactoring: move sink/source buffering into separate classes.Eelco Dolstra