From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tom Rini Date: Mon, 5 Mar 2018 09:34:49 -0500 Subject: [U-Boot] [PATCH] Add xxhash hashing support In-Reply-To: <1520258115-29823-1-git-send-email-dunaev@tecon.ru> References: <1520258115-29823-1-git-send-email-dunaev@tecon.ru> Message-ID: <20180305143449.GD22474@bill-the-cat.ec.rr.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Mon, Mar 05, 2018 at 04:55:15PM +0300, dunaev at tecon.ru wrote: > From: Dmitry Dunaev Please add some comments about why we're adding this support and where it's used. [snip] > common/image-fit.c | 7 ++ > include/image.h | 12 +++ > include/u-boot/xxhash.h | 143 ++++++++++++++++++++++++++ > lib/Kconfig | 8 ++ > lib/Makefile | 1 + > lib/xxhash.c | 265 ++++++++++++++++++++++++++++++++++++++++++++++++ > tools/Makefile | 2 + > 7 files changed, 438 insertions(+) Please enable this for sandbox, where it should build cleanly and without warnings. If you can add a test for it under test/py/tests/ that would be even better. > diff --git a/include/u-boot/xxhash.h b/include/u-boot/xxhash.h > new file mode 100644 > index 0000000..ecbeb98 > --- /dev/null > +++ b/include/u-boot/xxhash.h > @@ -0,0 +1,143 @@ > +/* > + * xxHash - Extremely Fast Hash algorithm > + * Copyright (C) 2012-2016, Yann Collet. > + * > + * BSD 2-Clause License (http://www.opensource.org/licenses/bsd-license.php) [snip] > diff --git a/lib/xxhash.c b/lib/xxhash.c > new file mode 100644 > index 0000000..c9fe476 > --- /dev/null > +++ b/lib/xxhash.c > @@ -0,0 +1,265 @@ > +/* > + * xxHash - Extremely Fast Hash algorithm > + * Copyright (C) 2012-2016, Yann Collet. > + * > + * BSD 2-Clause License (http://www.opensource.org/licenses/bsd-license.php) SPDX tag only please. Thanks! -- Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: not available URL: