u-boot/lib/blake2
Qu Wenruo 7c3fd5c25d lib: add BLAKE2 hash support
The code is cross-ported from BLAKE2 reference implementation
(https://github.com/BLAKE2/BLAKE2).

With minimal change to remove unused macros/features.

Currently there is only one user inside U-boot (btrfs), and since it
only utilize BLAKE2B, all other favors are all removed.

Signed-off-by: Qu Wenruo <wqu@suse.com>
[trini: Rename ROUND to R to avoid clash with <linux/bitops.h>
Signed-off-by: Tom Rini <trini@konsulko.com>
2022-01-18 08:31:02 -05:00
..
blake2-impl.h lib: add BLAKE2 hash support 2022-01-18 08:31:02 -05:00
blake2b.c lib: add BLAKE2 hash support 2022-01-18 08:31:02 -05:00