Searched refs:gSubKeys (Results 1 – 2 of 2) sorted by relevance
218 private int[] gSubKeys; field in TwofishEngine345 gSubKeys = new int[TOTAL_SUBKEYS]; in setKey()381 gSubKeys[i*2] = A; in setKey()383 gSubKeys[i*2 + 1] = A << SK_ROTL | A >>> (32-SK_ROTL); in setKey()451 int x0 = BytesTo32Bits(src, srcIndex) ^ gSubKeys[INPUT_WHITEN]; in encryptBlock()452 int x1 = BytesTo32Bits(src, srcIndex + 4) ^ gSubKeys[INPUT_WHITEN + 1]; in encryptBlock()453 int x2 = BytesTo32Bits(src, srcIndex + 8) ^ gSubKeys[INPUT_WHITEN + 2]; in encryptBlock()454 int x3 = BytesTo32Bits(src, srcIndex + 12) ^ gSubKeys[INPUT_WHITEN + 3]; in encryptBlock()462 x2 ^= t0 + t1 + gSubKeys[k++]; in encryptBlock()464 x3 = (x3 << 1 | x3 >>> 31) ^ (t0 + 2*t1 + gSubKeys[k++]); in encryptBlock()[all …]
META-INF/MANIFEST.MF META-INF/BCKEY.SF META-INF/BCKEY ...