Consolidate almost all lib/crypto/krb headers into a single
authorGreg Hudson <ghudson@mit.edu>
Wed, 2 Mar 2011 05:29:29 +0000 (05:29 +0000)
committerGreg Hudson <ghudson@mit.edu>
Wed, 2 Mar 2011 05:29:29 +0000 (05:29 +0000)
commitce6d249fdf1dd7dda5b202836ed387500324ae2a
treeb0550b898743ddfdff76ac6647fca7a12d6db284
parente2d6d9ce23b878334d70a0f9c697064873619b75
Consolidate almost all lib/crypto/krb headers into a single
crypto_int.h.  In that header, define and document responsibilities
for crypto modules, some of which are satisfied through a
module-specific crypto_mod.h.  In the OpenSSL and NSS modules, remove
many of the headers and sources providing functionality which isn't
needed by lib/crypto/krb any more (direct interfaces to MD4, MD5, and
SHA-1 hashing, as well as DES weak key testing).  Change most
Makefile.ins to only include headers from lib/crypto/krb and
lib/crypto/$(CRYPTO_IMPL), instead of from many different directories.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@24677 dc483132-0cff-0310-8789-dd5450dbe970
212 files changed:
src/include/k5-int.h
src/lib/crypto/builtin/Makefile.in
src/lib/crypto/builtin/crypto_mod.h [moved from src/lib/crypto/openssl/sha2/sha2.h with 73% similarity]
src/lib/crypto/builtin/deps
src/lib/crypto/builtin/des/Makefile.in
src/lib/crypto/builtin/des/afsstring2key.c
src/lib/crypto/builtin/des/d3_aead.c
src/lib/crypto/builtin/des/deps
src/lib/crypto/builtin/des/des_int.h
src/lib/crypto/builtin/des/f_aead.c
src/lib/crypto/builtin/des/f_parity.c
src/lib/crypto/builtin/des/string2key.c
src/lib/crypto/builtin/enc_provider/Makefile.in
src/lib/crypto/builtin/enc_provider/aes.c
src/lib/crypto/builtin/enc_provider/camellia.c
src/lib/crypto/builtin/enc_provider/deps
src/lib/crypto/builtin/enc_provider/des.c
src/lib/crypto/builtin/enc_provider/des3.c
src/lib/crypto/builtin/enc_provider/rc4.c
src/lib/crypto/builtin/hash_provider/Makefile.in
src/lib/crypto/builtin/hash_provider/deps
src/lib/crypto/builtin/hash_provider/hash_crc32.c
src/lib/crypto/builtin/hash_provider/hash_md4.c
src/lib/crypto/builtin/hash_provider/hash_md5.c
src/lib/crypto/builtin/hash_provider/hash_sha1.c
src/lib/crypto/builtin/hmac.c
src/lib/crypto/builtin/init.c
src/lib/crypto/builtin/pbkdf2.c
src/lib/crypto/crypto_tests/Makefile.in
src/lib/crypto/crypto_tests/aes-test.c
src/lib/crypto/crypto_tests/deps
src/lib/crypto/crypto_tests/t_cmac.c
src/lib/crypto/crypto_tests/t_crc.c
src/lib/crypto/crypto_tests/t_cts.c
src/lib/crypto/crypto_tests/t_derive.c
src/lib/crypto/crypto_tests/t_encrypt.c
src/lib/crypto/crypto_tests/t_hmac.c
src/lib/crypto/crypto_tests/t_mddriver.c
src/lib/crypto/crypto_tests/t_nfold.c
src/lib/crypto/crypto_tests/vectors.c
src/lib/crypto/krb/Makefile.in
src/lib/crypto/krb/aead.c
src/lib/crypto/krb/aead.h [deleted file]
src/lib/crypto/krb/arcfour/Makefile.in
src/lib/crypto/krb/arcfour/arcfour.c
src/lib/crypto/krb/arcfour/arcfour.h [deleted file]
src/lib/crypto/krb/arcfour/arcfour_s2k.c
src/lib/crypto/krb/arcfour/deps
src/lib/crypto/krb/block_size.c
src/lib/crypto/krb/cf2.c
src/lib/crypto/krb/checksum/Makefile.in
src/lib/crypto/krb/checksum/cbc.c
src/lib/crypto/krb/checksum/cmac.c
src/lib/crypto/krb/checksum/confounder.c
src/lib/crypto/krb/checksum/deps
src/lib/crypto/krb/checksum/hmac_md5.c
src/lib/crypto/krb/checksum/unkeyed.c
src/lib/crypto/krb/checksum_length.c
src/lib/crypto/krb/cksumtype_to_string.c
src/lib/crypto/krb/cksumtypes.c
src/lib/crypto/krb/cksumtypes.h [deleted file]
src/lib/crypto/krb/coll_proof_cksum.c
src/lib/crypto/krb/combine_keys.c
src/lib/crypto/krb/crc32/Makefile.in
src/lib/crypto/krb/crc32/crc-32.h [deleted file]
src/lib/crypto/krb/crc32/crc32.c
src/lib/crypto/krb/crc32/deps
src/lib/crypto/krb/crypto_int.h [new file with mode: 0644]
src/lib/crypto/krb/crypto_length.c
src/lib/crypto/krb/crypto_libinit.c
src/lib/crypto/krb/decrypt.c
src/lib/crypto/krb/decrypt_iov.c
src/lib/crypto/krb/default_state.c
src/lib/crypto/krb/deps
src/lib/crypto/krb/dk/Makefile.in
src/lib/crypto/krb/dk/checksum_cmac.c
src/lib/crypto/krb/dk/checksum_hmac.c
src/lib/crypto/krb/dk/deps
src/lib/crypto/krb/dk/derive.c
src/lib/crypto/krb/dk/dk.h [deleted file]
src/lib/crypto/krb/dk/dk_aead.c
src/lib/crypto/krb/dk/dk_cmac.c
src/lib/crypto/krb/dk/stringtokey.c
src/lib/crypto/krb/encrypt.c
src/lib/crypto/krb/encrypt_iov.c
src/lib/crypto/krb/encrypt_length.c
src/lib/crypto/krb/enctype_util.c
src/lib/crypto/krb/etypes.c
src/lib/crypto/krb/etypes.h [deleted file]
src/lib/crypto/krb/key.c
src/lib/crypto/krb/keyblocks.c
src/lib/crypto/krb/keyed_checksum_types.c
src/lib/crypto/krb/keyed_cksum.c
src/lib/crypto/krb/keylengths.c
src/lib/crypto/krb/make_checksum.c
src/lib/crypto/krb/make_checksum_iov.c
src/lib/crypto/krb/make_random_key.c
src/lib/crypto/krb/mandatory_sumtype.c
src/lib/crypto/krb/nfold.c
src/lib/crypto/krb/old/Makefile.in
src/lib/crypto/krb/old/deps
src/lib/crypto/krb/old/des_stringtokey.c
src/lib/crypto/krb/old/old.h [deleted file]
src/lib/crypto/krb/old/old_aead.c
src/lib/crypto/krb/old_api_glue.c
src/lib/crypto/krb/prf.c
src/lib/crypto/krb/prf/Makefile.in
src/lib/crypto/krb/prf/cmac_prf.c
src/lib/crypto/krb/prf/deps
src/lib/crypto/krb/prf/des_prf.c
src/lib/crypto/krb/prf/dk_prf.c
src/lib/crypto/krb/prf/prf_int.h [deleted file]
src/lib/crypto/krb/prf/rc4_prf.c
src/lib/crypto/krb/prng.c
src/lib/crypto/krb/prng.h [deleted file]
src/lib/crypto/krb/prng_fortuna.c
src/lib/crypto/krb/prng_nss.c
src/lib/crypto/krb/prng_os.c
src/lib/crypto/krb/random_to_key.c
src/lib/crypto/krb/raw/deps
src/lib/crypto/krb/raw/raw.h [deleted file]
src/lib/crypto/krb/raw/raw_aead.c
src/lib/crypto/krb/state.c
src/lib/crypto/krb/string_to_cksumtype.c
src/lib/crypto/krb/string_to_key.c
src/lib/crypto/krb/valid_cksumtype.c
src/lib/crypto/krb/verify_checksum.c
src/lib/crypto/krb/verify_checksum_iov.c
src/lib/crypto/libk5crypto.exports
src/lib/crypto/nss/Makefile.in
src/lib/crypto/nss/aes/Makefile.in
src/lib/crypto/nss/camellia/Makefile.in
src/lib/crypto/nss/crypto_mod.h [moved from src/lib/crypto/openssl/md4/md4.c with 63% similarity]
src/lib/crypto/nss/deps
src/lib/crypto/nss/des/Makefile.in
src/lib/crypto/nss/des/deps
src/lib/crypto/nss/des/des_int.h [deleted file]
src/lib/crypto/nss/des/des_oldapis.c
src/lib/crypto/nss/des/f_parity.c
src/lib/crypto/nss/des/string2key.c
src/lib/crypto/nss/des/weak_key.c [deleted file]
src/lib/crypto/nss/enc_provider/Makefile.in
src/lib/crypto/nss/enc_provider/aes.c
src/lib/crypto/nss/enc_provider/camellia.c
src/lib/crypto/nss/enc_provider/deps
src/lib/crypto/nss/enc_provider/des.c
src/lib/crypto/nss/enc_provider/des3.c
src/lib/crypto/nss/enc_provider/enc_gen.c
src/lib/crypto/nss/enc_provider/enc_provider.h [deleted file]
src/lib/crypto/nss/enc_provider/rc4.c
src/lib/crypto/nss/hash_provider/Makefile.in
src/lib/crypto/nss/hash_provider/deps
src/lib/crypto/nss/hash_provider/hash_crc32.c
src/lib/crypto/nss/hash_provider/hash_gen.c
src/lib/crypto/nss/hash_provider/hash_md4.c
src/lib/crypto/nss/hash_provider/hash_md5.c
src/lib/crypto/nss/hash_provider/hash_provider.h [deleted file]
src/lib/crypto/nss/hash_provider/hash_sha1.c
src/lib/crypto/nss/hmac.c
src/lib/crypto/nss/md4/Makefile.in
src/lib/crypto/nss/md5/Makefile.in
src/lib/crypto/nss/md5/deps
src/lib/crypto/nss/md5/md5.c [deleted file]
src/lib/crypto/nss/md5/rsa-md5.h [deleted file]
src/lib/crypto/nss/pbkdf2.c
src/lib/crypto/nss/prng.c
src/lib/crypto/nss/sha1/Makefile.in
src/lib/crypto/nss/sha1/deps
src/lib/crypto/nss/sha1/shs.c [deleted file]
src/lib/crypto/nss/sha1/shs.h [deleted file]
src/lib/crypto/nss/sha2/Makefile.in
src/lib/crypto/openssl/Makefile.in
src/lib/crypto/openssl/camellia/Makefile.in
src/lib/crypto/openssl/crypto_mod.h [moved from src/lib/crypto/openssl/aes/aes.h with 72% similarity]
src/lib/crypto/openssl/deps
src/lib/crypto/openssl/des/Makefile.in
src/lib/crypto/openssl/des/deps
src/lib/crypto/openssl/des/des_int.h [deleted file]
src/lib/crypto/openssl/des/des_oldapis.c
src/lib/crypto/openssl/des/f_parity.c
src/lib/crypto/openssl/des/string2key.c
src/lib/crypto/openssl/des/weak_key.c [deleted file]
src/lib/crypto/openssl/enc_provider/Makefile.in
src/lib/crypto/openssl/enc_provider/aes.c
src/lib/crypto/openssl/enc_provider/camellia.c
src/lib/crypto/openssl/enc_provider/deps
src/lib/crypto/openssl/enc_provider/des.c
src/lib/crypto/openssl/enc_provider/des3.c
src/lib/crypto/openssl/enc_provider/enc_provider.h [deleted file]
src/lib/crypto/openssl/enc_provider/rc4.c
src/lib/crypto/openssl/hash_provider/Makefile.in
src/lib/crypto/openssl/hash_provider/deps
src/lib/crypto/openssl/hash_provider/hash_crc32.c
src/lib/crypto/openssl/hash_provider/hash_md4.c
src/lib/crypto/openssl/hash_provider/hash_md5.c
src/lib/crypto/openssl/hash_provider/hash_provider.h [deleted file]
src/lib/crypto/openssl/hash_provider/hash_sha1.c
src/lib/crypto/openssl/hmac.c
src/lib/crypto/openssl/init.c
src/lib/crypto/openssl/md4/Makefile.in
src/lib/crypto/openssl/md4/deps
src/lib/crypto/openssl/md4/rsa-md4.h [deleted file]
src/lib/crypto/openssl/md5/Makefile.in
src/lib/crypto/openssl/md5/deps
src/lib/crypto/openssl/md5/md5.c [deleted file]
src/lib/crypto/openssl/md5/rsa-md5.h [deleted file]
src/lib/crypto/openssl/pbkdf2.c
src/lib/crypto/openssl/sha1/Makefile.in
src/lib/crypto/openssl/sha1/deps
src/lib/crypto/openssl/sha1/shs.c [deleted file]
src/lib/crypto/openssl/sha1/shs.h [deleted file]
src/lib/crypto/openssl/sha2/Makefile.in