summaryrefslogtreecommitdiff
path: root/src/buildtool/crypto/hasher.cpp
AgeCommit message (Collapse)Author
2024-11-14crypto: Implement IWYU suggestionsPaul Cristian Sarbu
2024-10-07Enable readability-* checks.Maksim Denisov
2024-07-22Use compile-time polymorphism in HasherMaksim Denisov
...since runtime polymorphism was there just to avoid including openssl as a public dependency. A combination of forward declarations, std::variant and std::unique_ptr is used instead.
2024-07-22Create Hasher using a static functionMaksim Denisov
2022-12-21Crypto: Add SHA512 hasherPaul Cristian Sarbu
Needed by the content-in-CAS git map to check fetched archives' checksums. SHA1 and SHA256 hashers are already implemented.
2022-10-12Add copyright and license notice to all source and header filesKlaus Aehlig
Signed-off-by: Goetz Brasche <goetz.brasche@huawei.com>
2022-09-13Fix build with gcc/g++Oliver Reiche
2022-06-20Crypto: Refactor hash computationOliver Reiche
... by renaming HashGenerator to (incremental) Hasher and dropping support for Git/MD5 hashes. The Hasher does not expose the actual hash implementation.