aboutsummaryrefslogtreecommitdiffstats
path: root/lib/blake2
Commit message (Collapse)AuthorAgeFilesLines
* lib: Remove duplicate newlinesMarek Vasut2024-07-151-4/+0
| | | | | | Drop all duplicate newlines. No functional change. Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
* lib: add BLAKE2 hash supportQu Wenruo2022-01-182-0/+474
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>