File tree Expand file tree Collapse file tree
main/java/org/bouncycastle/crypto/modes
test/java/org/bouncycastle/crypto/test Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -73,7 +73,6 @@ public void init(
7373 CipherParameters params )
7474 throws IllegalArgumentException
7575 {
76-
7776 if (params instanceof ParametersWithIV )
7877 {
7978 ParametersWithIV ivParam = (ParametersWithIV )params ;
@@ -92,7 +91,7 @@ public void init(
9291 {
9392 CTR [i ] = 0 ;
9493 }
95-
94+
9695 // if null it's an IV changed only.
9796 if (ivParam .getParameters () != null )
9897 {
@@ -198,7 +197,6 @@ private void generateCTR()
198197 {
199198 throw new IllegalStateException ("attempt to process too many blocks" );
200199 }
201- CTR [start ]++;
202200 }
203201 }
204202
Original file line number Diff line number Diff line change @@ -87,7 +87,7 @@ public String getName()
8787 public void performTest ()
8888 throws Exception
8989 {
90- // super.performTest();
90+ super .performTest ();
9191
9292 ctrTest ();
9393// cfbTest();
You can’t perform that action at this time.
0 commit comments