Re: [PATCH 2/3] [CRYPTO] Add optimized SHA-1 implementation for i486+

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Benjamin Gilbert <bgilbert@...>
Cc: Jeff Garzik <jeff@...>, <akpm@...>, <herbert@...>, <linux-crypto@...>, <linux-kernel@...>
Date: Sunday, June 10, 2007 - 1:33 pm

On Sun, Jun 10, 2007 at 12:47:19PM -0400, Benjamin Gilbert wrote:

That predates lib/sha1.c by a while.

> >How big is the -code- footprint?

lib/sha1.c's footprint is... 621 bytes today. Huh. That's up from 466
bytes when it was introduced and no one's touched it:

http://search.luky.org/ML/linux-kernel.2005/msg06648.html

Stupid compilers.

But anyway. Cache footprint matters. The two big users of SHA1 in the
kernel are /dev/random and IPSec, both of which typically operate on
small chunks of data.

--
Mathematics is the supreme nostalgia of our time.
-

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [PATCH 2/3] [CRYPTO] Add optimized SHA-1 implementation ..., Benjamin Gilbert, (Sun Jun 10, 12:47 pm)
Re: [PATCH 2/3] [CRYPTO] Add optimized SHA-1 implementation ..., Matt Mackall, (Sun Jun 10, 1:33 pm)
[PATCH] [CRYPTO] Add optimized SHA-1 implementation for i486+, Benjamin Gilbert, (Mon Jun 11, 3:50 pm)
[PATCH 1/3] [CRYPTO] Move sha_init() into cryptohash.h, Benjamin Gilbert, (Fri Jun 8, 5:42 pm)