aboutsummaryrefslogtreecommitdiff
path: root/src/libutil/hash.cc
AgeCommit message (Expand)Author
2020-07-03Merge branch 'hash-always-has-type' of github.com:obsidiansystems/nix into be...John Ericson
2020-07-03Merge branch 'master' of github.com:NixOS/nix into hash-always-has-typeJohn Ericson
2020-07-02Have `splitPrefix` and `splitPrefixTo` parser helpersJohn Ericson
2020-07-02Move `getParsedTypeAndSRI` to a more suitable locationJohn Ericson
2020-07-02Fix abort in 'nix develop'Eelco Dolstra
2020-07-02Write the implementation for parseNonSRIUnprefixedCarlo Nucera
2020-07-02Abstract common parsing functionalityCarlo Nucera
2020-07-02Inline and simplify in parseAnyPrefixedCarlo Nucera
2020-07-02Rename fromSRI to parseSRI for constistencyCarlo Nucera
2020-07-02Get rid of the std::pairCarlo Nucera
2020-07-02Inline newFunctionCarlo Nucera
2020-07-02Fix test suiteCarlo Nucera
2020-07-01Rename two hash constructors to proper functionsCarlo Nucera
2020-07-01Inline Hash::init()Carlo Nucera
2020-07-01Keep the previous name, for diffingCarlo Nucera
2020-07-01Fixed build, we still have test errorsCarlo Nucera
2020-06-30WIP initial designCarlo Nucera
2020-06-30Factor the prefix splitting in hashCarlo Nucera
2020-06-29Merge remote-tracking branch 'upstream/master' into hash-always-has-typeJohn Ericson
2020-06-25Fix empty std::optional dereference in writeDerivation()Eelco Dolstra
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-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-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