Research Article

Exploiting Small Leakages in Masks to Turn a Second-Order Attack into a First-Order Attack and Improved Rotating Substitution Box Masking with Linear Code Cosets

Table 1

Horizontally and vertically balanced code with length 8 and 16 codewords.

Components Sum of bits
87654321

Codewords 000011114
111100004
001100114
110011004
010101014
101010104
011001104
100110014
111000014
000111104
110100104
001011014
101101004
010010114
011110004
100001114

Sum of bits88888888