Re: [PATCH] crypto: cast5: simplify if-statements

2010-11-04 Thread Herbert Xu
On Wed, Oct 27, 2010 at 12:03:24PM +0200, Nicolas Kaiser wrote: > I noticed that by factoring out common rounds from the > branches of the if-statements in the encryption and > decryption functions, the executable file size goes down > significantly, for crypto/cast5.ko from 26688 bytes > to 24336

Re: [PATCH] crypto: cast5: simplify if-statements

2010-11-04 Thread Nicolas Kaiser
* Nicolas Kaiser : > I noticed that by factoring out common rounds from the > branches of the if-statements in the encryption and > decryption functions, the executable file size goes down > significantly, for crypto/cast5.ko from 26688 bytes > to 24336 bytes (amd64). > > On my test system, I saw

[PATCH] crypto: cast5: simplify if-statements

2010-10-27 Thread Nicolas Kaiser
I noticed that by factoring out common rounds from the branches of the if-statements in the encryption and decryption functions, the executable file size goes down significantly, for crypto/cast5.ko from 26688 bytes to 24336 bytes (amd64). On my test system, I saw a slight speedup. This is the fir