Skip to content

Commit a0dd6f0

Browse files
author
gefeili
committed
Fix the bug in RomulusEngine.RomulusT.reset
1 parent 9dbad2d commit a0dd6f0

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

core/src/main/java/org/bouncycastle/crypto/engines/RomulusEngine.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -628,6 +628,7 @@ public void reset()
628628
Arrays.clear(LR);
629629
Arrays.clear(T);
630630
Arrays.clear(S);
631+
Arrays.clear(CNT_Z);
631632
reset_lfsr_gf56(CNT);
632633
System.arraycopy(npub, 0, Z, 0, 16);
633634
block_cipher(Z, k, T, 0, CNT_Z, (byte)66);

0 commit comments

Comments
 (0)