commit | 0e7b854ed3fa973a548d118b7c2e30c9808bcfd5 | [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 | 07d977f55d34f7f65b929944304bc140313324e5 [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>