Index: depends/files/bcprov/org/bouncycastle/crypto/engines/IDEAEngine.java =================================================================== --- depends/files/bcprov/org/bouncycastle/crypto/engines/IDEAEngine.java (revision 0) +++ depends/files/bcprov/org/bouncycastle/crypto/engines/IDEAEngine.java (revision 0) @@ -0,0 +1,55 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package org.bouncycastle.crypto.engines; + +import org.bouncycastle.crypto.*; +import org.bouncycastle.crypto.params.KeyParameter; + +public class IDEAEngine implements BlockCipher +{ + + public IDEAEngine() + { + } + + public void init(boolean forEncryption, CipherParameters params) + { + throw new IllegalArgumentException("IDEA not supported"); + } + + public String getAlgorithmName() + { + return "IDEA"; + } + + public int getBlockSize() + { + return 8; + } + + public int processBlock(byte[] in, int inOff, byte[] out, int outOff) + { + throw new IllegalStateException("IDEA not supported"); + } + + public void reset() + { + } + + protected static final int BLOCK_SIZE = 8; +} Property changes on: depends/files/bcprov/org/bouncycastle/crypto/engines/IDEAEngine.java ___________________________________________________________________ Name: svn:eol-style + native Index: depends/files/bcprov/org/bouncycastle/crypto/engines/IDEAEngine.class =================================================================== Cannot display: file marked as a binary type. svn:mime-type = application/octet-stream Property changes on: depends/files/bcprov/org/bouncycastle/crypto/engines/IDEAEngine.class ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Index: make/depends.xml =================================================================== --- make/depends.xml (revision 579147) +++ make/depends.xml (working copy) @@ -40,7 +40,7 @@ - + @@ -97,7 +97,7 @@ + depends="-extract-props,-extract-mx4j,-extract-dejavu-fonts,-extract-xerces,-extract-idea-from-bcprov" /> + + + + + @@ -151,6 +158,18 @@ + + + + + + + + + + + + - + Index: make/depends.properties =================================================================== --- make/depends.properties (revision 579147) +++ make/depends.properties (working copy) @@ -34,7 +34,8 @@ junit.md5=28e7eb9eeefe31a657c68755bfccc541 bcprov.dir=${depends.jars}/bcprov-jdk15-137 -bcprov.jar=${bcprov.dir}/bcprov.jar +bcprov.orig.jar=${bcprov.dir}/bcprov.jar +bcprov.jar=${bcprov.dir}/bcprov.noidea.jar bcprov.url=http://www.bouncycastle.org/download/bcprov-jdk15-137.jar bcprov.md5=7cdb436aaa4b222db7fc02495dfcde51