lists.openwall.net | lists / announce owl-users owl-dev john-users john-dev passwdqc-users yescrypt popa3d-users / oss-security kernel-hardening musl sabotage tlsify passwords / crypt-dev xvendor / Bugtraq Full-Disclosure linux-kernel linux-netdev linux-ext4 linux-hardening linux-cve-announce PHC | |
Open Source and information security mailing list archives
| ||
|
Date: Sun, 11 May 2014 12:32:19 +0200 From: Pavel Machek <pavel@....cz> To: George Spelvin <linux@...izon.com> Cc: arik@...ery.com, david.gnedt@...izone.at, eliad@...ery.com, jan.nikitenko@...il.com, laurent.pinchart+renesas@...asonboard.com, linux-kernel@...r.kernel.org, linux-mmc@...r.kernel.org, linux-spi@...r.kernel.org, linux-wireless@...r.kernel.org, linville@...driver.com, luca@...lho.fi, tony@...mide.com Subject: Re: [PATCH v2 1/3] lib/crc7: Shift crc7() output left 1 bit On Sun 2014-05-11 06:02:11, George Spelvin wrote: > >From 770aa22e6c9c92027e3e21797192ccabb3e7c70e Mon Sep 17 00:00:00 2001 > From: George Spelvin <linux@...izon.com> > Date: Sat, 10 May 2014 10:32:57 -0400 > Subject: [PATCH v2 1/3] lib/crc7: Shift crc7() output left 1 bit > > This eliminates a 1-bit left shift in every single caller, > and makes the inner loop of the CRC computation more efficient. > > Renamed crc7 to crc7_be (big-endian) since the interface changed. > > Also purged #include <linux/crc7.h> from files that don't use it at all. > > Signed-off-by: George Spelvin <linux@...izon.com> Reviewed-by: Pavel Machek <pavel@....cz> > v2: Functions renamed to reflect different results; Pavel Machek > prompted me to think of something not too ugly. Thanks! Pavel -- (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@...r.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists