summary refs log tree commit diff
path: root/crypto/src/security/ParameterUtilities.cs
diff options
context:
space:
mode:
authorPeter Dettman <peter.dettman@bouncycastle.org>2013-12-17 19:16:20 +0700
committerPeter Dettman <peter.dettman@bouncycastle.org>2013-12-17 19:16:20 +0700
commit53e57085de728ff9f23734f64e1a877ee39a327c (patch)
treef82964c348a778251b6cea473f048c84ae1b153c /crypto/src/security/ParameterUtilities.cs
parentMore porting from Java TLS, mainly enum replacement (diff)
downloadBouncyCastle.NET-ed25519-53e57085de728ff9f23734f64e1a877ee39a327c.tar.xz
Clean up all the special handling for IDEA stuff, back to a single release assembly.
Diffstat (limited to 'crypto/src/security/ParameterUtilities.cs')
-rw-r--r--crypto/src/security/ParameterUtilities.cs6
1 files changed, 0 insertions, 6 deletions
diff --git a/crypto/src/security/ParameterUtilities.cs b/crypto/src/security/ParameterUtilities.cs
index bf448edff..b2d7c0dff 100644
--- a/crypto/src/security/ParameterUtilities.cs
+++ b/crypto/src/security/ParameterUtilities.cs
@@ -83,10 +83,8 @@ namespace Org.BouncyCastle.Security
                 CryptoProObjectIdentifiers.GostR28147Cbc);
             AddAlgorithm("HC128");
             AddAlgorithm("HC256");
-#if INCLUDE_IDEA
             AddAlgorithm("IDEA",
                 "1.3.6.1.4.1.188.7.1.1.2");
-#endif
             AddAlgorithm("NOEKEON");
             AddAlgorithm("RC2",
                 PkcsObjectIdentifiers.RC2Cbc,
@@ -234,12 +232,10 @@ namespace Org.BouncyCastle.Security
                 {
                     iv = Cast5CbcParameters.GetInstance(asn1Params).GetIV();
                 }
-#if INCLUDE_IDEA
                 else if (canonical == "IDEA")
                 {
                     iv = IdeaCbcPar.GetInstance(asn1Params).GetIV();
                 }
-#endif
                 else if (canonical == "RC2")
                 {
                     iv = RC2CbcParameter.GetInstance(asn1Params).GetIV();
@@ -288,10 +284,8 @@ namespace Org.BouncyCastle.Security
             if (canonical == "CAST5")
                 return new Cast5CbcParameters(CreateIV(random, 8), 128);
 
-#if INCLUDE_IDEA
             if (canonical == "IDEA")
                 return new IdeaCbcPar(CreateIV(random, 8));
-#endif
 
             if (canonical == "RC2")
                 return new RC2CbcParameter(CreateIV(random, 8));