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