commit | 565a4147d17ae3b05531b8c3081ca5fa5bcd72fd | [log] [tgz] |
---|---|---|
author | Qu Wenruo <wqu@suse.com> | Wed Jun 24 18:02:48 2020 +0200 |
committer | Tom Rini <trini@konsulko.com> | Mon Sep 07 20:57:27 2020 -0400 |
tree | 4c79026f0d221a7ccd98145c335c8d4d03127949 | |
parent | 3b4b40c0d6c02c9a4adc684cf125f628651caf4c [diff] |
fs: btrfs: Add more checksum algorithms This mostly crossports crypto/hash.[ch] from btrfs-progs. The differences are: - No blake2 support No blake2 related library in U-Boot yet. - Use uboot xxhash/sha256 directly No need to implement the code as U-Boot has already provided the interface. This adds the support for the following csums: - SHA256 - XXHASH Signed-off-by: Qu Wenruo <wqu@suse.com> Reviewed-by: Marek BehĂșn <marek.behun@nic.cz>