Home
last modified time | relevance | path

Searched refs:s_box (Results 1 – 1 of 1) sorted by relevance

/system/bt/stack/smp/
Daes.c208 #define s_box(x) sbox[(x)] macro
291 #define s_box(x) fwd_affine(gf_inv(x)) macro
293 #define gfm2_sb(x) f2(s_box(x))
294 #define gfm3_sb(x) f3(s_box(x))
410 st[ 0] = s_box(st[ 0]); st[ 4] = s_box(st[ 4]); in shift_sub_rows()
411 st[ 8] = s_box(st[ 8]); st[12] = s_box(st[12]); in shift_sub_rows()
413 tt = st[1]; st[ 1] = s_box(st[ 5]); st[ 5] = s_box(st[ 9]); in shift_sub_rows()
414 st[ 9] = s_box(st[13]); st[13] = s_box( tt ); in shift_sub_rows()
416 tt = st[2]; st[ 2] = s_box(st[10]); st[10] = s_box( tt ); in shift_sub_rows()
417 tt = st[6]; st[ 6] = s_box(st[14]); st[14] = s_box( tt ); in shift_sub_rows()
[all …]