diff options
author | David Hook <dgh@cryptoworkshop.com> | 2014-05-19 12:43:56 +0400 |
---|---|---|
committer | David Hook <dgh@cryptoworkshop.com> | 2014-05-19 12:43:56 +0400 |
commit | d2b9dc8867a39980a817177f2225277000410fdd (patch) | |
tree | d77e05e827ad571093a1b0152483a5e39ea27d54 /prov | |
parent | d910e131beae185d4b23ca72daf62c6eb5bf3cc4 (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.java | 12 |
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() { |