Lines Matching defs:rounds
155 ctx->dec_key[0][i] = ctx->enc_key[ctx->rounds][i];
156 ctx->dec_key[ctx->rounds][i] = ctx->enc_key[0][i];
159 for (i = 1; i < ctx->rounds; i++) {
160 ctx->dec_key[i][0] = aria_m(ctx->enc_key[ctx->rounds - i][0]);
161 ctx->dec_key[i][1] = aria_m(ctx->enc_key[ctx->rounds - i][1]);
162 ctx->dec_key[i][2] = aria_m(ctx->enc_key[ctx->rounds - i][2]);
163 ctx->dec_key[i][3] = aria_m(ctx->enc_key[ctx->rounds - i][3]);
183 BUILD_BUG_ON(sizeof(int) != sizeof(ctx->rounds));
186 ctx->rounds = (key_len + 32) / 4;
201 int rounds, rkidx = 0;
203 rounds = ctx->rounds;
217 while ((rounds -= 2) > 0) {