]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[CRYPTO] rmd: Use pointer form of endian swapping operations
authorHerbert Xu <herbert@gondor.apana.org.au>
Mon, 2 Jun 2008 11:30:38 +0000 (21:30 +1000)
committerHerbert Xu <herbert@gondor.apana.org.au>
Thu, 10 Jul 2008 12:35:15 +0000 (20:35 +0800)
commit5cdcc22f25b0766fe16d5dd8e3b2efc91fa4da6e
tree90078f745a3cf28efdc32db030c3505e06c3c74a
parent0936a944068ef68f8b19f437e03f4654c29f2423
[CRYPTO] rmd: Use pointer form of endian swapping operations

This patch converts the relevant code in the rmd implementations to
use the pointer form of the endian swapping operations.  This allows
certain architectures to generate more optimised code.  For example,
on sparc64 this more than halves the CPU cycles on a typical hashing
operation.

Based on a patch by David Miller.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
crypto/rmd128.c
crypto/rmd160.c
crypto/rmd256.c
crypto/rmd320.c