Searched refs:SBox (Results 1 – 2 of 2) sorted by relevance
487 var SBox = [ variable572 if (direction == "encrypt") { S = SBox; } // Point S to the SBox we're using654 temp = ( (SBox[(temp>>8) & 0xFF]) |655 (SBox[(temp>>16) & 0xFF]<<8) |656 (SBox[(temp>>24) & 0xFF]<<16) |657 (SBox[temp & 0xFF]<<24) ) ^ Rcon[Math.floor(j / Nk) - 1];659 temp = (SBox[(temp>>24) & 0xFF]<<24) |660 (SBox[(temp>>16) & 0xFF]<<16) |661 (SBox[(temp>>8) & 0xFF]<<8) |662 (SBox[temp & 0xFF]);
558 // Precomputed lookup table for the SBox559 var SBox = [ variable 579 // Precomputed lookup table for the inverse SBox644 if (direction == "encrypt") { S = SBox; } // Point S to the SBox we're using726 temp = ( (SBox[(temp>>8) & 0xFF]) |727 (SBox[(temp>>16) & 0xFF]<<8) |728 (SBox[(temp>>24) & 0xFF]<<16) |729 (SBox[temp & 0xFF]<<24) ) ^ Rcon[Math.floor(j / Nk) - 1];731 temp = (SBox[(tem[all...]