]> err.no Git - linux-2.6/commit
[CRYPTO] padlock: Rearrange context structure to reduce code size
authorHerbert Xu <herbert@gondor.apana.org.au>
Tue, 16 May 2006 12:20:34 +0000 (22:20 +1000)
committerHerbert Xu <herbert@gondor.apana.org.au>
Mon, 26 Jun 2006 07:34:39 +0000 (17:34 +1000)
commit82062c72cd643c99a9e1c231270acbab986fd23f
tree42c1900095bfa27c2f2b5af7566adc9caf7402bf
parent6c2bb98bc33ae33c7a33a133a4cd5a06395fece5
[CRYPTO] padlock: Rearrange context structure to reduce code size

i386 assembly has more compact instructions for accessing 7-bit offsets.
So by moving the large members to the end of the structure we can save
quite a bit of code size.  This patch shaves about 10% or 300 bytes off
the padlock-aes file.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/padlock-aes.c