HomeSort by relevance Sort by last modified time
    Searched defs:KC (Results 1 - 3 of 3) sorted by null

  /external/ipsec-tools/src/racoon/missing/crypto/rijndael/
rijndael-alg-fst.c 46 int KC = ROUNDS - 6;
48 for (j = KC-1; j >= 0; j--) {
54 for (j = 0; (j < KC) && (r < ROUNDS + 1); ) {
55 for (; (j < KC) && (t < 4); j++, t++) {
66 tk[0][0] ^= S[tk[KC-1][1]];
67 tk[0][1] ^= S[tk[KC-1][2]];
68 tk[0][2] ^= S[tk[KC-1][3]];
69 tk[0][3] ^= S[tk[KC-1][0]];
72 if (KC != 8) {
73 for (j = 1; j < KC; j++)
    [all...]
  /external/bouncycastle/src/main/java/org/bouncycastle/crypto/engines/
AESEngine.java 275 int KC = key.length / 4; // key length in words
278 if (((KC != 4) && (KC != 6) && (KC != 8)) || ((KC * 4) != key.length))
283 ROUNDS = KC + 6; // This is not always true for the generalized Rijndael that allows larger block sizes
304 for (i = KC; (i < k); i++)
307 if ((i % KC) == 0)
309 temp = subWord(shift(temp, 8)) ^ rcon[(i / KC)-1];
311 else if ((KC > 6) && ((i % KC) == 4)
    [all...]
AESFastEngine.java     [all...]

Completed in 40 milliseconds