[CRYPTO] tcrypt: Move sg_init_table out of timing loops
authorHerbert Xu <herbert@gondor.apana.org.au>
Sat, 27 Oct 2007 07:51:21 +0000 (00:51 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sat, 27 Oct 2007 07:51:21 +0000 (00:51 -0700)
commita5a613a4291a8107008e4c40108a385cda71b08d
tree80b125bd9418fe202f652a533f986adc1b50d275
parentceaa79c434044e40031585a65a4e45dc09322e8f
[CRYPTO] tcrypt: Move sg_init_table out of timing loops

This patch moves the sg_init_table out of the timing loops for hash
algorithms so that it doesn't impact on the speed test results.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
crypto/tcrypt.c