lkml.org 
[lkml]   [2004]   [Mar]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 15/22] /dev/random: kill unrolled SHA code
Matt Mackall wrote:
> /dev/random kill unrolled SHA code
>
> Kill the unrolled SHA variants. In the future, we can use cryptoapi
> for faster hash functions.
>
> tiny-mpm/drivers/char/random.c | 146 -----------------------------------------
> 1 files changed, 146 deletions(-)
>
> diff -puN drivers/char/random.c~kill-sha-variants drivers/char/random.c
> --- tiny/drivers/char/random.c~kill-sha-variants 2004-03-20 13:38:34.000000000 -0600
> +++ tiny-mpm/drivers/char/random.c 2004-03-20 13:38:34.000000000 -0600
> @@ -885,9 +885,6 @@ EXPORT_SYMBOL(add_disk_randomness);
> #define HASH_BUFFER_SIZE 5
> #define HASH_EXTRA_SIZE 80
>
> -/* Various size/speed tradeoffs are available. Choose 0..3. */
> -#define SHA_CODE_SIZE 0


So we go from "fast" to "I hope it gets faster in the future"?

Jeff



-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 14:01    [from the cache]
©2003-2014 Jasper Spaans. Advertise on this site