Lines Matching refs:inv_sbox
69 static const u8 inv_sbox[256] = { variable
370 state[0] = inv_sbox[state[0]]; in inv_shift_rows()
371 state[4] = inv_sbox[state[4]]; in inv_shift_rows()
372 state[8] = inv_sbox[state[8]]; in inv_shift_rows()
373 state[12] = inv_sbox[state[12]]; in inv_shift_rows()
376 tmp = inv_sbox[state[13]]; in inv_shift_rows()
377 state[13] = inv_sbox[state[9]]; in inv_shift_rows()
378 state[9] = inv_sbox[state[5]]; in inv_shift_rows()
379 state[5] = inv_sbox[state[1]]; in inv_shift_rows()
383 tmp = inv_sbox[state[2]]; in inv_shift_rows()
384 state[2] = inv_sbox[state[10]]; in inv_shift_rows()
386 tmp = inv_sbox[state[6]]; in inv_shift_rows()
387 state[6] = inv_sbox[state[14]]; in inv_shift_rows()
391 tmp = inv_sbox[state[3]]; in inv_shift_rows()
392 state[3] = inv_sbox[state[7]]; in inv_shift_rows()
393 state[7] = inv_sbox[state[11]]; in inv_shift_rows()
394 state[11] = inv_sbox[state[15]]; in inv_shift_rows()
493 state[i] = inv_sbox[tmp[i]]; in inv_mix_sub_columns()