Lines Matching refs:swap_w
959 int swap_w = swap * 0x3; in aesenc_MC_swap() local
971 r->w[swap_w ^ 0] = t; in aesenc_MC_swap()
980 r->w[swap_w ^ 1] = t; in aesenc_MC_swap()
989 r->w[swap_w ^ 2] = t; in aesenc_MC_swap()
998 r->w[swap_w ^ 3] = t; in aesenc_MC_swap()
1064 int swap_w = swap * 0x3; in aesenc_SB_SR_MC_AK_swap() local
1096 r->w[swap_w ^ 0] = rk->w[swap_w ^ 0] ^ w0; in aesenc_SB_SR_MC_AK_swap()
1097 r->w[swap_w ^ 1] = rk->w[swap_w ^ 1] ^ w1; in aesenc_SB_SR_MC_AK_swap()
1098 r->w[swap_w ^ 2] = rk->w[swap_w ^ 2] ^ w2; in aesenc_SB_SR_MC_AK_swap()
1099 r->w[swap_w ^ 3] = rk->w[swap_w ^ 3] ^ w3; in aesenc_SB_SR_MC_AK_swap()
1121 int swap_w = swap * 0x3; in aesdec_IMC_swap() local
1133 r->w[swap_w ^ 0] = t; in aesdec_IMC_swap()
1142 r->w[swap_w ^ 1] = t; in aesdec_IMC_swap()
1151 r->w[swap_w ^ 2] = t; in aesdec_IMC_swap()
1160 r->w[swap_w ^ 3] = t; in aesdec_IMC_swap()
1226 int swap_w = swap * 0x3; in aesdec_ISB_ISR_IMC_AK_swap() local
1258 r->w[swap_w ^ 0] = rk->w[swap_w ^ 0] ^ w0; in aesdec_ISB_ISR_IMC_AK_swap()
1259 r->w[swap_w ^ 1] = rk->w[swap_w ^ 1] ^ w1; in aesdec_ISB_ISR_IMC_AK_swap()
1260 r->w[swap_w ^ 2] = rk->w[swap_w ^ 2] ^ w2; in aesdec_ISB_ISR_IMC_AK_swap()
1261 r->w[swap_w ^ 3] = rk->w[swap_w ^ 3] ^ w3; in aesdec_ISB_ISR_IMC_AK_swap()