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

[PATCH] crypto: cast5: simplify if-statements

2010-10-27 Thread Nicolas Kaiser
nt=50 52428800 Bytes (52 MB) kopiert, 2,37162 s, 22,1 MB/s Signed-off-by: Nicolas Kaiser --- crypto/cast5.c | 74 ++- 1 files changed, 24 insertions(+), 50 deletions(-) diff --git a/crypto/cast5.c b/crypto/cast5.c index a1d2294..4a230dd 1

[PATCH] drivers/crypto: dubious error check

2010-10-24 Thread Nicolas Kaiser
Looks like a copy-and-paste problem to me. Signed-off-by: Nicolas Kaiser --- drivers/crypto/n2_core.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/crypto/n2_core.c b/drivers/crypto/n2_core.c index 88ee015..7614126 100644 --- a/drivers/crypto/n2_core.c +++ b