Lines Matching refs:x2_sbox
104 static const u8 x2_sbox[256] = { variable
403 tmp[0] = x2_sbox[state[0]] ^ x3_sbox[state[5]] ^ in mix_sub_columns()
405 tmp[1] = sbox[state[0]] ^ x2_sbox[state[5]] ^ in mix_sub_columns()
408 x2_sbox[state[10]] ^ x3_sbox[state[15]]; in mix_sub_columns()
410 sbox[state[10]] ^ x2_sbox[state[15]]; in mix_sub_columns()
413 tmp[4] = x2_sbox[state[4]] ^ x3_sbox[state[9]] ^ in mix_sub_columns()
415 tmp[5] = sbox[state[4]] ^ x2_sbox[state[9]] ^ in mix_sub_columns()
418 x2_sbox[state[14]] ^ x3_sbox[state[3]]; in mix_sub_columns()
420 sbox[state[14]] ^ x2_sbox[state[3]]; in mix_sub_columns()
423 tmp[8] = x2_sbox[state[8]] ^ x3_sbox[state[13]] ^ in mix_sub_columns()
425 tmp[9] = sbox[state[8]] ^ x2_sbox[state[13]] ^ in mix_sub_columns()
428 x2_sbox[state[2]] ^ x3_sbox[state[7]]; in mix_sub_columns()
430 sbox[state[2]] ^ x2_sbox[state[7]]; in mix_sub_columns()
433 tmp[12] = x2_sbox[state[12]] ^ x3_sbox[state[1]] ^ in mix_sub_columns()
435 tmp[13] = sbox[state[12]] ^ x2_sbox[state[1]] ^ in mix_sub_columns()
438 x2_sbox[state[6]] ^ x3_sbox[state[11]]; in mix_sub_columns()
440 sbox[state[6]] ^ x2_sbox[state[11]]; in mix_sub_columns()