Research Article

Cryptanalysis of the Lightweight Block Cipher BORON

Algorithm 6

Finding differential trails with the optimal probability.
r: the number of rounds
: the expected probability of the whole trail
(1)for to 15 do
(2)for to 15 do
(3)  
(4)end for
(5)end for
(6)
(7)for to r do
(8)for to 15 do
(9)  probability_i_j
(10)   = Diff_dist [before_sbox_difference_i_j] [after_sbox_difference_i_j]
(11)end for
(12)end for
(13)
(14)
(15)
(16)