Security and Communication Networks / 2017 / Article / Alg 1

Research Article

New Linear Cryptanalysis of Chinese Commercial Block Cipher Standard SM4

Algorithm 1

Search algorithm for iterative linear approximation of 3-round SM4.
  for   to 2  do
  for   to   do
    for all   do
      
      find all input masks indexed by from , and store in
      for   to   do
        
       find all input masks indexed by from , and store in
       for   to   do
         
         find all input masks indexed by from , and store in
         for   to   do
           
           for   to   do
             
           end for
           for   to   do
             
           end for
           
           
           
           
           
           
           if    then
             return  
             // 3-round iterative linear approximation
           else
             continue.
           end if
        end for
       end for
     end for
   end for
  end for
   
end for

We are committed to sharing findings related to COVID-19 as quickly and safely as possible. Any author submitting a COVID-19 paper should notify us at help@hindawi.com to ensure their research is fast-tracked and made available on a preprint server as soon as possible. We will be providing unlimited waivers of publication charges for accepted articles related to COVID-19. Sign up here as a reviewer to help fast-track new submissions.