-
Notifications
You must be signed in to change notification settings - Fork 83
Open
Description
... due BC not really supporting CFB-1 : http://www.bouncycastle.org/jira/browse/BJA-530
attempts to use such JCE Cipher instance will end as java.lang.ArithmeticException: / by zero
java.lang.ArithmeticException: / by zero
at org.bouncycastle.crypto.paddings.PaddedBufferedBlockCipher.getUpdateOutputSize(Unknown Source)
at org.bouncycastle.jcajce.provider.symmetric.util.BaseBlockCipher$BufferedGenericBlockCipher.getUpdateOutputSize(Unknown Source)
at org.bouncycastle.jcajce.provider.symmetric.util.BaseBlockCipher.engineUpdate(Unknown Source)
at javax.crypto.Cipher.update(Cipher.java:1714)
at org.jruby.ext.openssl.Cipher.update(Cipher.java:1092)
originally reported as #31
--- Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/9433593-cfb1-block-mode-does-not-work?utm_campaign=plugin&utm_content=tracker%2F136995&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F136995&utm_medium=issues&utm_source=github).Metadata
Metadata
Assignees
Labels
No labels