]> git.baikalelectronics.ru Git - kernel.git/commit
[CRYPTO] tcrypt: Shrink speed templates
authorSebastian Siewior <sebastian@breakpoint.cc>
Tue, 11 Mar 2008 13:27:11 +0000 (21:27 +0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Mon, 21 Apr 2008 02:19:21 +0000 (10:19 +0800)
commit5a68ab8f341ac119692e9c329c92a27ef05ac9c8
tree2dcd8083cba1b1e22c4e01c50d479ca2502a1139
parent55126a6be1e314ce83555d1e0e4cb57016a099ad
[CRYPTO] tcrypt: Shrink speed templates

The speed templates as it look always the same. The key size
is repeated for each block size and we test always the same
block size. The addition of one inner loop makes it possible
to get rid of the struct and it is possible to use a tiny
u8 array :)

Signed-off-by: Sebastian Siewior <sebastian@breakpoint.cc>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
crypto/tcrypt.c
crypto/tcrypt.h