Home
last modified time | relevance | path

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

/loramac-node-3.7.0/src/peripherals/soft-se/
Daes.c210 #define s_box(x) sbox[(x)] macro
296 #define s_box(x) fwd_affine(gf_inv(x)) macro
298 #define gfm2_sb(x) f2(s_box(x))
299 #define gfm3_sb(x) f3(s_box(x))
414 st[ 0] = s_box(st[ 0]); st[ 4] = s_box(st[ 4]); in shift_sub_rows()
415 st[ 8] = s_box(st[ 8]); st[12] = s_box(st[12]); in shift_sub_rows()
417 tt = st[1]; st[ 1] = s_box(st[ 5]); st[ 5] = s_box(st[ 9]); in shift_sub_rows()
418 st[ 9] = s_box(st[13]); st[13] = s_box( tt ); in shift_sub_rows()
420 tt = st[2]; st[ 2] = s_box(st[10]); st[10] = s_box( tt ); in shift_sub_rows()
421 tt = st[6]; st[ 6] = s_box(st[14]); st[14] = s_box( tt ); in shift_sub_rows()
[all …]