Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/quite/humla-spongycastle.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/prov
diff options
context:
space:
mode:
authorDavid Hook <dgh@cryptoworkshop.com>2014-05-19 12:43:56 +0400
committerDavid Hook <dgh@cryptoworkshop.com>2014-05-19 12:43:56 +0400
commitd2b9dc8867a39980a817177f2225277000410fdd (patch)
treed77e05e827ad571093a1b0152483a5e39ea27d54 /prov
parentd910e131beae185d4b23ca72daf62c6eb5bf3cc4 (diff)
further work on adding StreamCipher to block streaming modes.
Diffstat (limited to 'prov')
-rw-r--r--prov/src/main/java/org/bouncycastle/jce/provider/JCEStreamCipher.java12
1 files changed, 0 insertions, 12 deletions
diff --git a/prov/src/main/java/org/bouncycastle/jce/provider/JCEStreamCipher.java b/prov/src/main/java/org/bouncycastle/jce/provider/JCEStreamCipher.java
index 46104b27..68ef472d 100644
--- a/prov/src/main/java/org/bouncycastle/jce/provider/JCEStreamCipher.java
+++ b/prov/src/main/java/org/bouncycastle/jce/provider/JCEStreamCipher.java
@@ -28,15 +28,12 @@ import javax.crypto.spec.RC5ParameterSpec;
import javax.crypto.spec.SecretKeySpec;
import org.bouncycastle.asn1.pkcs.PrivateKeyInfo;
-import org.bouncycastle.crypto.BlockCipher;
import org.bouncycastle.crypto.CipherParameters;
import org.bouncycastle.crypto.DataLengthException;
-import org.bouncycastle.crypto.StreamBlockCipher;
import org.bouncycastle.crypto.StreamCipher;
import org.bouncycastle.crypto.engines.BlowfishEngine;
import org.bouncycastle.crypto.engines.DESEngine;
import org.bouncycastle.crypto.engines.DESedeEngine;
-import org.bouncycastle.crypto.engines.RC4Engine;
import org.bouncycastle.crypto.engines.SkipjackEngine;
import org.bouncycastle.crypto.engines.TwofishEngine;
import org.bouncycastle.crypto.modes.CFBBlockCipher;
@@ -78,15 +75,6 @@ public class JCEStreamCipher
cipher = engine;
this.ivLength = ivLength;
}
-
- protected JCEStreamCipher(
- BlockCipher engine,
- int ivLength)
- {
- this.ivLength = ivLength;
-
- cipher = new StreamBlockCipher(engine);
- }
protected int engineGetBlockSize()
{