]> err.no Git - linux-2.6/commit
[CRYPTO] Use standard byte order macros wherever possible
authorHerbert Xu <herbert@gondor.apana.org.au>
Sun, 30 Oct 2005 10:25:15 +0000 (21:25 +1100)
committerDavid S. Miller <davem@sunset.davemloft.net>
Mon, 9 Jan 2006 22:15:34 +0000 (14:15 -0800)
commit06ace7a9bafeb9047352707eb79e8eaa0dfdf5f2
treefa22bbc2e8ea5bee00b6aec353783144b6f8735a
parent2df15fffc612b53b2c8e4ff3c981a82441bc00ae
[CRYPTO] Use standard byte order macros wherever possible

A lot of crypto code needs to read/write a 32-bit/64-bit words in a
specific gender.  Many of them open code them by reading/writing one
byte at a time.  This patch converts all the applicable usages over
to use the standard byte order macros.

This is based on a previous patch by Denis Vlasenko.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
22 files changed:
arch/i386/crypto/aes.c
arch/x86_64/crypto/aes.c
crypto/aes.c
crypto/anubis.c
crypto/blowfish.c
crypto/cast5.c
crypto/cast6.c
crypto/crc32c.c
crypto/des.c
crypto/khazad.c
crypto/md4.c
crypto/md5.c
crypto/michael_mic.c
crypto/serpent.c
crypto/sha1.c
crypto/sha256.c
crypto/sha512.c
crypto/tea.c
crypto/tgr192.c
crypto/twofish.c
crypto/wp512.c
drivers/crypto/padlock-aes.c