File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
core/src/test/java/org/bouncycastle/crypto/test Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -97,7 +97,7 @@ public void performTest()
9797 private void ctrTest ()
9898 throws Exception
9999 {
100- StreamBlockCipher sb = new G3413CTRBlockCipher (new GOST3412_2015Engine (), 128 );
100+ StreamBlockCipher sb = new G3413CTRBlockCipher (new GOST3412_2015Engine (), 8 );
101101
102102 sb .init (true , new ParametersWithIV (new KeyParameter (Hex .decode ("8899aabbccddeeff0011223344556677fedcba98765432100123456789abcdef" )),
103103 Hex .decode ("0001020304050607" )));
@@ -123,7 +123,7 @@ private void ctrTest()
123123 fail ("cipher text repeats 2" );
124124 }
125125
126- sb = new G3413CTRBlockCipher (new GOST3412_2015Engine (), 128 );
126+ sb = new G3413CTRBlockCipher (new GOST3412_2015Engine (), 8 );
127127
128128 sb .init (true , new ParametersWithIV (new KeyParameter (Hex .decode ("8899aabbccddeeff0011223344556677fedcba98765432100123456789abcdef" )),
129129 Hex .decode ("0001020304050607" )));
You can’t perform that action at this time.
0 commit comments