]> git.neil.brown.name Git - history.git/commit
[CRYPTO]: Cleanups based upon suggestions by Jeff Garzik.
authorJames Morris <jmorris@intercode.com.au>
Wed, 30 Oct 2002 06:45:00 +0000 (22:45 -0800)
committerDavid S. Miller <davem@nuts.ninka.net>
Wed, 30 Oct 2002 06:45:00 +0000 (22:45 -0800)
commitb56bc16aa33f97a846bccc295e0189ca55cb5b43
tree81da363a352746e3ee0925bb1208ed925c61767c
parente3f4fb0b9e02371a82dd7fd7a1fc0cd26d43d486
[CRYPTO]: Cleanups based upon suggestions by Jeff Garzik.
- Changed unsigned to unsigned int in algos.
- Consistent use of u32 for flags throughout api.
- Use of unsigned int rather than int for counting things which must
be positive, also replaced size_ts to keep code simpler and lessen
bloat on some archs.
- got rid of some unneeded returns.
- const correctness.
13 files changed:
crypto/api.c
crypto/autoload.c
crypto/cipher.c
crypto/compress.c
crypto/des.c
crypto/digest.c
crypto/internal.h
crypto/md4.c
crypto/md5.c
crypto/sha1.c
crypto/tcrypt.c
crypto/tcrypt.h
include/linux/crypto.h