Lines Matching refs:dec_key
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()
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()
165 aria_diff_word(&ctx->dec_key[i][0], &ctx->dec_key[i][1], in aria_set_decrypt_key()
166 &ctx->dec_key[i][2], &ctx->dec_key[i][3]); in aria_set_decrypt_key()
167 aria_diff_byte(&ctx->dec_key[i][1], in aria_set_decrypt_key()
168 &ctx->dec_key[i][2], &ctx->dec_key[i][3]); in aria_set_decrypt_key()
169 aria_diff_word(&ctx->dec_key[i][0], &ctx->dec_key[i][1], in aria_set_decrypt_key()
170 &ctx->dec_key[i][2], &ctx->dec_key[i][3]); in aria_set_decrypt_key()
182 BUILD_BUG_ON(sizeof(ctx->dec_key) != 272); in aria_set_key()
262 __aria_crypt(ctx, out, in, ctx->dec_key); in aria_decrypt()
277 __aria_crypt(ctx, out, in, ctx->dec_key); in __aria_decrypt()