Completed
Push — development ( a5a40b...b096dd )
by Nils
07:37
created
install/js/crypt/aes.class.php 1 patch
Braces   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -50,7 +50,9 @@
 block discarded – undo
50 50
      */
51 51
     private static function addRoundKey($state, $w, $rnd, $Nb) {  // xor Round Key into state S [é5.1.4]
52 52
     for ($r = 0; $r < 4; $r++) {
53
-        for ($c = 0; $c < $Nb; $c++) $state[$r][$c] ^= $w[$rnd * 4 + $c][$r];
53
+        for ($c = 0; $c < $Nb; $c++) {
54
+            $state[$r][$c] ^= $w[$rnd * 4 + $c][$r];
55
+        }
54 56
     }
55 57
 
56 58
     return $state;
Please login to merge, or discard this patch.