Searched refs:SBox (Results 1 – 3 of 3) sorted by relevance
60 var SBox = [ variable145 if (direction == "encrypt") { S = SBox; } // Point S to the SBox we're using227 temp = ( (SBox[(temp>>8) & 0xFF]) |228 (SBox[(temp>>16) & 0xFF]<<8) |229 (SBox[(temp>>24) & 0xFF]<<16) |230 (SBox[temp & 0xFF]<<24) ) ^ Rcon[Math.floor(j / Nk) - 1];232 temp = (SBox[(temp>>24) & 0xFF]<<24) |233 (SBox[(temp>>16) & 0xFF]<<16) |234 (SBox[(temp>>8) & 0xFF]<<8) |235 (SBox[temp & 0xFF]);
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]);
559 var SBox = [ variable644 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[(temp>>24) & 0xFF]<<24) |732 (SBox[(temp>>16) & 0xFF]<<16) |733 (SBox[(temp>>8) & 0xFF]<<8) |734 (SBox[temp & 0xFF]);