Skip to content

random pt4: Moving and sharing code

Matt Mackall lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest12 patches 8 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/12random pt4: Create new rol32/ror32 bitopsdrivers/char/random.c include/linux/bitops.h+22 -51 reply
2/12random pt4: Use them throughout the treecrypto/aes.c crypto/cast5.c crypto/cast6.c +6 more+61 -1100 replies
3/12random pt4: Kill the SHA variantsdrivers/char/random.c+0 -1450 replies
4/12random pt4: Cleanup SHA interfacedrivers/char/random.c+36 -402 replies
5/12random pt4: Move SHA code to lib/drivers/char/random.c include/linux/cryptohash.h lib/Makefile +1 more+118 -1170 replies
6/12random pt4: Replace SHA with faster versionlib/sha1.c+39 -526 replies
7/12random pt4: Update cryptolib to use SHA fro libcrypto/sha1.c+7 -712 replies
8/12random pt4: Move halfmd4 to libdrivers/char/random.c include/linux/cryptohash.h lib/Makefile +1 more+68 -450 replies
9/12random pt4: Kill duplicate halfmd4 in ext3 htreefs/ext3/hash.c include/linux/cryptohash.h lib/halfmd4.c+10 -720 replies
10/12random pt4: Simplify and shrink syncookie codedrivers/char/random.c+30 -480 replies
11/12random pt4: Move syncookies to net/drivers/char/random.c include/linux/random.h net/ipv4/syncookies.c+77 -890 replies
12/12random pt4: Move other tcp/ip bits to net/drivers/char/random.c include/linux/random.h include/net/ip.h +4 more+289 -2930 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/12] random pt4: Moving and sharing code

This series focuses on moving and sharing code in /drivers/char/random.c. It applies on top of -mm2 which contains my earlier patches.

New bitop:
1 Create new rol32/ror32 bitops 2 Use them throughout the tree

Share SHA code in lib:

3  Kill the SHA1 variants
4  Cleanup SHA1 interface
5  Move SHA1 code to lib/
6  Replace SHA1 with faster version
7  Update cryptolib to use SHA1 from lib

Share halfmd4 hash:
8 Move halfMD4 to lib
9 Kill duplicate halfMD4 in ext3 htree

Move network random bits:
10 Simplify and shrink syncookie code 11 Move syncookies to net/
12 Move other tcp/ip bits to net/