Skip to content

Commit dd3826a

Browse files
author
gefeili
committed
Fix the issue for #2025
1 parent d73b9c7 commit dd3826a

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ protected void finishAAD(State nextState, boolean isDoFinal)
116116
m_state = nextState;
117117
}
118118

119-
public void processFinalAAD()
119+
protected void processFinalAAD()
120120
{
121121
int aadLen = aadOperator.getLen();
122122
if (aadLen != 0)

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -855,7 +855,7 @@ static void hirose_128_128_256(byte[] h, byte[] g, byte[] m, int mOff)
855855
}
856856

857857
@Override
858-
public void init(byte[] key, byte[] iv)
858+
protected void init(byte[] key, byte[] iv)
859859
throws IllegalArgumentException
860860
{
861861
npub = iv;

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ public XoodyakEngine()
4343
}
4444

4545
@Override
46-
public void init(byte[] key, byte[] iv)
46+
protected void init(byte[] key, byte[] iv)
4747
throws IllegalArgumentException
4848
{
4949
K = key;

0 commit comments

Comments
 (0)