< prev index next >

src/java.base/share/classes/com/sun/crypto/provider/SslMacCore.java

Print this page

        

@@ -126,11 +126,11 @@
      *
      * @param input the input buffer.
      * @param offset the offset in <code>input</code> where the input starts.
      * @param len the number of bytes to process.
      */
-    void update(byte input[], int offset, int len) {
+    void update(byte[] input, int offset, int len) {
         if (first == true) {
             // compute digest for 1st pass; start with inner pad
             md.update(secret);
             md.update(pad1);
             first = false;

@@ -209,11 +209,11 @@
             core.init(key, params);
         }
         protected void engineUpdate(byte input) {
             core.update(input);
         }
-        protected void engineUpdate(byte input[], int offset, int len) {
+        protected void engineUpdate(byte[] input, int offset, int len) {
             core.update(input, offset, len);
         }
         protected void engineUpdate(ByteBuffer input) {
             core.update(input);
         }

@@ -242,11 +242,11 @@
             core.init(key, params);
         }
         protected void engineUpdate(byte input) {
             core.update(input);
         }
-        protected void engineUpdate(byte input[], int offset, int len) {
+        protected void engineUpdate(byte[] input, int offset, int len) {
             core.update(input, offset, len);
         }
         protected void engineUpdate(ByteBuffer input) {
             core.update(input);
         }
< prev index next >