Lines Matching refs:f
265 static void mix_column_sbox(uint8_t *dst, const uint8_t *f) in mix_column_sbox() argument
278 dst[0 + a] = sbx2[f[a]] ^ sbx3[f[b]] ^ sbx1[f[c]] ^ sbx1[f[d]]; in mix_column_sbox()
279 dst[1 + a] = sbx1[f[a]] ^ sbx2[f[b]] ^ sbx3[f[c]] ^ sbx1[f[d]]; in mix_column_sbox()
280 dst[2 + a] = sbx1[f[a]] ^ sbx1[f[b]] ^ sbx2[f[c]] ^ sbx3[f[d]]; in mix_column_sbox()
281 dst[3 + a] = sbx3[f[a]] ^ sbx1[f[b]] ^ sbx1[f[c]] ^ sbx2[f[d]]; in mix_column_sbox()
285 static void shift_row_sbox(uint8_t *f) in shift_row_sbox() argument
287 sbox4(&f[0], &f[4], &f[8], &f[12]); in shift_row_sbox()
288 rota4(&f[1], &f[5], &f[9], &f[13]); in shift_row_sbox()
289 rota2(&f[2], &f[10]); in shift_row_sbox()
290 rota2(&f[6], &f[14]); in shift_row_sbox()
291 rota4(&f[15], &f[11], &f[7], &f[3]); in shift_row_sbox()