Reference random-to-key handlers through the enctype instead of the
authorGreg Hudson <ghudson@mit.edu>
Sun, 27 Feb 2011 19:08:14 +0000 (19:08 +0000)
committerGreg Hudson <ghudson@mit.edu>
Sun, 27 Feb 2011 19:08:14 +0000 (19:08 +0000)
commitec044ad8e3eafb829a43fbd1cb11b94fea6027fb
tree62695fd64027f1041cd18453fe41b1a9b6c08898
parent73b80b790cb90d012600d74c9ce2b36be45c3090
Reference random-to-key handlers through the enctype instead of the
enc_provider, for consistency with string-to-key and the place of
implementation (other enc_provider functions are implemented in the
back end, but random-to-key handlers are in krb).  Use a single
handler for non-DES/DES3 enctypes since it's always just directly
copying the bits.  Collapse the three implementations (des, des3, and
direct) into random_to_key.c, as they're very short, and eliminate the
lib/crypto/krb/rand2key directory.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@24669 dc483132-0cff-0310-8789-dd5450dbe970
61 files changed:
src/Makefile.in
src/configure.in
src/include/k5-int.h
src/lib/crypto/Makefile.in
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/crypto_tests/deps
src/lib/crypto/krb/Makefile.in
src/lib/crypto/krb/arcfour/deps
src/lib/crypto/krb/cf2.c
src/lib/crypto/krb/combine_keys.c
src/lib/crypto/krb/deps
src/lib/crypto/krb/dk/derive.c
src/lib/crypto/krb/dk/stringtokey.c
src/lib/crypto/krb/etypes.c
src/lib/crypto/krb/etypes.h
src/lib/crypto/krb/make_random_key.c
src/lib/crypto/krb/old/deps
src/lib/crypto/krb/prf/deps
src/lib/crypto/krb/rand2key/Makefile.in [deleted file]
src/lib/crypto/krb/rand2key/aes_rand2key.c [deleted file]
src/lib/crypto/krb/rand2key/camellia_rand2key.c [deleted file]
src/lib/crypto/krb/rand2key/deps [deleted file]
src/lib/crypto/krb/rand2key/des3_rand2key.c [deleted file]
src/lib/crypto/krb/rand2key/des_rand2key.c [deleted file]
src/lib/crypto/krb/rand2key/rand2key.h [deleted file]
src/lib/crypto/krb/rand2key/rc4_rand2key.c [deleted file]
src/lib/crypto/krb/random_to_key.c
src/lib/crypto/nss/camellia/deps
src/lib/crypto/nss/deps
src/lib/crypto/nss/des/deps
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/rc4.c
src/lib/crypto/nss/hash_provider/deps
src/lib/crypto/nss/md4/deps
src/lib/crypto/nss/md5/deps
src/lib/crypto/nss/sha1/deps
src/lib/crypto/nss/sha2/deps
src/lib/crypto/openssl/deps
src/lib/crypto/openssl/des/deps
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/rc4.c
src/lib/crypto/openssl/hash_provider/deps
src/lib/crypto/openssl/md4/deps
src/lib/crypto/openssl/md5/deps
src/lib/crypto/openssl/sha1/deps
src/lib/crypto/openssl/sha2/deps