Searched refs:ls_box (Results 1 – 2 of 2) sorted by relevance
/illumos-gate/usr/src/common/crypto/aes/amd64/ |
H A D | aeskey.c | 68 #define ls_box ls_sub macro 82 { k[4 * (i) + 4] = ss[0] ^= ls_box(ss[3], 3) ^ t_use(r, c)[i]; \ 116 { k[6 * (i) + 6] = ss[0] ^= ls_box(ss[5], 3) ^ t_use(r, c)[i]; \ 158 { k[8 * (i) + 8] = ss[0] ^= ls_box(ss[7], 3) ^ t_use(r, c)[i]; \ 166 k[8 * (i) + 12] = ss[4] ^= ls_box(ss[3], 0); \ 255 { k[v(40, (4 * (i)) + 4)] = ss[0] ^= ls_box(ss[3], 3) ^ t_use(r, c)[i]; \ 267 ss[4] = ls_box(ss[(i + 3) % 4], 3) ^ t_use(r, c)[i]; \ 276 { ss[4] = ls_box(ss[(i + 3) % 4], 3) ^ t_use(r, c)[i]; \ 285 { ss[4] = ls_box(ss[(i + 3) % 4], 3) ^ t_use(r, c)[i]; \ 296 { ss[0] ^= ls_box(ss[3], 3) ^ t_use(r, c)[i]; \ [all …]
|
H A D | aesopt.h | 750 #define ls_box(x, c) four_tables(x, t_use(f, l), vf1, rf2, c) macro 752 #define ls_box(x, c) four_tables(x, t_use(l, s), vf1, rf2, c) 754 #define ls_box(x, c) one_table(x, upr, t_use(f, l), vf1, rf2, c) 756 #define ls_box(x, c) one_table(x, upr, t_use(l, s), vf1, rf2, c) 758 #define ls_box(x, c) no_table(x, t_use(s, box), vf1, rf2, c)
|