Lines Matching refs:aes_sbox
1146 aes_sbox[256] = { variable
1384 expanded_key[i].v8[0] = aes_sbox[expanded_key[i-1].v8[13]] ^ rc; in aes_expand_encryption_key()
1385 expanded_key[i].v8[1] = aes_sbox[expanded_key[i-1].v8[14]]; in aes_expand_encryption_key()
1386 expanded_key[i].v8[2] = aes_sbox[expanded_key[i-1].v8[15]]; in aes_expand_encryption_key()
1387 expanded_key[i].v8[3] = aes_sbox[expanded_key[i-1].v8[12]]; in aes_expand_encryption_key()
1472 c0 = U0[aes_sbox[expanded_key[i].v8[0]]] in aes_expand_decryption_key()
1473 ^ U1[aes_sbox[expanded_key[i].v8[1]]] in aes_expand_decryption_key()
1474 ^ U2[aes_sbox[expanded_key[i].v8[2]]] in aes_expand_decryption_key()
1475 ^ U3[aes_sbox[expanded_key[i].v8[3]]]; in aes_expand_decryption_key()
1477 c1 = U0[aes_sbox[expanded_key[i].v8[4]]] in aes_expand_decryption_key()
1478 ^ U1[aes_sbox[expanded_key[i].v8[5]]] in aes_expand_decryption_key()
1479 ^ U2[aes_sbox[expanded_key[i].v8[6]]] in aes_expand_decryption_key()
1480 ^ U3[aes_sbox[expanded_key[i].v8[7]]]; in aes_expand_decryption_key()
1482 c2 = U0[aes_sbox[expanded_key[i].v8[8]]] in aes_expand_decryption_key()
1483 ^ U1[aes_sbox[expanded_key[i].v8[9]]] in aes_expand_decryption_key()
1484 ^ U2[aes_sbox[expanded_key[i].v8[10]]] in aes_expand_decryption_key()
1485 ^ U3[aes_sbox[expanded_key[i].v8[11]]]; in aes_expand_decryption_key()
1487 c3 = U0[aes_sbox[expanded_key[i].v8[12]]] in aes_expand_decryption_key()
1488 ^ U1[aes_sbox[expanded_key[i].v8[13]]] in aes_expand_decryption_key()
1489 ^ U2[aes_sbox[expanded_key[i].v8[14]]] in aes_expand_decryption_key()
1490 ^ U3[aes_sbox[expanded_key[i].v8[15]]]; in aes_expand_decryption_key()
1563 state->v8[0] = aes_sbox[state->v8[0]]; in aes_final_round()
1564 state->v8[4] = aes_sbox[state->v8[4]]; in aes_final_round()
1565 state->v8[8] = aes_sbox[state->v8[8]]; in aes_final_round()
1566 state->v8[12] = aes_sbox[state->v8[12]]; in aes_final_round()
1569 tmp = aes_sbox[state->v8[1]]; in aes_final_round()
1570 state->v8[1] = aes_sbox[state->v8[5]]; in aes_final_round()
1571 state->v8[5] = aes_sbox[state->v8[9]]; in aes_final_round()
1572 state->v8[9] = aes_sbox[state->v8[13]]; in aes_final_round()
1576 tmp = aes_sbox[state->v8[10]]; in aes_final_round()
1577 state->v8[10] = aes_sbox[state->v8[2]]; in aes_final_round()
1579 tmp = aes_sbox[state->v8[14]]; in aes_final_round()
1580 state->v8[14] = aes_sbox[state->v8[6]]; in aes_final_round()
1584 tmp = aes_sbox[state->v8[15]]; in aes_final_round()
1585 state->v8[15] = aes_sbox[state->v8[11]]; in aes_final_round()
1586 state->v8[11] = aes_sbox[state->v8[7]]; in aes_final_round()
1587 state->v8[7] = aes_sbox[state->v8[3]]; in aes_final_round()
1843 state->v8[0] = aes_sbox[state->v8[0]]; in aes_final_round()
1844 state->v8[4] = aes_sbox[state->v8[4]]; in aes_final_round()
1845 state->v8[8] = aes_sbox[state->v8[8]]; in aes_final_round()
1846 state->v8[12] = aes_sbox[state->v8[12]]; in aes_final_round()
1849 tmp = aes_sbox[state->v8[1]]; in aes_final_round()
1850 state->v8[1] = aes_sbox[state->v8[5]]; in aes_final_round()
1851 state->v8[5] = aes_sbox[state->v8[9]]; in aes_final_round()
1852 state->v8[9] = aes_sbox[state->v8[13]]; in aes_final_round()
1856 tmp = aes_sbox[state->v8[10]]; in aes_final_round()
1857 state->v8[10] = aes_sbox[state->v8[2]]; in aes_final_round()
1859 tmp = aes_sbox[state->v8[14]]; in aes_final_round()
1860 state->v8[14] = aes_sbox[state->v8[6]]; in aes_final_round()
1864 tmp = aes_sbox[state->v8[15]]; in aes_final_round()
1865 state->v8[15] = aes_sbox[state->v8[11]]; in aes_final_round()
1866 state->v8[11] = aes_sbox[state->v8[7]]; in aes_final_round()
1867 state->v8[7] = aes_sbox[state->v8[3]]; in aes_final_round()