michael@107: Index: cipher/cipher.c michael@107: diff -Nau cipher/cipher.c.orig cipher/cipher.c michael@107: --- cipher/cipher.c.orig 2008-09-12 15:23:37.000000000 +0200 michael@107: +++ cipher/cipher.c 2009-02-18 19:07:30.388253084 +0100 michael@107: @@ -97,6 +97,10 @@ michael@107: { &_gcry_cipher_spec_rfc2268_40, michael@107: &dummy_extra_spec, GCRY_CIPHER_RFC2268_40 }, michael@107: #endif michael@107: +#if USE_IDEA michael@107: + { &_gcry_cipher_spec_idea, michael@107: + &dummy_extra_spec, GCRY_CIPHER_IDEA }, michael@107: +#endif michael@107: #if USE_SEED michael@107: { &_gcry_cipher_spec_seed, michael@107: &dummy_extra_spec, GCRY_CIPHER_SEED }, michael@107: Index: src/cipher.h michael@107: diff -Nau src/cipher.h.orig src/cipher.h michael@107: --- src/cipher.h.orig 2008-09-03 12:04:42.000000000 +0200 michael@107: +++ src/cipher.h 2009-02-18 19:09:20.193397539 +0100 michael@107: @@ -105,6 +105,7 @@ michael@107: extern gcry_cipher_spec_t _gcry_cipher_spec_camellia128; michael@107: extern gcry_cipher_spec_t _gcry_cipher_spec_camellia192; michael@107: extern gcry_cipher_spec_t _gcry_cipher_spec_camellia256; michael@107: +extern gcry_cipher_spec_t _gcry_cipher_spec_idea; michael@107: michael@107: extern cipher_extra_spec_t _gcry_cipher_extraspec_tripledes; michael@107: extern cipher_extra_spec_t _gcry_cipher_extraspec_aes; michael@107: Index: tests/basic.c michael@107: diff -Nau tests/basic.c.orig tests/basic.c michael@107: --- tests/basic.c.orig 2008-09-18 16:35:57.000000000 +0200 michael@107: +++ tests/basic.c 2009-02-18 19:10:14.460255272 +0100 michael@107: @@ -1028,6 +1028,9 @@ michael@107: GCRY_CIPHER_CAMELLIA192, michael@107: GCRY_CIPHER_CAMELLIA256, michael@107: #endif michael@107: +#if USE_IDEA michael@107: + GCRY_CIPHER_IDEA, michael@107: +#endif michael@107: 0 michael@107: }; michael@107: static int algos2[] = {