Lines Matching defs:rounds
65 rounds:4,
328 uint32_t rounds;
353 ctx->cword.encrypt.rounds = 10 + (key_len - 16) / 4;
354 ctx->cword.decrypt.rounds = ctx->cword.encrypt.rounds;
400 rounds = 10 + (key_len - 16) / 4;
402 for (i = 0; i < rounds; i++) {
403 P[((i + 1) * 4) + 0] = D_KEY[((rounds - i - 1) * 4) + 0];
404 P[((i + 1) * 4) + 1] = D_KEY[((rounds - i - 1) * 4) + 1];
405 P[((i + 1) * 4) + 2] = D_KEY[((rounds - i - 1) * 4) + 2];
406 P[((i + 1) * 4) + 3] = D_KEY[((rounds - i - 1) * 4) + 3];
409 P[0] = E_KEY[(rounds * 4) + 0];
410 P[1] = E_KEY[(rounds * 4) + 1];
411 P[2] = E_KEY[(rounds * 4) + 2];
412 P[3] = E_KEY[(rounds * 4) + 3];