提交 b144744a 编写于 作者: Z zmajo

Merge

......@@ -52,7 +52,7 @@ final class AESCrypt extends SymmetricCipher implements AESConstants
private boolean ROUNDS_14 = false;
/** Session and Sub keys */
private Object[] sessionK = null;
private int[][] sessionK = null;
private int[] K = null;
/** Cipher encryption/decryption key */
......@@ -95,7 +95,7 @@ final class AESCrypt extends SymmetricCipher implements AESConstants
}
// set sub key to the corresponding session Key
this.K = (int[]) sessionK[(decrypting? 1:0)];
this.K = sessionK[(decrypting? 1:0)];
}
/**
......@@ -660,7 +660,7 @@ final class AESCrypt extends SymmetricCipher implements AESConstants
limit = ROUNDS*4;
// store the expanded sub keys into 'sessionK'
sessionK = new Object[] { expandedKe, expandedKd };
sessionK = new int[][] { expandedKe, expandedKd };
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册