summaryrefslogtreecommitdiffstats
path: root/src/lib/crypto/openssl/enc_provider
diff options
context:
space:
mode:
authorGreg Hudson <ghudson@mit.edu>2012-10-09 14:27:04 -0400
committerGreg Hudson <ghudson@mit.edu>2012-10-09 14:27:04 -0400
commit01f30a7f06110f54c5d69fdd7697347c102f5274 (patch)
treed7103da14e3d895f6c2629647daa3fdde0641759 /src/lib/crypto/openssl/enc_provider
parentfd136728de5b603974e3ec21bc5856406c4e814d (diff)
downloadkrb5-01f30a7f06110f54c5d69fdd7697347c102f5274.tar.gz
krb5-01f30a7f06110f54c5d69fdd7697347c102f5274.tar.xz
krb5-01f30a7f06110f54c5d69fdd7697347c102f5274.zip
De-conditionalize Camellia code
The Camellia enctypes and cksumtypes have received IANA assignments. Add #defines using those assignments to krb5.h, remove the CAMELLIA conditional, and enable testing code as appropriate. The Camellia draft has not received an RFC number yet, so there is no Doxygen markup for the enctype and cksumtype #defines. That can be added once the RFC number is known.
Diffstat (limited to 'src/lib/crypto/openssl/enc_provider')
-rw-r--r--src/lib/crypto/openssl/enc_provider/camellia.c22
1 files changed, 0 insertions, 22 deletions
diff --git a/src/lib/crypto/openssl/enc_provider/camellia.c b/src/lib/crypto/openssl/enc_provider/camellia.c
index f22826bbd4..2173db6a86 100644
--- a/src/lib/crypto/openssl/enc_provider/camellia.c
+++ b/src/lib/crypto/openssl/enc_provider/camellia.c
@@ -29,8 +29,6 @@
#include <openssl/camellia.h>
#include <openssl/modes.h>
-#ifdef CAMELLIA
-
static krb5_error_code
cbc_enc(krb5_key key, const krb5_data *ivec, krb5_crypto_iov *data,
size_t num_data);
@@ -384,23 +382,3 @@ const struct krb5_enc_provider krb5int_enc_camellia256 = {
krb5int_camellia_init_state,
krb5int_default_free_state
};
-
-#else /* CAMELLIA */
-
-/* These won't be used, but are still in the export table. */
-
-krb5_error_code
-krb5int_camellia_cbc_mac(krb5_key key, const krb5_crypto_iov *data,
- size_t num_data, const krb5_data *iv,
- krb5_data *output)
-{
- return EINVAL;
-}
-
-const struct krb5_enc_provider krb5int_enc_camellia128 = {
-};
-
-const struct krb5_enc_provider krb5int_enc_camellia256 = {
-};
-
-#endif /* CAMELLIA */