[svn] / ecrypt / trunk / scripts / tabulate  

svn: ecrypt/trunk/scripts/tabulate

Diff for /ecrypt/trunk/scripts/tabulate between version 62 and 79

version 62, Mon Aug 15 21:51:57 2005 UTC version 79, Sun Aug 21 16:13:31 2005 UTC
Line 2 
Line 2 
   
 { sub(/\r/, ""); }  { sub(/\r/, ""); }
   
 /^File name:/ {  
   file = $3;  
 }  
   
 /^Primitive Name:/ {  /^Primitive Name:/ {
   name = $3;    name = $3;
 }  }
   
   /^Profile:/ {
     profile = substr($0, 10);
   }
   
 /^Key size:/ {  /^Key size:/ {
   keysize = $3;    keysize = $3;
 }  }
Line 18 
Line 18 
   ivsize = $3;    ivsize = $3;
 }  }
   
   /^MAC size:/ {
     macsize = $3;
   }
   
 /^Testing.*:/ {  /^Testing.*:/ {
   test = $2;    test = $2;
 }  }
   
   /^Testing speed of IV setup.*:/ {
     test = "IV";
   }
   
   /^Encrypted .* packets of .* bytes/ {
     test = $5;
   }
   
 /Simple Imix/ {  /Simple Imix/ {
   test = "imix";    test = "imix";
 }  }
Line 30 
Line 42 
   cycles[test] = $4;    cycles[test] = $4;
 }  }
   
 /End of performance measurements/ {  /cycles\/setup/ {
   print name " " keysize " " ivsize ": " cycles["stream"] " " cycles["imix"] \    cycles[test] = $5;
     " " file;  
 }  }
   
   /^make var=.* conf=.*/ {
     var = substr($2, 5);
     conf = substr($3, 6);
   }
   
   /^EXECUTABLE/ {
   
     print cycles["stream"] " " \
       "<tr>" \
       "<td class='name'><a href='index.html'>" name "</a></td>" \
       "<td class='profile'>" profile "</td>" \
       "<td class='size'>" keysize "</td>" \
       "<td class='size'>" ivsize "</td>" \
       "<td class='size'>" macsize "</td>" \
       "<td class='cycles'>" cycles["stream"] "</td>" \
       "<td class='cycles'>" cycles["40"] "</td>" \
       "<td class='cycles'>" cycles["576"] "</td>" \
       "<td class='cycles'>" cycles["1500"] "</td>" \
       "<td class='cycles'>" cycles["imix"] "</td>" \
       "<td class='cycles'>" cycles["key"] "</td>" \
       "<td class='cycles'>" cycles["IV"] "</td>" \
       "<td class='variant'>" var "</td>" \
       "<td class='compiler'><a href='" FILENAME "'>" conf "</a></td>" \
       "</tr>";
   
     macsize = "";
     split("", cycles);
   }
   


Generate output suitable for use with a patch program
Legend:
Removed from v.62  
changed lines
  Added in v.79

eSTREAM Project

Powered by ViewCVS 1.0-dev
(Powered by Apache)

ViewCVS and CVS Help