Research Article

A Chaos-Based Authenticated Cipher with Associated Data

Algorithm 4

Mask algorithm.
(1) Input: 8-bit mask registers for , 32-bit initial values and , 32-bit perturbation
  values and , round/block number .
(2) Output: Modified 8-bit mask registers for
(3) —
(4) ,
(5) if Transient Elimination then
(6)  
(7)  
(8)  
(9)  
(10) else
(11)  
(12)  
(13)  
(14)  
(15) end if
(16) for    to    do
(17)  
(18)  
(19)  
(20)  
(21) end for
(22) for    to    do
(23)  
(24) end for
(25) ,