commit | b98e8a237ba016bb154f1328b37d1b35f0cc358d | [log] [tgz] |
---|---|---|
author | Qu Wenruo <wqu@suse.com> | Mon Dec 27 14:12:07 2021 +0800 |
committer | Tom Rini <trini@konsulko.com> | Tue Jan 18 08:31:02 2022 -0500 |
tree | 688d80b3e384015e5a31c7def8d4d77c2df1383f | |
parent | 42a9d97f0ce3cd0bba58e783d9560635f1c18d48 [diff] |
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>