Skip to content

random crypto cleanups

Denis Vlasenko lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 5 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/51.be_le.patchcrypto/aes.c crypto/anubis.c crypto/blowfish.c +19 more+278 -5012 replies
2/52.wp.patchcrypto/wp512.c+162 -1521 reply
3/53.tf.patchcrypto/twofish.c+85 -1150 replies
4/54.rot64.patcharch/ia64/kernel/ptrace.c include/asm-i386/bitops.h include/asm-ia64/processor.h +1 more+131 -400 replies
5/5z.patchcrypto/anubis.c crypto/khazad.c crypto/tgr192.c +1 more+122 -1350 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/5] random crypto cleanups

1.be_le.patch:
Introduce {load/store}_{be/le}{32/64}() macros and use them instead of open-coded conversions. Introduce BYTEn() macros for extraction of n'th byte from wider integers and use it.

2.wp.patch:
Fix gcc3.4.3 -O2 whirlpool stack overflow.

3.tf.patch:
Dramatically reduce size of twofish key setup code with modest increase of key setup time.

4.rot64.patch:
Introduce 64bit rotations (generic + i386 asm), convert few existing places to use it.
Per previous comments, replace inline -> __inline__ in headers.

z.patch:
use BYTEn() in more places, simplify some tgr192.c bits

Cumulative patch was tested with tcrypt.

Please apply patches 1-4, comment on z.patch.

Patches will be mailed as replies.
--
vda