changeset 11856:283c8d76ec26

Merge
author zmajo
date Wed, 10 Aug 2016 16:24:01 +0000
parents fd0e0898721c 97e13a3ec1d8
children dad995b4a62d
files
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/src/share/classes/com/sun/crypto/provider/AESCrypt.java	Wed Aug 10 16:33:24 2016 +0100
+++ b/src/share/classes/com/sun/crypto/provider/AESCrypt.java	Wed Aug 10 16:24:01 2016 +0000
@@ -52,7 +52,7 @@
     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 @@
         }
 
         // 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 @@
         limit = ROUNDS*4;
 
         // store the expanded sub keys into 'sessionK'
-        sessionK = new Object[] { expandedKe, expandedKd };
+        sessionK = new int[][] { expandedKe, expandedKd };
     }