Research Article
Cryptanalysis of the Lightweight Block Cipher BORON
Algorithm 4
Difference propagations through S-boxes.
| r: the number of rounds | | : output of the S-box with the input x | | (1) | for to r do | | (2) | for to 15 do | | (3) | for to 15 do | | (4) | | | (5) | | | (6) | end for | | (7) | end for | | (8) | end for | | (9) | | | (10) | for to r do | | (11) | for to 15 do | | (12) | before_sbox_difference_i_j | | (13) | = before_sbox_value1_i_j before_sbox_value2_i_j | | (14) | after_sbox_difference_i_j | | (15) | = after_sbox_value1_i_j after_sbox_value2_i_j | | (16) | end for | | (17) | end for |
|