u-boot/fs/btrfs/crypto
Qu Wenruo 565a4147d1 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>
2020-09-07 20:57:27 -04:00
..
hash.c fs: btrfs: Add more checksum algorithms 2020-09-07 20:57:27 -04:00
hash.h fs: btrfs: Add more checksum algorithms 2020-09-07 20:57:27 -04:00