diff --git a/src/share/classes/com/sun/crypto/provider/AESCrypt.java b/src/share/classes/com/sun/crypto/provider/AESCrypt.java index 12ffe89e0cb834b2f56e236261b421d1755c4ec8..c85f715e96714d6262c39af5dec8f2712486b7fc 100644 --- a/src/share/classes/com/sun/crypto/provider/AESCrypt.java +++ b/src/share/classes/com/sun/crypto/provider/AESCrypt.java @@ -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 }; }